Class CreateIndexPlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.CreateIndexPlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class CreateIndexPlan 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 Modifier and Type Field Description protected java.util.List<org.apache.iotdb.commons.path.PartialPath>paths-
Fields inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, index
-
-
Constructor Summary
Constructors Constructor Description CreateIndexPlan()CreateIndexPlan(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths, java.util.Map<java.lang.String,java.lang.String> props, long startTime, IndexType indexType)
-
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)IndexTypegetIndexType()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()java.util.Map<java.lang.String,java.lang.String>getProps()longgetTime()inthashCode()voidserialize(java.io.DataOutputStream stream)Serialize the plan into the given buffer.voidserializeImpl(java.nio.ByteBuffer buffer)voidsetIndexType(IndexType indexType)voidsetPaths(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths)voidsetProps(java.util.Map<java.lang.String,java.lang.String> props)voidsetTime(long time)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, setPrefixMatch, setQuery
-
-
-
-
Constructor Detail
-
CreateIndexPlan
public CreateIndexPlan()
-
CreateIndexPlan
public CreateIndexPlan(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths, java.util.Map<java.lang.String,java.lang.String> props, long startTime, IndexType indexType)
-
-
Method Detail
-
getTime
public long getTime()
-
setTime
public void setTime(long time)
-
getIndexType
public IndexType getIndexType()
-
setIndexType
public void setIndexType(IndexType indexType)
-
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)
-
setPaths
public void setPaths(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths)
- Overrides:
setPathsin classPhysicalPlan
-
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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-