Class PartitionAllNode
- java.lang.Object
-
- org.apache.ignite.internal.sql.optimizer.affinity.PartitionAllNode
-
- All Implemented Interfaces:
PartitionNode
public class PartitionAllNode extends Object implements PartitionNode
Node denoting all available partitions
-
-
Field Summary
Fields Modifier and Type Field Description static PartitionAllNodeINSTANCESingleton.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Integer>apply(PartitionClientContext cliCtx, Object... args)Get partitions.StringcacheName()intjoinGroup()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.sql.optimizer.affinity.PartitionNode
optimize
-
-
-
-
Field Detail
-
INSTANCE
public static final PartitionAllNode INSTANCE
Singleton.
-
-
Method Detail
-
apply
public Collection<Integer> apply(PartitionClientContext cliCtx, Object... args)
Get partitions.- Specified by:
applyin interfacePartitionNode- Parameters:
cliCtx- Thin client context (optional).args- Query arguments.- Returns:
- Partitions.
-
joinGroup
public int joinGroup()
- Specified by:
joinGroupin interfacePartitionNode- Returns:
- Join group for the given node.
-
cacheName
public String cacheName()
- Specified by:
cacheNamein interfacePartitionNode- Returns:
- First met cache name of an any
PartitionSingleNodeduringPartitionNodetree traversal. This method is intended to be used within the Jdbc thin client.
-
-