Class LastQueryScanNode

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

    public class LastQueryScanNode
    extends SeriesSourceNode
    • Field Detail

      • LAST_QUERY_HEADER_COLUMNS

        public static final java.util.List<java.lang.String> LAST_QUERY_HEADER_COLUMNS
    • Constructor Detail

      • LastQueryScanNode

        public LastQueryScanNode​(PlanNodeId id,
                                 MeasurementPath seriesPath,
                                 org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet regionReplicaSet)
    • Method Detail

      • 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 regionReplicaSet)
        Specified by:
        setRegionReplicaSet in class SourceNode
      • close

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals 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 LastQueryScanNode deserialize​(java.nio.ByteBuffer byteBuffer)