Class DeleteOption

java.lang.Object
io.etcd.jetcd.options.DeleteOption

public final class DeleteOption extends Object
  • Field Details

  • Method Details

    • getEndKey

      public 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()
    • newBuilder

      @Deprecated public static DeleteOption.Builder newBuilder()
      Deprecated.
      Returns the builder.
      Returns:
      the builder
    • builder

      public static DeleteOption.Builder builder()