Class SetTTLPlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.SetTTLPlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class SetTTLPlan 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 SetTTLPlan()SetTTLPlan(org.apache.iotdb.commons.path.PartialPath storageGroup)SetTTLPlan(org.apache.iotdb.commons.path.PartialPath storageGroup, long dataTTL)
-
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.longgetDataTTL()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()org.apache.iotdb.commons.path.PartialPathgetStorageGroup()voidserialize(java.io.DataOutputStream stream)Serialize the plan into the given buffer.voidserializeImpl(java.nio.ByteBuffer buffer)voidsetDataTTL(long dataTTL)voidsetStorageGroup(org.apache.iotdb.commons.path.PartialPath storageGroup)-
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
-
getPaths
public java.util.List<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
public void serializeImpl(java.nio.ByteBuffer buffer)
- Overrides:
serializeImplin classPhysicalPlan
-
deserialize
public void deserialize(java.nio.ByteBuffer buffer) throws org.apache.iotdb.commons.exception.IllegalPathExceptionDescription copied from class:PhysicalPlanDeserialize the plan from the given buffer.- Overrides:
deserializein classPhysicalPlan- Throws:
org.apache.iotdb.commons.exception.IllegalPathException
-
getStorageGroup
public org.apache.iotdb.commons.path.PartialPath getStorageGroup()
-
setStorageGroup
public void setStorageGroup(org.apache.iotdb.commons.path.PartialPath storageGroup)
-
getDataTTL
public long getDataTTL()
-
setDataTTL
public void setDataTTL(long dataTTL)
-
-