PartitionFilter Class

Aerospike
Partition filter used in scan/query.
Inheritance Hierarchy

SystemObject
  Aerospike.ClientPartitionFilter

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
[SerializableAttribute]
public sealed class PartitionFilter

The PartitionFilter type exposes the following members.

Properties

  NameDescription
Public propertyBegin
First partition id.
Public propertyCount
Count of partitions.
Public propertyDigest
Resume after digest.
Public propertyDone
If using maxRecords or maxRecords, did previous paginated scans with this partition filter instance return all records?
Public propertyPartitions
Status of each partition after scan termination. Useful for external retry of partially completed scans at a later time.

The partition status is accurate for sync/async ScanPartitions and async QueryPartitions.

The partition status is not accurate for QueryPartitions(QueryPolicy, Statement, PartitionFilter) because the last digest received is set during query parsing, but the user may not have retrieved that digest from the RecordSet yet.

Top
Methods

  NameDescription
Public methodStatic memberAfter
Return records after key's digest in partition containing the digest. Note that digest order is not the same as userKey order. This method only works for scan or query with null filter.
Public methodStatic memberAll
Read all partitions.
Public methodStatic memberId
Filter by partition id.
Public methodStatic memberRange
Filter by partition range.
Top
See Also

Reference