Class ShowRegionStatement
- 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.metadata.ShowStatement
-
- org.apache.iotdb.db.mpp.plan.statement.metadata.ShowRegionStatement
-
- All Implemented Interfaces:
IConfigStatement
public class ShowRegionStatement extends ShowStatement implements IConfigStatement
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.metadata.ShowStatement
isPrefixPath
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description ShowRegionStatement()ShowRegionStatement(org.apache.iotdb.common.rpc.thrift.TConsensusGroupType regionType)ShowRegionStatement(org.apache.iotdb.common.rpc.thrift.TConsensusGroupType regionType, java.util.List<org.apache.iotdb.commons.path.PartialPath> storageGroups)
-
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.QueryTypegetQueryType()Determine whether the operation to be performed is read or writeorg.apache.iotdb.common.rpc.thrift.TConsensusGroupTypegetRegionType()java.util.List<org.apache.iotdb.commons.path.PartialPath>getStorageGroups()voidsetRegionType(org.apache.iotdb.common.rpc.thrift.TConsensusGroupType regionType)voidsetStorageGroups(java.util.List<org.apache.iotdb.commons.path.PartialPath> storageGroups)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.metadata.ShowStatement
getLimit, getOffset, getPaths, isPrefixPath, setLimit, setOffset, setPrefixPath
-
-
-
-
Constructor Detail
-
ShowRegionStatement
public ShowRegionStatement()
-
ShowRegionStatement
public ShowRegionStatement(org.apache.iotdb.common.rpc.thrift.TConsensusGroupType regionType)
-
ShowRegionStatement
public ShowRegionStatement(org.apache.iotdb.common.rpc.thrift.TConsensusGroupType regionType, java.util.List<org.apache.iotdb.commons.path.PartialPath> storageGroups)
-
-
Method Detail
-
getStorageGroups
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getStorageGroups()
-
setStorageGroups
public void setStorageGroups(java.util.List<org.apache.iotdb.commons.path.PartialPath> storageGroups)
-
getRegionType
public org.apache.iotdb.common.rpc.thrift.TConsensusGroupType getRegionType()
-
setRegionType
public void setRegionType(org.apache.iotdb.common.rpc.thrift.TConsensusGroupType regionType)
-
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
-
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
-
-