Class CreateTimeSeriesPlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.CreateTimeSeriesPlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class CreateTimeSeriesPlan 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 CreateTimeSeriesPlan()CreateTimeSeriesPlan(org.apache.iotdb.commons.path.PartialPath path, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding encoding, org.apache.iotdb.tsfile.file.metadata.enums.CompressionType compressor, java.util.Map<java.lang.String,java.lang.String> props, java.util.Map<java.lang.String,java.lang.String> tags, java.util.Map<java.lang.String,java.lang.String> attributes, java.lang.String alias)CreateTimeSeriesPlan(org.apache.iotdb.commons.path.PartialPath path, org.apache.iotdb.tsfile.write.schema.MeasurementSchema schema)
-
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.booleanequals(java.lang.Object o)java.lang.StringgetAlias()java.util.Map<java.lang.String,java.lang.String>getAttributes()org.apache.iotdb.tsfile.file.metadata.enums.CompressionTypegetCompressor()org.apache.iotdb.tsfile.file.metadata.enums.TSDataTypegetDataType()org.apache.iotdb.tsfile.file.metadata.enums.TSEncodinggetEncoding()org.apache.iotdb.commons.path.PartialPathgetPath()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()java.util.Map<java.lang.String,java.lang.String>getProps()longgetTagOffset()java.util.Map<java.lang.String,java.lang.String>getTags()inthashCode()voidserialize(java.io.DataOutputStream stream)Serialize the plan into the given buffer.voidserializeImpl(java.nio.ByteBuffer buffer)voidsetAlias(java.lang.String alias)voidsetAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)voidsetCompressor(org.apache.iotdb.tsfile.file.metadata.enums.CompressionType compressor)voidsetDataType(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType)voidsetEncoding(org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding encoding)voidsetPath(org.apache.iotdb.commons.path.PartialPath path)voidsetProps(java.util.Map<java.lang.String,java.lang.String> props)voidsetTagOffset(long tagOffset)voidsetTags(java.util.Map<java.lang.String,java.lang.String> tags)java.lang.StringtoString()-
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
-
CreateTimeSeriesPlan
public CreateTimeSeriesPlan()
-
CreateTimeSeriesPlan
public CreateTimeSeriesPlan(org.apache.iotdb.commons.path.PartialPath path, org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding encoding, org.apache.iotdb.tsfile.file.metadata.enums.CompressionType compressor, java.util.Map<java.lang.String,java.lang.String> props, java.util.Map<java.lang.String,java.lang.String> tags, java.util.Map<java.lang.String,java.lang.String> attributes, java.lang.String alias)
-
CreateTimeSeriesPlan
public CreateTimeSeriesPlan(org.apache.iotdb.commons.path.PartialPath path, org.apache.iotdb.tsfile.write.schema.MeasurementSchema schema)
-
-
Method Detail
-
getPath
public org.apache.iotdb.commons.path.PartialPath getPath()
-
setPath
public void setPath(org.apache.iotdb.commons.path.PartialPath path)
-
getDataType
public org.apache.iotdb.tsfile.file.metadata.enums.TSDataType getDataType()
-
setDataType
public void setDataType(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType)
-
getCompressor
public org.apache.iotdb.tsfile.file.metadata.enums.CompressionType getCompressor()
-
setCompressor
public void setCompressor(org.apache.iotdb.tsfile.file.metadata.enums.CompressionType compressor)
-
getEncoding
public org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding getEncoding()
-
setEncoding
public void setEncoding(org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding encoding)
-
getAttributes
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
-
setAttributes
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
-
getAlias
public java.lang.String getAlias()
-
setAlias
public void setAlias(java.lang.String alias)
-
getTags
public java.util.Map<java.lang.String,java.lang.String> getTags()
-
setTags
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
-
getProps
public java.util.Map<java.lang.String,java.lang.String> getProps()
-
setProps
public void setProps(java.util.Map<java.lang.String,java.lang.String> props)
-
getTagOffset
public long getTagOffset()
-
setTagOffset
public void setTagOffset(long tagOffset)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-