Class SetTemplatePlan

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

    public class SetTemplatePlan
    extends PhysicalPlan
    • Constructor Detail

      • SetTemplatePlan

        public SetTemplatePlan()
      • SetTemplatePlan

        public SetTemplatePlan​(java.lang.String templateName,
                               java.lang.String prefixPath)
                        throws org.apache.iotdb.commons.exception.IllegalPathException
        Throws:
        org.apache.iotdb.commons.exception.IllegalPathException
    • Method Detail

      • getTemplateName

        public java.lang.String getTemplateName()
      • setTemplateName

        public void setTemplateName​(java.lang.String templateName)
      • getPrefixPath

        public java.lang.String getPrefixPath()
      • setPrefixPath

        public void setPrefixPath​(java.lang.String prefixPath)
      • getPaths

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