Class GetDataPartitionPlan
java.lang.Object
org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
org.apache.iotdb.confignode.consensus.request.read.ConfigPhysicalReadPlan
org.apache.iotdb.confignode.consensus.request.read.partition.GetDataPartitionPlan
- All Implemented Interfaces:
IConsensusRequest
- Direct Known Subclasses:
GetOrCreateDataPartitionPlan
Get or create DataPartition by the specific partitionSlotsMap.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
ConfigPhysicalPlan.Factory -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGetDataPartitionPlan(Map<String, Map<TSeriesPartitionSlot, TTimeSlotList>> partitionSlotsMap) GetDataPartitionPlan(ConfigPhysicalPlanType configPhysicalPlanType) -
Method Summary
Modifier and TypeMethodDescriptionstatic GetDataPartitionPlanConvert TDataPartitionReq to GetDataPartitionPlan.booleaninthashCode()Methods inherited from class org.apache.iotdb.confignode.consensus.request.read.ConfigPhysicalReadPlan
deserializeImpl, serializeImplMethods inherited from class org.apache.iotdb.confignode.consensus.request.ConfigPhysicalPlan
getSerializedSize, getType, serializeToByteBufferMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iotdb.consensus.common.request.IConsensusRequest
getMemorySize, markAsGeneratedByRemoteConsensusLeader
-
Field Details
-
partitionSlotsMap
-
-
Constructor Details
-
GetDataPartitionPlan
-
GetDataPartitionPlan
-
-
Method Details
-
getPartitionSlotsMap
-
convertFromRpcTDataPartitionReq
Convert TDataPartitionReq to GetDataPartitionPlan.- Parameters:
req- TDataPartitionReq- Returns:
- GetDataPartitionPlan
-
equals
- Overrides:
equalsin classConfigPhysicalPlan
-
hashCode
public int hashCode()- Overrides:
hashCodein classConfigPhysicalPlan
-