public final class PartitionFilter extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static PartitionFilter |
after(Key key)
Return records after key's digest in partition containing the digest.
|
static PartitionFilter |
all()
Read all partitions.
|
static PartitionFilter |
id(int id)
Filter by partition id.
|
boolean |
isDone()
If using
ScanPolicy.maxRecords or
QueryPolicy.maxRecords,
did previous paginated scans with this partition filter instance return all records? |
static PartitionFilter |
range(int begin,
int count)
Filter by partition range.
|
public static PartitionFilter all()
public static PartitionFilter id(int id)
id - partition id (0 - 4095)public static PartitionFilter after(Key key)
key - return records after this key's digestpublic static PartitionFilter range(int begin, int count)
begin - start partition id (0 - 4095)count - number of partitionspublic boolean isDone()
ScanPolicy.maxRecords or
QueryPolicy.maxRecords,
did previous paginated scans with this partition filter instance return all records?Copyright © 2012–2021 Aerospike, Inc. All rights reserved.