Class StorageGroupMNodePlan

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

    public class StorageGroupMNodePlan
    extends MNodePlan
    • Constructor Detail

      • StorageGroupMNodePlan

        public StorageGroupMNodePlan()
      • StorageGroupMNodePlan

        public StorageGroupMNodePlan​(java.lang.String name,
                                     long dataTTL,
                                     int childSize)
    • Method Detail

      • getPaths

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
        Overrides:
        getPaths in class MNodePlan
      • getDataTTL

        public long getDataTTL()
      • setDataTTL

        public void setDataTTL​(long dataTTL)
      • serializeImpl

        public void serializeImpl​(java.nio.ByteBuffer buffer)
        Overrides:
        serializeImpl in class MNodePlan
      • 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 MNodePlan
        Throws:
        java.io.IOException
      • deserialize

        public void deserialize​(java.nio.ByteBuffer buffer)
        Description copied from class: PhysicalPlan
        Deserialize the plan from the given buffer.
        Overrides:
        deserialize in class MNodePlan
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class MNodePlan
      • equals

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