PartitionFilter MembersAerospike

The PartitionFilter type exposes the following members.
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.
Public methodStatic memberAll
Read all partitions.
Public methodStatic memberId
Filter by partition id.
Public methodStatic memberRange
Filter by partition range.
Back to Top
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.

Back to Top
See Also