Class AppendTemplatePlan

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

    public class AppendTemplatePlan
    extends PhysicalPlan
    • Constructor Detail

      • AppendTemplatePlan

        public AppendTemplatePlan()
      • AppendTemplatePlan

        public AppendTemplatePlan​(java.lang.String name,
                                  boolean isAligned,
                                  java.util.List<java.lang.String> measurements,
                                  java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> dataTypes,
                                  java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding> encodings,
                                  java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.CompressionType> compressors)
      • AppendTemplatePlan

        public AppendTemplatePlan​(java.lang.String name,
                                  boolean isAligned,
                                  java.lang.String[] measurements,
                                  org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes,
                                  org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding[] encodings,
                                  org.apache.iotdb.tsfile.file.metadata.enums.CompressionType[] compressors)
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • isAligned

        public boolean isAligned()
      • getMeasurements

        public java.util.List<java.lang.String> getMeasurements()
      • getDataTypes

        public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getDataTypes()
      • getEncodings

        public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding> getEncodings()
      • getCompressors

        public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.CompressionType> getCompressors()
      • deserialize

        public void deserialize​(java.nio.ByteBuffer buffer)
        Description copied from class: PhysicalPlan
        Deserialize the plan from the given buffer.
        Overrides:
        deserialize 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
      • getPaths

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