Class ActivateTemplateInClusterPlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.ActivateTemplateInClusterPlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class ActivateTemplateInClusterPlan extends PhysicalPlan
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
PhysicalPlan.Factory, PhysicalPlan.PhysicalPlanType
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, index
-
-
Constructor Summary
Constructors Constructor Description ActivateTemplateInClusterPlan()ActivateTemplateInClusterPlan(org.apache.iotdb.commons.path.PartialPath activatePath, int templateSetLevel, int templateId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(java.nio.ByteBuffer buffer)Deserialize the plan from the given buffer.org.apache.iotdb.commons.path.PartialPathgetActivatePath()java.util.List<? extends org.apache.iotdb.commons.path.PartialPath>getPaths()org.apache.iotdb.commons.path.PartialPathgetPathSetTemplate()intgetTemplateId()intgetTemplateSetLevel()booleanisAligned()voidserialize(java.io.DataOutputStream stream)Serialize the plan into the given buffer.protected voidserializeImpl(java.nio.ByteBuffer buffer)voidsetAligned(boolean aligned)-
Methods inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, checkIntegrity, deserialize, getAggregations, getAuthPaths, getIndex, getLoginUserName, getOperatorName, getOperatorType, isAuthenticationRequired, isDebug, isPrefixMatch, isQuery, isSelectInto, putString, putString, putStrings, putStrings, readString, readStrings, serialize, serializeToByteBuffer, setDebug, setIndex, setLoginUserName, setOperatorType, setPaths, setPrefixMatch, setQuery
-
-
-
-
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:
getPathsin classPhysicalPlan
-
serialize
public void serialize(java.io.DataOutputStream stream) throws java.io.IOExceptionDescription copied from class:PhysicalPlanSerialize the plan into the given buffer. All necessary fields will be serialized.- Overrides:
serializein classPhysicalPlan- Throws:
java.io.IOException
-
serializeImpl
protected void serializeImpl(java.nio.ByteBuffer buffer)
- Overrides:
serializeImplin classPhysicalPlan
-
deserialize
public void deserialize(java.nio.ByteBuffer buffer) throws org.apache.iotdb.commons.exception.IllegalPathException, java.io.IOExceptionDescription copied from class:PhysicalPlanDeserialize the plan from the given buffer.- Overrides:
deserializein classPhysicalPlan- Throws:
org.apache.iotdb.commons.exception.IllegalPathExceptionjava.io.IOException
-
-