Class ActivateTemplateInClusterPlan

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

    public class ActivateTemplateInClusterPlan
    extends PhysicalPlan
    • Constructor Detail

      • ActivateTemplateInClusterPlan

        public ActivateTemplateInClusterPlan()
      • ActivateTemplateInClusterPlan

        public ActivateTemplateInClusterPlan​(org.apache.iotdb.commons.path.PartialPath activatePath,
                                             int templateSetLevel,
                                             int templateId)
    • Method Detail

      • getActivatePath

        public org.apache.iotdb.commons.path.PartialPath getActivatePath()
      • getPathSetTemplate

        public org.apache.iotdb.commons.path.PartialPath getPathSetTemplate()
      • getTemplateId

        public int getTemplateId()
      • getTemplateSetLevel

        public int getTemplateSetLevel()
      • isAligned

        public boolean isAligned()
      • setAligned

        public void setAligned​(boolean aligned)
      • getPaths

        public java.util.List<? extends 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
      • serializeImpl

        protected void serializeImpl​(java.nio.ByteBuffer buffer)
        Overrides:
        serializeImpl in class PhysicalPlan
      • deserialize

        public void deserialize​(java.nio.ByteBuffer buffer)
                         throws org.apache.iotdb.commons.exception.IllegalPathException,
                                java.io.IOException
        Description copied from class: PhysicalPlan
        Deserialize the plan from the given buffer.
        Overrides:
        deserialize in class PhysicalPlan
        Throws:
        org.apache.iotdb.commons.exception.IllegalPathException
        java.io.IOException