public class PartitionResult extends Object
| Constructor and Description |
|---|
PartitionResult(PartitionNode tree,
AffinityTopologyVersion topVer,
String cacheName,
int partsCnt)
Constructor.
|
PartitionResult(PartitionNode tree,
PartitionTableAffinityDescriptor aff,
AffinityTopologyVersion topVer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PartitionTableAffinityDescriptor |
affinity() |
String |
cacheName() |
static int[] |
calculatePartitions(int[] explicitParts,
PartitionResult derivedParts,
Object[] args)
Calculate partitions for the query.
|
boolean |
isClientPartitionAwarenessApplicable() |
int |
partitionsCount() |
AffinityTopologyVersion |
topologyVersion() |
String |
toString() |
PartitionNode |
tree()
Tree.
|
public PartitionResult(PartitionNode tree, PartitionTableAffinityDescriptor aff, AffinityTopologyVersion topVer)
tree - Tree.aff - Affinity function.public PartitionResult(PartitionNode tree, AffinityTopologyVersion topVer, String cacheName, int partsCnt)
tree - Tree.topVer - Affinity topology version.cacheName - Cache name.partsCnt - Partitions count.public PartitionNode tree()
public PartitionTableAffinityDescriptor affinity()
public static int[] calculatePartitions(int[] explicitParts,
PartitionResult derivedParts,
Object[] args)
explicitParts - Explicit partitions provided in SqlFieldsQuery.partitions property.derivedParts - Derived partitions found during partition pruning.args - Arguments.null if failed to calculate and there should be a broadcast.public AffinityTopologyVersion topologyVersion()
public String cacheName()
public int partitionsCount()
public boolean isClientPartitionAwarenessApplicable()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023