Class PartitionClientContext
- java.lang.Object
-
- org.apache.ignite.internal.sql.optimizer.affinity.PartitionClientContext
-
public class PartitionClientContext extends Object
Client context. Passed to partition resolver on thin clients.
-
-
Constructor Summary
Constructors Constructor Description PartitionClientContext(int parts)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Integerpartition(Object arg, @Nullable PartitionParameterType typ)Resolve partition.
-
-
-
Method Detail
-
partition
@Nullable public @Nullable Integer partition(Object arg, @Nullable @Nullable PartitionParameterType typ)
Resolve partition.- Parameters:
arg- Argument.typ- Type.- Returns:
- Partition or
nullif cannot be resolved.
-
-