Class AppendTemplatePlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.AppendTemplatePlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class AppendTemplatePlan 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 AppendTemplatePlan()AppendTemplatePlan(java.lang.String name, boolean isAligned, java.lang.String[] measurements, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes, org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding[] encodings, org.apache.iotdb.tsfile.file.metadata.enums.CompressionType[] compressors)AppendTemplatePlan(java.lang.String name, boolean isAligned, java.util.List<java.lang.String> measurements, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> dataTypes, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding> encodings, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.CompressionType> compressors)
-
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.java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.CompressionType>getCompressors()java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType>getDataTypes()java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding>getEncodings()java.util.List<java.lang.String>getMeasurements()java.lang.StringgetName()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()booleanisAligned()voidserialize(java.io.DataOutputStream stream)Serialize the plan into the given buffer.voidserializeImpl(java.nio.ByteBuffer buffer)voidsetName(java.lang.String name)-
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
-
-
-
-
Constructor Detail
-
AppendTemplatePlan
public AppendTemplatePlan()
-
AppendTemplatePlan
public AppendTemplatePlan(java.lang.String name, boolean isAligned, java.util.List<java.lang.String> measurements, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> dataTypes, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding> encodings, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.CompressionType> compressors)
-
AppendTemplatePlan
public AppendTemplatePlan(java.lang.String name, boolean isAligned, java.lang.String[] measurements, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes, org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding[] encodings, org.apache.iotdb.tsfile.file.metadata.enums.CompressionType[] compressors)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
isAligned
public boolean isAligned()
-
getMeasurements
public java.util.List<java.lang.String> getMeasurements()
-
getDataTypes
public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getDataTypes()
-
getEncodings
public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding> getEncodings()
-
getCompressors
public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.CompressionType> getCompressors()
-
serializeImpl
public void serializeImpl(java.nio.ByteBuffer buffer)
- Overrides:
serializeImplin classPhysicalPlan
-
deserialize
public void deserialize(java.nio.ByteBuffer buffer)
Description copied from class:PhysicalPlanDeserialize the plan from the given buffer.- Overrides:
deserializein 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
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
- Specified by:
getPathsin classPhysicalPlan
-
-