Class SetSystemStatusStatement
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.statement.StatementNode
-
- org.apache.iotdb.db.mpp.plan.statement.Statement
-
- org.apache.iotdb.db.mpp.plan.statement.sys.SetSystemStatusStatement
-
- All Implemented Interfaces:
IConfigStatement
public class SetSystemStatusStatement extends Statement implements IConfigStatement
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description SetSystemStatusStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(StatementVisitor<R,C> visitor, C context)Accessible forStatementVisitor, useStatementVisitor.process(StatementNode, Object)instead.java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()QueryTypegetQueryType()Determine whether the operation to be performed is read or writeorg.apache.iotdb.commons.cluster.NodeStatusgetStatus()booleanisOnCluster()voidsetOnCluster(boolean onCluster)voidsetStatus(org.apache.iotdb.commons.cluster.NodeStatus status)
-
-
-
Method Detail
-
isOnCluster
public boolean isOnCluster()
-
setOnCluster
public void setOnCluster(boolean onCluster)
-
getStatus
public org.apache.iotdb.commons.cluster.NodeStatus getStatus()
-
setStatus
public void setStatus(org.apache.iotdb.commons.cluster.NodeStatus status)
-
getQueryType
public QueryType getQueryType()
Description copied from interface:IConfigStatementDetermine whether the operation to be performed is read or write- Specified by:
getQueryTypein interfaceIConfigStatement- Returns:
- QueryType
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
-
accept
public <R,C> R accept(StatementVisitor<R,C> visitor, C context)
Description copied from class:StatementNodeAccessible forStatementVisitor, useStatementVisitor.process(StatementNode, Object)instead.- Overrides:
acceptin classStatementNode
-
-