Class DeleteDataNode

    • Field Detail

      • searchIndex

        protected long searchIndex
        this index is used by wal search, its order should be protected by the upper layer, and the value should start from 1
    • Constructor Detail

      • DeleteDataNode

        public DeleteDataNode​(PlanNodeId id,
                              java.util.List<org.apache.iotdb.commons.path.PartialPath> pathList,
                              long deleteStartTime,
                              long deleteEndTime)
      • DeleteDataNode

        public DeleteDataNode​(PlanNodeId id,
                              java.util.List<org.apache.iotdb.commons.path.PartialPath> pathList,
                              long deleteStartTime,
                              long deleteEndTime,
                              org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet regionReplicaSet)
    • Method Detail

      • getPathList

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPathList()
      • getDeleteStartTime

        public long getDeleteStartTime()
      • getDeleteEndTime

        public long getDeleteEndTime()
      • getSearchIndex

        public long getSearchIndex()
      • setSearchIndex

        public void setSearchIndex​(long searchIndex)
        Search index should start from 1
      • getOutputColumnNames

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

        public int serializedSize()
        Description copied from interface: SerializedSize
        Calculate size after serialization.
        Specified by:
        serializedSize in interface SerializedSize
        Returns:
        bytes number
      • deserializeFromWAL

        public static DeleteDataNode deserializeFromWAL​(java.io.DataInputStream stream)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeFromWAL

        public static DeleteDataNode deserializeFromWAL​(java.nio.ByteBuffer buffer)
      • 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 DeleteDataNode deserialize​(java.nio.ByteBuffer byteBuffer)
      • setRegionReplicaSet

        public void setRegionReplicaSet​(org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet regionReplicaSet)
      • toString

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