public class PartitionGroupNode extends Object implements PartitionNode
| Constructor and Description |
|---|
PartitionGroupNode(Set<PartitionSingleNode> siblings)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Integer> |
apply(PartitionClientContext ctx,
Object... args)
Get partitions.
|
String |
cacheName() |
boolean |
constantsOnly() |
boolean |
contains(PartitionSingleNode val)
Check if value exists.
|
boolean |
containsExact(Collection<PartitionSingleNode> siblings)
Check if current group node contains exactly the same set of siblings.
|
int |
joinGroup() |
Set<PartitionSingleNode> |
siblings() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitoptimizepublic PartitionGroupNode(Set<PartitionSingleNode> siblings)
siblings - Partitions.public Collection<Integer> apply(PartitionClientContext ctx, Object... args) throws IgniteCheckedException
apply in interface PartitionNodectx - Thin client context (optional).args - Query arguments.IgniteCheckedException - If failed.public int joinGroup()
joinGroup in interface PartitionNodepublic Set<PartitionSingleNode> siblings()
public boolean contains(PartitionSingleNode val)
val - ValueTrue if exists.public boolean containsExact(Collection<PartitionSingleNode> siblings)
siblings - Siblings to check.True if both sets of siblings contain the same elements.public boolean constantsOnly()
True if the group contain only constants.public String cacheName()
cacheName in interface PartitionNodePartitionSingleNode
during PartitionNode tree traversal. This method is intended to be used within the Jdbc thin client.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020