Class MeasurementMNodePlan

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

    public class MeasurementMNodePlan
    extends MNodePlan
    • Constructor Detail

      • MeasurementMNodePlan

        public MeasurementMNodePlan()
      • MeasurementMNodePlan

        public MeasurementMNodePlan​(java.lang.String name,
                                    java.lang.String alias,
                                    long offset,
                                    int childSize,
                                    org.apache.iotdb.tsfile.write.schema.IMeasurementSchema schema)
    • Method Detail

      • getPaths

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
        Overrides:
        getPaths in class MNodePlan
      • 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
      • getSchema

        public org.apache.iotdb.tsfile.write.schema.IMeasurementSchema getSchema()
      • setSchema

        public void setSchema​(org.apache.iotdb.tsfile.write.schema.IMeasurementSchema schema)
      • getAlias

        public java.lang.String getAlias()
      • setAlias

        public void setAlias​(java.lang.String alias)
      • getOffset

        public long getOffset()
      • setOffset

        public void setOffset​(long offset)
      • toString

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

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