PartitionPredicate ClassHazelcast .Net Client Class Library
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.9
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFactoryId
Public methodGetHashCode
Serves as a hash function for a particular type.
(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
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReadData
Public methodToString
Returns a string that represents the current object.
(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

Reference