Interface Store.TxnPrewriteRequest.ForUpdateTsCheckOrBuilder

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

public static interface Store.TxnPrewriteRequest.ForUpdateTsCheckOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The expected for_update_ts of the pessimistic lock of the key.
    long
    The index of key in the prewrite request that should be checked.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getIndex

      long getIndex()
       The index of key in the prewrite request that should be checked.
       
      int64 index = 1;
      Returns:
      The index.
    • getExpectedForUpdateTs

      long getExpectedForUpdateTs()
       The expected for_update_ts of the pessimistic lock of the key.
       
      int64 expected_for_update_ts = 2;
      Returns:
      The expectedForUpdateTs.