Package io.etcd.jetcd.options
Class DeleteOption
- java.lang.Object
-
- io.etcd.jetcd.options.DeleteOption
-
public final class DeleteOption extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteOption.Builder
-
Field Summary
Fields Modifier and Type Field Description static DeleteOptionDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ByteSequence>getEndKey()booleanisPrefix()booleanisPrevKV()Whether to get the previous key/value pairs before deleting them.static DeleteOption.BuildernewBuilder()
-
-
-
Field Detail
-
DEFAULT
public static final DeleteOption DEFAULT
-
-
Method Detail
-
newBuilder
public static DeleteOption.Builder newBuilder()
-
getEndKey
public java.util.Optional<ByteSequence> getEndKey()
-
isPrevKV
public boolean isPrevKV()
Whether to get the previous key/value pairs before deleting them.- Returns:
- true if get the previous key/value pairs before deleting them, otherwise false.
-
isPrefix
public boolean isPrefix()
-
-