Interface Store.WriteConflictOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    the commit_ts of the transaction which meets read conflict
    long
    the lock_ts conflicted with start_ts
    com.google.protobuf.ByteString
    bytes key = 5;
    com.google.protobuf.ByteString
    the conflict lock's primary key
    .dingodb.pb.store.WriteConflict.Reason reason = 1;
    int
    .dingodb.pb.store.WriteConflict.Reason reason = 1;
    long
    int64 start_ts = 2;

    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

    • getReasonValue

      int getReasonValue()
      .dingodb.pb.store.WriteConflict.Reason reason = 1;
      Returns:
      The enum numeric value on the wire for reason.
    • getReason

      .dingodb.pb.store.WriteConflict.Reason reason = 1;
      Returns:
      The reason.
    • getStartTs

      long getStartTs()
      int64 start_ts = 2;
      Returns:
      The startTs.
    • getConflictTs

      long getConflictTs()
       the lock_ts conflicted with start_ts
       
      int64 conflict_ts = 3;
      Returns:
      The conflictTs.
    • getConflictCommitTs

      long getConflictCommitTs()
       the commit_ts of the transaction which meets read conflict
       
      int64 conflict_commit_ts = 4;
      Returns:
      The conflictCommitTs.
    • getKey

      com.google.protobuf.ByteString getKey()
      bytes key = 5;
      Returns:
      The key.
    • getPrimaryKey

      com.google.protobuf.ByteString getPrimaryKey()
       the conflict lock's primary key
       
      bytes primary_key = 6;
      Returns:
      The primaryKey.