Class AlterTimeSeriesPlan

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

    public class AlterTimeSeriesPlan
    extends PhysicalPlan
    • Constructor Detail

      • AlterTimeSeriesPlan

        public AlterTimeSeriesPlan()
        used only for deserialize
      • AlterTimeSeriesPlan

        public AlterTimeSeriesPlan​(org.apache.iotdb.commons.path.PartialPath path,
                                   AlterTimeSeriesOperator.AlterType alterType,
                                   java.util.Map<java.lang.String,​java.lang.String> alterMap,
                                   java.lang.String alias,
                                   java.util.Map<java.lang.String,​java.lang.String> tagsMap,
                                   java.util.Map<java.lang.String,​java.lang.String> attributesMap)
    • Method Detail

      • getPath

        public org.apache.iotdb.commons.path.PartialPath getPath()
      • getAlterMap

        public java.util.Map<java.lang.String,​java.lang.String> getAlterMap()
      • getAlias

        public java.lang.String getAlias()
      • getTagsMap

        public java.util.Map<java.lang.String,​java.lang.String> getTagsMap()
      • getAttributesMap

        public java.util.Map<java.lang.String,​java.lang.String> getAttributesMap()
      • 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)
        Description copied from class: PhysicalPlan
        Deserialize the plan from the given buffer.
        Overrides:
        deserialize in class PhysicalPlan
      • equals

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

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