Class FragmentSinkNode
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.sink.SinkNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.sink.FragmentSinkNode
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.apache.iotdb.consensus.common.request.IConsensusRequest
public class FragmentSinkNode extends SinkNode
-
-
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 FragmentSinkNode(PlanNodeId id)
-
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()PlanNodecloneWithChildren(java.util.List<PlanNode> children)voidclose()static FragmentSinkNodedeserialize(java.nio.ByteBuffer byteBuffer)booleanequals(java.lang.Object o)PlanNodegetChild()java.util.List<PlanNode>getChildren()java.lang.StringgetDownStreamAddress()org.apache.iotdb.common.rpc.thrift.TEndPointgetDownStreamEndpoint()FragmentInstanceIdgetDownStreamInstanceId()PlanNodeIdgetDownStreamPlanNodeId()java.util.List<java.lang.String>getOutputColumnNames()inthashCode()voidsend()protected voidserializeAttributes(java.io.DataOutputStream stream)protected voidserializeAttributes(java.nio.ByteBuffer byteBuffer)voidsetChild(PlanNode child)voidsetDownStream(org.apache.iotdb.common.rpc.thrift.TEndPoint endPoint, FragmentInstanceId instanceId, PlanNodeId nodeId)voidsetDownStreamPlanNodeId(PlanNodeId downStreamPlanNodeId)java.lang.StringtoString()-
Methods inherited from class org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
getPlanNodeId, serialize, serialize, serializeToByteBuffer, setPlanNodeId
-
-
-
-
Constructor Detail
-
FragmentSinkNode
public FragmentSinkNode(PlanNodeId id)
-
-
Method Detail
-
getChildren
public java.util.List<PlanNode> getChildren()
- Specified by:
getChildrenin classPlanNode
-
cloneWithChildren
public PlanNode cloneWithChildren(java.util.List<PlanNode> children)
- Overrides:
cloneWithChildrenin classPlanNode
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
allowedChildCount
public int allowedChildCount()
- Specified by:
allowedChildCountin classPlanNode
-
getOutputColumnNames
public java.util.List<java.lang.String> getOutputColumnNames()
- Specified by:
getOutputColumnNamesin classPlanNode
-
deserialize
public static FragmentSinkNode deserialize(java.nio.ByteBuffer byteBuffer)
-
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
-
close
public void close() throws java.lang.Exception- Throws:
java.lang.Exception
-
getChild
public PlanNode getChild()
-
setChild
public void setChild(PlanNode child)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDownStreamAddress
public java.lang.String getDownStreamAddress()
-
setDownStream
public void setDownStream(org.apache.iotdb.common.rpc.thrift.TEndPoint endPoint, FragmentInstanceId instanceId, PlanNodeId nodeId)
-
setDownStreamPlanNodeId
public void setDownStreamPlanNodeId(PlanNodeId downStreamPlanNodeId)
-
getDownStreamEndpoint
public org.apache.iotdb.common.rpc.thrift.TEndPoint getDownStreamEndpoint()
-
getDownStreamInstanceId
public FragmentInstanceId getDownStreamInstanceId()
-
getDownStreamPlanNodeId
public PlanNodeId getDownStreamPlanNodeId()
-
-