Click or drag to resize

PartitionPredicate Class

A builtin predicate that restricts the execution of a target Predicate to a single Partition.
Inheritance Hierarchy
SystemObject
  Hazelcast.CorePartitionPredicate

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.0
Syntax
public class PartitionPredicate : IPredicate, 
	IIdentifiedDataSerializable

The PartitionPredicate type exposes the following members.

Constructors
  NameDescription
Public methodPartitionPredicate
Initializes a new instance of the PartitionPredicate class
Public methodPartitionPredicate(Object, IPredicate)
Initializes a new instance of the PartitionPredicate class
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetFactoryId
Public methodGetHashCode (Inherited from Object.)
Public methodGetId
Public methodGetPartitionKey
Returns the partition key that determines the partition the target Predicate is going to execute on
Public methodGetTarget
Returns the predicate that will run on target partition
Public methodGetType (Inherited from Object.)
Public methodReadData
Public methodToString (Inherited from Object.)
Public methodWriteData
Top
Extension Methods
  NameDescription
Public Extension MethodAnd (Defined by PredicateExt.)
Public Extension MethodNot (Defined by PredicateExt.)
Public Extension MethodOr (Defined by PredicateExt.)
Top
Remarks
This can help to speed up query execution since only a single instead of all partitions needs to be queried. This predicate can only be used as an outer predicate
See Also