Interface Store.TxnScanRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Store.TxnScanRequest, Store.TxnScanRequest.Builder
Enclosing class:
Store

public static interface Store.TxnScanRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasRequestInfo

      boolean hasRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Returns:
      Whether the requestInfo field is set.
    • getRequestInfo

      Common.RequestInfo getRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Returns:
      The requestInfo.
    • getRequestInfoOrBuilder

      Common.RequestInfoOrBuilder getRequestInfoOrBuilder()
      .dingodb.pb.common.RequestInfo request_info = 1;
    • hasContext

      boolean hasContext()
      .dingodb.pb.store.Context context = 2;
      Returns:
      Whether the context field is set.
    • getContext

      Store.Context getContext()
      .dingodb.pb.store.Context context = 2;
      Returns:
      The context.
    • getContextOrBuilder

      Store.ContextOrBuilder getContextOrBuilder()
      .dingodb.pb.store.Context context = 2;
    • hasRange

      boolean hasRange()
       prefix start_key end_key with mode
       
      .dingodb.pb.common.RangeWithOptions range = 3;
      Returns:
      Whether the range field is set.
    • getRange

       prefix start_key end_key with mode
       
      .dingodb.pb.common.RangeWithOptions range = 3;
      Returns:
      The range.
    • getRangeOrBuilder

       prefix start_key end_key with mode
       
      .dingodb.pb.common.RangeWithOptions range = 3;
    • getLimit

      int getLimit()
       The maximum number of results to return.
       
      uint32 limit = 4;
      Returns:
      The limit.
    • getStartTs

      long getStartTs()
       the start_ts of the get transaction, store will return the value of the key when commit_ts < start_ts
       
      int64 start_ts = 5;
      Returns:
      The startTs.
    • getKeyOnly

      boolean getKeyOnly()
       Return only the keys found by scanning, not their values.
       
      bool key_only = 6;
      Returns:
      The keyOnly.
    • getIsReverse

      boolean getIsReverse()
       For compatibility, when scanning forward, the range to scan is [start_key, end_key), where start_key < end_key;
       and when scanning backward, it scans [end_key, start_key) in descending order, where end_key < start_key.
       
      bool is_reverse = 7;
      Returns:
      The isReverse.
    • hasCoprocessor

      boolean hasCoprocessor()
       coprocessor
       
      .dingodb.pb.common.CoprocessorV2 coprocessor = 20;
      Returns:
      Whether the coprocessor field is set.
    • getCoprocessor

      Common.CoprocessorV2 getCoprocessor()
       coprocessor
       
      .dingodb.pb.common.CoprocessorV2 coprocessor = 20;
      Returns:
      The coprocessor.
    • getCoprocessorOrBuilder

      Common.CoprocessorV2OrBuilder getCoprocessorOrBuilder()
       coprocessor
       
      .dingodb.pb.common.CoprocessorV2 coprocessor = 20;
    • hasStreamMeta

      boolean hasStreamMeta()
      .dingodb.pb.stream.StreamRequestMeta stream_meta = 30;
      Returns:
      Whether the streamMeta field is set.
    • getStreamMeta

      Stream.StreamRequestMeta getStreamMeta()
      .dingodb.pb.stream.StreamRequestMeta stream_meta = 30;
      Returns:
      The streamMeta.
    • getStreamMetaOrBuilder

      Stream.StreamRequestMetaOrBuilder getStreamMetaOrBuilder()
      .dingodb.pb.stream.StreamRequestMeta stream_meta = 30;