Package io.etcd.jetcd.options
Class GetOption
java.lang.Object
io.etcd.jetcd.options.GetOption
The option for get operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumstatic enum -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic GetOption.Builderbuilder()longgetLimit()Get the maximum number of keys to return for a get request.longlonglonglonglongbooleanbooleanbooleanisPrefix()booleanstatic GetOption.BuilderDeprecated.
-
Field Details
-
DEFAULT
-
-
Method Details
-
getLimit
public long getLimit()Get the maximum number of keys to return for a get request.- Returns:
- the maximum number of keys to return.
-
getEndKey
-
getRevision
public long getRevision() -
getSortOrder
-
getSortField
-
isSerializable
public boolean isSerializable() -
isKeysOnly
public boolean isKeysOnly() -
isCountOnly
public boolean isCountOnly() -
getMinCreateRevision
public long getMinCreateRevision() -
getMaxCreateRevision
public long getMaxCreateRevision() -
getMinModRevision
public long getMinModRevision() -
getMaxModRevision
public long getMaxModRevision() -
isPrefix
public boolean isPrefix() -
newBuilder
Deprecated.usebuilder()Returns the builder.- Returns:
- the builder
-
builder
-
builder()