Interface PartitionNode
-
- All Known Implementing Classes:
PartitionAllNode,PartitionCompositeNode,PartitionConstantNode,PartitionGroupNode,PartitionNoneNode,PartitionParameterNode,PartitionSingleNode
public interface PartitionNodeCommon node of partition tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<Integer>apply(@Nullable PartitionClientContext cliCtx, Object... args)Get partitions.StringcacheName()intjoinGroup()default PartitionNodeoptimize()Try optimizing partition nodes into a simpler form.
-
-
-
Method Detail
-
apply
Collection<Integer> apply(@Nullable @Nullable PartitionClientContext cliCtx, Object... args) throws IgniteCheckedException
Get partitions.- Parameters:
cliCtx- Thin client context (optional).args- Query arguments.- Returns:
- Partitions.
- Throws:
IgniteCheckedException- If failed.
-
joinGroup
int joinGroup()
- Returns:
- Join group for the given node.
-
cacheName
String cacheName()
- Returns:
- First met cache name of an any
PartitionSingleNodeduringPartitionNodetree traversal. This method is intended to be used within the Jdbc thin client.
-
optimize
default PartitionNode optimize()
Try optimizing partition nodes into a simpler form.- Returns:
- Optimized node or
thisif optimization failed.
-
-