Class SchemaQueryScanNode
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.source.SourceNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.metedata.read.SchemaQueryScanNode
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.apache.iotdb.consensus.common.request.IConsensusRequest,IPartitionRelatedNode
- Direct Known Subclasses:
DevicesCountNode,DevicesSchemaScanNode,LevelTimeSeriesCountNode,NodePathsSchemaScanNode,PathsUsingTemplateScanNode,TimeSeriesCountNode,TimeSeriesSchemaScanNode
public abstract class SchemaQueryScanNode extends SourceNode
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisPrefixPathprotected intlimitprotected intoffsetprotected org.apache.iotdb.commons.path.PartialPathpath-
Fields inherited from class org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
CHILD_COUNT_NO_LIMIT, NO_CHILD_ALLOWED, ONE_CHILD
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSchemaQueryScanNode(PlanNodeId id)protectedSchemaQueryScanNode(PlanNodeId id, org.apache.iotdb.commons.path.PartialPath partialPath, boolean isPrefixPath)protectedSchemaQueryScanNode(PlanNodeId id, org.apache.iotdb.commons.path.PartialPath partialPath, int limit, int offset, boolean isPrefixPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(PlanVisitor<R,C> visitor, C context)voidaddChild(PlanNode child)intallowedChildCount()voidclose()booleanequals(java.lang.Object o)java.util.List<PlanNode>getChildren()intgetLimit()intgetOffset()org.apache.iotdb.commons.path.PartialPathgetPath()org.apache.iotdb.common.rpc.thrift.TRegionReplicaSetgetRegionReplicaSet()inthashCode()booleanisHasLimit()booleanisPrefixPath()voidopen()voidsetHasLimit(boolean hasLimit)voidsetLimit(int limit)voidsetOffset(int offset)voidsetPath(org.apache.iotdb.commons.path.PartialPath path)voidsetRegionReplicaSet(org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet schemaRegionReplicaSet)java.lang.StringtoString()-
Methods inherited from class org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
clone, cloneWithChildren, getOutputColumnNames, getPlanNodeId, serialize, serialize, serializeAttributes, serializeAttributes, serializeToByteBuffer, setPlanNodeId
-
-
-
-
Constructor Detail
-
SchemaQueryScanNode
protected SchemaQueryScanNode(PlanNodeId id)
-
SchemaQueryScanNode
protected SchemaQueryScanNode(PlanNodeId id, org.apache.iotdb.commons.path.PartialPath partialPath, int limit, int offset, boolean isPrefixPath)
-
SchemaQueryScanNode
protected SchemaQueryScanNode(PlanNodeId id, org.apache.iotdb.commons.path.PartialPath partialPath, boolean isPrefixPath)
-
-
Method Detail
-
open
public void open() throws java.lang.Exception- Specified by:
openin classSourceNode- Throws:
java.lang.Exception
-
allowedChildCount
public int allowedChildCount()
- Specified by:
allowedChildCountin classPlanNode
-
getChildren
public java.util.List<PlanNode> getChildren()
- Specified by:
getChildrenin classPlanNode
-
close
public void close() throws java.lang.Exception- Throws:
java.lang.Exception
-
isPrefixPath
public boolean isPrefixPath()
-
getLimit
public int getLimit()
-
setLimit
public void setLimit(int limit)
-
getRegionReplicaSet
public org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet getRegionReplicaSet()
-
setRegionReplicaSet
public void setRegionReplicaSet(org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet schemaRegionReplicaSet)
- Specified by:
setRegionReplicaSetin classSourceNode
-
getOffset
public int getOffset()
-
setOffset
public void setOffset(int offset)
-
getPath
public org.apache.iotdb.commons.path.PartialPath getPath()
-
setPath
public void setPath(org.apache.iotdb.commons.path.PartialPath path)
-
isHasLimit
public boolean isHasLimit()
-
setHasLimit
public void setHasLimit(boolean hasLimit)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
-