| Package | Description |
|---|---|
| io.etcd.jetcd.options |
| Modifier and Type | Method and Description |
|---|---|
static GetOption.Builder |
GetOption.newBuilder()
Create a builder to construct option for get operation.
|
GetOption.Builder |
GetOption.Builder.withCountOnly(boolean countOnly)
Set the get request to only return count of the keys.
|
GetOption.Builder |
GetOption.Builder.withKeysOnly(boolean keysOnly)
Set the get request to only return keys.
|
GetOption.Builder |
GetOption.Builder.withLimit(long limit)
Limit the number of keys to return for a get request.
|
GetOption.Builder |
GetOption.Builder.withMaxCreateRevision(long createRevision)
Limit returned keys to those with create revision less than the provided value.
|
GetOption.Builder |
GetOption.Builder.withMaxModRevision(long modRevision)
Limit returned keys to those with mod revision less than the provided value.
|
GetOption.Builder |
GetOption.Builder.withMinCreateRevision(long createRevision)
Limit returned keys to those with create revision greater than the provided value.
|
GetOption.Builder |
GetOption.Builder.withMinModRevision(long modRevision)
Limit returned keys to those with mod revision greater than the provided value.
|
GetOption.Builder |
GetOption.Builder.withPrefix(ByteSequence prefix)
Enables 'Get' requests to obtain all the keys with matching prefix.
|
GetOption.Builder |
GetOption.Builder.withRange(ByteSequence endKey)
Set the end key of the get request.
|
GetOption.Builder |
GetOption.Builder.withRevision(long revision)
Provide the revision to use for the get request.
|
GetOption.Builder |
GetOption.Builder.withSerializable(boolean serializable)
Set the get request to be a serializable get request.
|
GetOption.Builder |
GetOption.Builder.withSortField(GetOption.SortTarget field)
Sort the return key value pairs in the provided field.
|
GetOption.Builder |
GetOption.Builder.withSortOrder(GetOption.SortOrder order)
Sort the return key value pairs in the provided order.
|
Copyright © 2020. All rights reserved.