Class SchemaFetchScanNode

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.apache.iotdb.consensus.common.request.IConsensusRequest, IPartitionRelatedNode

    public class SchemaFetchScanNode
    extends SourceNode
    This class defines the scan task of schema fetcher.
    • Constructor Detail

      • SchemaFetchScanNode

        public SchemaFetchScanNode​(PlanNodeId id,
                                   org.apache.iotdb.commons.path.PartialPath storageGroup,
                                   PathPatternTree patternTree,
                                   java.util.Map<java.lang.Integer,​Template> templateMap)
    • Method Detail

      • getStorageGroup

        public org.apache.iotdb.commons.path.PartialPath getStorageGroup()
      • getTemplateMap

        public java.util.Map<java.lang.Integer,​Template> getTemplateMap()
      • getOutputColumnNames

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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
      • deserialize

        public static SchemaFetchScanNode deserialize​(java.nio.ByteBuffer byteBuffer)
      • open

        public void open()
                  throws java.lang.Exception
        Specified by:
        open in class SourceNode
        Throws:
        java.lang.Exception
      • getRegionReplicaSet

        public org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet getRegionReplicaSet()
      • setRegionReplicaSet

        public void setRegionReplicaSet​(org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet schemaRegionReplicaSet)
        Specified by:
        setRegionReplicaSet in class SourceNode
      • close

        public void close()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception