Class FlushPlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.FlushPlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class FlushPlan 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 FlushPlan()only for deserializeFlushPlan(java.lang.Boolean isSeq, boolean isSync, java.util.Map<org.apache.iotdb.commons.path.PartialPath,java.util.List<org.apache.iotdb.tsfile.utils.Pair<java.lang.Long,java.lang.Boolean>>> storageGroupPartitionIds)FlushPlan(java.lang.Boolean isSeq, java.util.List<org.apache.iotdb.commons.path.PartialPath> storageGroups)
-
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.commons.path.PartialPath>getPaths()java.util.Map<org.apache.iotdb.commons.path.PartialPath,java.util.List<org.apache.iotdb.tsfile.utils.Pair<java.lang.Long,java.lang.Boolean>>>getStorageGroupPartitionIds()java.lang.BooleanisSeq()booleanisSync()voidserialize(java.io.DataOutputStream stream)Serialize the plan into the given buffer.voidserializeImpl(java.nio.ByteBuffer buffer)java.lang.StringtoString()voidwriteStorageGroupPartitionIds(java.io.DataOutputStream stream)voidwriteStorageGroupPartitionIds(java.nio.ByteBuffer buffer)-
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
-
FlushPlan
public FlushPlan()
only for deserialize
-
FlushPlan
public FlushPlan(java.lang.Boolean isSeq, java.util.List<org.apache.iotdb.commons.path.PartialPath> storageGroups)
-
FlushPlan
public FlushPlan(java.lang.Boolean isSeq, boolean isSync, java.util.Map<org.apache.iotdb.commons.path.PartialPath,java.util.List<org.apache.iotdb.tsfile.utils.Pair<java.lang.Long,java.lang.Boolean>>> storageGroupPartitionIds)
-
-
Method Detail
-
isSeq
public java.lang.Boolean isSeq()
-
isSync
public boolean isSync()
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
- Specified by:
getPathsin classPhysicalPlan
-
getStorageGroupPartitionIds
public java.util.Map<org.apache.iotdb.commons.path.PartialPath,java.util.List<org.apache.iotdb.tsfile.utils.Pair<java.lang.Long,java.lang.Boolean>>> getStorageGroupPartitionIds()
-
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
-
writeStorageGroupPartitionIds
public void writeStorageGroupPartitionIds(java.io.DataOutputStream stream) throws java.io.IOException- Throws:
java.io.IOException
-
serializeImpl
public void serializeImpl(java.nio.ByteBuffer buffer)
- Overrides:
serializeImplin classPhysicalPlan
-
writeStorageGroupPartitionIds
public void writeStorageGroupPartitionIds(java.nio.ByteBuffer buffer)
-
deserialize
public void deserialize(java.nio.ByteBuffer buffer)
Description copied from class:PhysicalPlanDeserialize the plan from the given buffer.- Overrides:
deserializein classPhysicalPlan
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-