Class InternalCreateTimeSeriesNode
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.WritePlanNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.metedata.write.InternalCreateTimeSeriesNode
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest,IPartitionRelatedNode
public class InternalCreateTimeSeriesNode extends WritePlanNode
-
-
Field Summary
-
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 Constructor Description InternalCreateTimeSeriesNode(PlanNodeId id, org.apache.iotdb.commons.path.PartialPath devicePath, MeasurementGroup measurementGroup, boolean isAligned)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(PlanVisitor<R,C> visitor, C context)voidaddChild(PlanNode child)intallowedChildCount()PlanNodeclone()static InternalCreateTimeSeriesNodedeserialize(java.nio.ByteBuffer byteBuffer)booleanequals(java.lang.Object o)java.util.List<PlanNode>getChildren()org.apache.iotdb.commons.path.PartialPathgetDevicePath()MeasurementGroupgetMeasurementGroup()java.util.List<java.lang.String>getOutputColumnNames()org.apache.iotdb.common.rpc.thrift.TRegionReplicaSetgetRegionReplicaSet()inthashCode()booleanisAligned()protected voidserializeAttributes(java.io.DataOutputStream stream)protected voidserializeAttributes(java.nio.ByteBuffer byteBuffer)voidsetRegionReplicaSet(org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet regionReplicaSet)java.util.List<WritePlanNode>splitByPartition(Analysis analysis)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
cloneWithChildren, getPlanNodeId, serialize, serialize, serializeToByteBuffer, setPlanNodeId
-
-
-
-
Constructor Detail
-
InternalCreateTimeSeriesNode
public InternalCreateTimeSeriesNode(PlanNodeId id, org.apache.iotdb.commons.path.PartialPath devicePath, MeasurementGroup measurementGroup, boolean isAligned)
-
-
Method Detail
-
getDevicePath
public org.apache.iotdb.commons.path.PartialPath getDevicePath()
-
getMeasurementGroup
public MeasurementGroup getMeasurementGroup()
-
isAligned
public boolean isAligned()
-
getRegionReplicaSet
public org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet getRegionReplicaSet()
-
setRegionReplicaSet
public void setRegionReplicaSet(org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet regionReplicaSet)
-
getChildren
public java.util.List<PlanNode> getChildren()
- Specified by:
getChildrenin classPlanNode
-
allowedChildCount
public int allowedChildCount()
- Specified by:
allowedChildCountin classPlanNode
-
getOutputColumnNames
public java.util.List<java.lang.String> getOutputColumnNames()
- Specified by:
getOutputColumnNamesin classPlanNode
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
serializeAttributes
protected void serializeAttributes(java.nio.ByteBuffer byteBuffer)
- Specified by:
serializeAttributesin classPlanNode
-
serializeAttributes
protected void serializeAttributes(java.io.DataOutputStream stream) throws java.io.IOException- Specified by:
serializeAttributesin classPlanNode- Throws:
java.io.IOException
-
deserialize
public static InternalCreateTimeSeriesNode deserialize(java.nio.ByteBuffer byteBuffer)
-
splitByPartition
public java.util.List<WritePlanNode> splitByPartition(Analysis analysis)
- Specified by:
splitByPartitionin classWritePlanNode
-
-