Class ExchangeNode

  • All Implemented Interfaces:
    org.apache.iotdb.consensus.common.request.IConsensusRequest

    public class ExchangeNode
    extends PlanNode
    • Constructor Detail

      • ExchangeNode

        public ExchangeNode​(PlanNodeId id)
    • Method Detail

      • getOutputColumnNames

        public java.util.List<java.lang.String> getOutputColumnNames()
        Specified by:
        getOutputColumnNames in class PlanNode
      • setOutputColumnNames

        public void setOutputColumnNames​(java.util.List<java.lang.String> outputColumnNames)
      • setUpstream

        public void setUpstream​(org.apache.iotdb.common.rpc.thrift.TEndPoint endPoint,
                                FragmentInstanceId instanceId,
                                PlanNodeId nodeId)
      • deserialize

        public static ExchangeNode deserialize​(java.nio.ByteBuffer byteBuffer)
      • serializeAttributes

        protected void serializeAttributes​(java.nio.ByteBuffer byteBuffer)
        Specified by:
        serializeAttributes in class PlanNode
      • serializeAttributes

        protected void serializeAttributes​(java.io.DataOutputStream stream)
                                    throws java.io.IOException
        Specified by:
        serializeAttributes in class PlanNode
        Throws:
        java.io.IOException
      • setChild

        public void setChild​(PlanNode child)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSourceAddress

        public java.lang.String getSourceAddress()
      • setRemoteSourceNode

        public void setRemoteSourceNode​(FragmentSinkNode remoteSourceNode)
      • cleanChildren

        public void cleanChildren()
      • getUpstreamEndpoint

        public org.apache.iotdb.common.rpc.thrift.TEndPoint getUpstreamEndpoint()
      • getUpstreamPlanNodeId

        public PlanNodeId getUpstreamPlanNodeId()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class PlanNode