Class DeletePlan

    • Constructor Detail

      • DeletePlan

        public DeletePlan()
      • DeletePlan

        public DeletePlan​(long startTime,
                          long endTime,
                          org.apache.iotdb.commons.path.PartialPath path)
        constructor of DeletePlan with single path.
        Parameters:
        startTime - delete time range start
        endTime - delete time range end
        path - time series path
      • DeletePlan

        public DeletePlan​(long startTime,
                          long endTime,
                          java.util.List<org.apache.iotdb.commons.path.PartialPath> paths)
        constructor of DeletePlan with multiple paths.
        Parameters:
        startTime - delete time range start
        endTime - delete time range end
        paths - time series paths in List structure
    • Method Detail

      • getDeleteStartTime

        public long getDeleteStartTime()
      • setDeleteStartTime

        public void setDeleteStartTime​(long delTime)
      • getDeleteEndTime

        public long getDeleteEndTime()
      • setDeleteEndTime

        public void setDeleteEndTime​(long delTime)
      • addPath

        public void addPath​(org.apache.iotdb.commons.path.PartialPath path)
      • addPaths

        public void addPaths​(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths)
      • getPaths

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
        Specified by:
        getPaths in class PhysicalPlan
      • setPaths

        public void setPaths​(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths)
        Overrides:
        setPaths in class PhysicalPlan
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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

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

        public void serialize​(java.io.DataOutputStream stream)
                       throws java.io.IOException
        Description copied from class: PhysicalPlan
        Serialize the plan into the given buffer. All necessary fields will be serialized.
        Overrides:
        serialize in class PhysicalPlan
        Throws:
        java.io.IOException
      • deserialize

        public void deserialize​(java.io.DataInputStream stream)
                         throws java.io.IOException,
                                org.apache.iotdb.commons.exception.IllegalPathException
        Overrides:
        deserialize in class PhysicalPlan
        Throws:
        java.io.IOException
        org.apache.iotdb.commons.exception.IllegalPathException
      • deserialize

        public void deserialize​(java.nio.ByteBuffer buffer)
                         throws org.apache.iotdb.commons.exception.IllegalPathException
        Description copied from class: PhysicalPlan
        Deserialize the plan from the given buffer.
        Overrides:
        deserialize in class PhysicalPlan
        Throws:
        org.apache.iotdb.commons.exception.IllegalPathException