public final class GetOption extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GetOption.Builder |
static class |
GetOption.SortOrder |
static class |
GetOption.SortTarget |
| Modifier and Type | Method and Description |
|---|---|
Optional<ByteSequence> |
getEndKey() |
long |
getLimit()
Get the maximum number of keys to return for a get request.
|
long |
getMaxCreateRevision() |
long |
getMaxModRevision() |
long |
getMinCreateRevision() |
long |
getMinModRevision() |
long |
getRevision() |
GetOption.SortTarget |
getSortField() |
GetOption.SortOrder |
getSortOrder() |
boolean |
isCountOnly() |
boolean |
isKeysOnly() |
boolean |
isSerializable() |
static GetOption.Builder |
newBuilder()
Create a builder to construct option for get operation.
|
public static final GetOption DEFAULT
public static GetOption.Builder newBuilder()
public long getLimit()
public Optional<ByteSequence> getEndKey()
public long getRevision()
public GetOption.SortOrder getSortOrder()
public GetOption.SortTarget getSortField()
public boolean isSerializable()
public boolean isKeysOnly()
public boolean isCountOnly()
public long getMinCreateRevision()
public long getMaxCreateRevision()
public long getMinModRevision()
public long getMaxModRevision()
Copyright © 2020. All rights reserved.