Package io.dingodb.store
Interface Store.ContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.Context,Store.Context.Builder
- Enclosing class:
- Store
public static interface Store.ContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.dingodb.pb.store.IsolationLevel isolation_level = 3;int.dingodb.pb.store.IsolationLevel isolation_level = 3;.dingodb.pb.common.RegionEpoch region_epoch = 2;.dingodb.pb.common.RegionEpoch region_epoch = 2;longint64 region_id = 1;longgetResolvedLocks(int index) Read requests should ignore locks belonging to these transactions because either these transactions are rolled back or theirs min_commit_ts > read request's start_ts.intRead requests should ignore locks belonging to these transactions because either these transactions are rolled back or theirs min_commit_ts > read request's start_ts.Read requests should ignore locks belonging to these transactions because either these transactions are rolled back or theirs min_commit_ts > read request's start_ts.boolean.dingodb.pb.common.RegionEpoch region_epoch = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRegionId
long getRegionId()int64 region_id = 1;- Returns:
- The regionId.
-
hasRegionEpoch
boolean hasRegionEpoch().dingodb.pb.common.RegionEpoch region_epoch = 2;- Returns:
- Whether the regionEpoch field is set.
-
getRegionEpoch
Common.RegionEpoch getRegionEpoch().dingodb.pb.common.RegionEpoch region_epoch = 2;- Returns:
- The regionEpoch.
-
getRegionEpochOrBuilder
Common.RegionEpochOrBuilder getRegionEpochOrBuilder().dingodb.pb.common.RegionEpoch region_epoch = 2; -
getIsolationLevelValue
int getIsolationLevelValue().dingodb.pb.store.IsolationLevel isolation_level = 3;- Returns:
- The enum numeric value on the wire for isolationLevel.
-
getIsolationLevel
Store.IsolationLevel getIsolationLevel().dingodb.pb.store.IsolationLevel isolation_level = 3;- Returns:
- The isolationLevel.
-
getResolvedLocksList
Read requests should ignore locks belonging to these transactions because either these transactions are rolled back or theirs min_commit_ts > read request's start_ts.
repeated uint64 resolved_locks = 4;- Returns:
- A list containing the resolvedLocks.
-
getResolvedLocksCount
int getResolvedLocksCount()Read requests should ignore locks belonging to these transactions because either these transactions are rolled back or theirs min_commit_ts > read request's start_ts.
repeated uint64 resolved_locks = 4;- Returns:
- The count of resolvedLocks.
-
getResolvedLocks
long getResolvedLocks(int index) Read requests should ignore locks belonging to these transactions because either these transactions are rolled back or theirs min_commit_ts > read request's start_ts.
repeated uint64 resolved_locks = 4;- Parameters:
index- The index of the element to return.- Returns:
- The resolvedLocks at the given index.
-