Class SetTTLPlan

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

    public class SetTTLPlan
    extends PhysicalPlan
    • Constructor Detail

      • SetTTLPlan

        public SetTTLPlan()
      • SetTTLPlan

        public SetTTLPlan​(org.apache.iotdb.commons.path.PartialPath storageGroup,
                          long dataTTL)
      • SetTTLPlan

        public SetTTLPlan​(org.apache.iotdb.commons.path.PartialPath storageGroup)
    • Method Detail

      • getPaths

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
        Specified by:
        getPaths in class PhysicalPlan
      • 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.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
      • getStorageGroup

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

        public void setStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)
      • getDataTTL

        public long getDataTTL()
      • setDataTTL

        public void setDataTTL​(long dataTTL)