Class GetOption

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

public final class GetOption extends Object
The option for get operation.
  • Field Details

    • DEFAULT

      public static final GetOption 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

      public Optional<ByteSequence> getEndKey()
    • getRevision

      public long getRevision()
    • getSortOrder

      public GetOption.SortOrder getSortOrder()
    • getSortField

      public GetOption.SortTarget 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 public static GetOption.Builder newBuilder()
      Deprecated.
      Returns the builder.
      Returns:
      the builder
    • builder

      public static GetOption.Builder builder()