Package dingodb.pb.coordinator_internal
Interface CoordinatorInternalOuterClass.KvInternalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CoordinatorInternalOuterClass.KvInternal,CoordinatorInternalOuterClass.KvInternal.Builder
- Enclosing class:
- CoordinatorInternalOuterClass
public static interface CoordinatorInternalOuterClass.KvInternalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.dingodb.pb.coordinator_internal.RevisionInternal create_revision = 3;.dingodb.pb.coordinator_internal.RevisionInternal create_revision = 3;com.google.protobuf.ByteStringgetId()id is the key of the keyIndex.booleanfor delete operation, we set is_deleted to true, and set value to emptylonggetLease()int64 lease = 6;.dingodb.pb.coordinator_internal.RevisionInternal mod_revision = 4;.dingodb.pb.coordinator_internal.RevisionInternal mod_revision = 4;com.google.protobuf.ByteStringgetValue()bytes value = 2;longint64 version = 5;boolean.dingodb.pb.coordinator_internal.RevisionInternal create_revision = 3;boolean.dingodb.pb.coordinator_internal.RevisionInternal mod_revision = 4;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
-
getId
com.google.protobuf.ByteString getId()id is the key of the keyIndex.
bytes id = 1;- Returns:
- The id.
-
getValue
com.google.protobuf.ByteString getValue()bytes value = 2;- Returns:
- The value.
-
hasCreateRevision
boolean hasCreateRevision().dingodb.pb.coordinator_internal.RevisionInternal create_revision = 3;- Returns:
- Whether the createRevision field is set.
-
getCreateRevision
CoordinatorInternalOuterClass.RevisionInternal getCreateRevision().dingodb.pb.coordinator_internal.RevisionInternal create_revision = 3;- Returns:
- The createRevision.
-
getCreateRevisionOrBuilder
CoordinatorInternalOuterClass.RevisionInternalOrBuilder getCreateRevisionOrBuilder().dingodb.pb.coordinator_internal.RevisionInternal create_revision = 3; -
hasModRevision
boolean hasModRevision().dingodb.pb.coordinator_internal.RevisionInternal mod_revision = 4;- Returns:
- Whether the modRevision field is set.
-
getModRevision
CoordinatorInternalOuterClass.RevisionInternal getModRevision().dingodb.pb.coordinator_internal.RevisionInternal mod_revision = 4;- Returns:
- The modRevision.
-
getModRevisionOrBuilder
CoordinatorInternalOuterClass.RevisionInternalOrBuilder getModRevisionOrBuilder().dingodb.pb.coordinator_internal.RevisionInternal mod_revision = 4; -
getVersion
long getVersion()int64 version = 5;- Returns:
- The version.
-
getLease
long getLease()int64 lease = 6;- Returns:
- The lease.
-
getIsDeleted
boolean getIsDeleted()for delete operation, we set is_deleted to true, and set value to empty
bool is_deleted = 7;- Returns:
- The isDeleted.
-