Package io.dingodb.store
Interface Store.BackupDataRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.BackupDataRequest,Store.BackupDataRequest.Builder
- Enclosing class:
- Store
public static interface Store.BackupDataRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbackup ts [optional] like "2022-09-08 13:30:00 +08:00"com.google.protobuf.ByteStringbackup ts [optional] like "2022-09-08 13:30:00 +08:00"longbackup tso [required] like "1631158200000000000"intsst compression level, some algorithms support negative compression levels [optional] currently not supported.algorithm used for compress sst files [optional] currently not supported.intalgorithm used for compress sst files [optional] currently not supported..dingodb.pb.store.Context context = 2;.dingodb.pb.store.Context context = 2;com.google.protobuf.ByteStringbytes end_key = 4;booleanneed leader [required] if true, the backup request will be sent to leader of the region.region type [required]intregion type [required].dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;com.google.protobuf.ByteStringbytes start_key = 3;The storage backend for backup.The storage backend for backup.storage path [optional]com.google.protobuf.ByteStringstorage path [optional]boolean.dingodb.pb.store.Context context = 2;boolean.dingodb.pb.common.RequestInfo request_info = 1;booleanThe storage backend for backup.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
-
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; -
getStartKey
com.google.protobuf.ByteString getStartKey()bytes start_key = 3;- Returns:
- The startKey.
-
getEndKey
com.google.protobuf.ByteString getEndKey()bytes end_key = 4;- Returns:
- The endKey.
-
getNeedLeader
boolean getNeedLeader()need leader [required] if true, the backup request will be sent to leader of the region. default is true .
bool need_leader = 13;- Returns:
- The needLeader.
-
getRegionTypeValue
int getRegionTypeValue()region type [required]
.dingodb.pb.common.RegionType region_type = 14;- Returns:
- The enum numeric value on the wire for regionType.
-
getRegionType
Common.RegionType getRegionType()region type [required]
.dingodb.pb.common.RegionType region_type = 14;- Returns:
- The regionType.
-
getBackupTs
String getBackupTs()backup ts [optional] like "2022-09-08 13:30:00 +08:00"
string backup_ts = 15;- Returns:
- The backupTs.
-
getBackupTsBytes
com.google.protobuf.ByteString getBackupTsBytes()backup ts [optional] like "2022-09-08 13:30:00 +08:00"
string backup_ts = 15;- Returns:
- The bytes for backupTs.
-
getBackupTso
long getBackupTso()backup tso [required] like "1631158200000000000"
int64 backup_tso = 16;- Returns:
- The backupTso.
-
getStoragePath
String getStoragePath()storage path [optional]
string storage_path = 17;- Returns:
- The storagePath.
-
getStoragePathBytes
com.google.protobuf.ByteString getStoragePathBytes()storage path [optional]
string storage_path = 17;- Returns:
- The bytes for storagePath.
-
hasStorageBackend
boolean hasStorageBackend()The storage backend for backup. default is nfs file system [required]
.dingodb.pb.common.StorageBackend storage_backend = 18;- Returns:
- Whether the storageBackend field is set.
-
getStorageBackend
Common.StorageBackend getStorageBackend()The storage backend for backup. default is nfs file system [required]
.dingodb.pb.common.StorageBackend storage_backend = 18;- Returns:
- The storageBackend.
-
getStorageBackendOrBuilder
Common.StorageBackendOrBuilder getStorageBackendOrBuilder()The storage backend for backup. default is nfs file system [required]
.dingodb.pb.common.StorageBackend storage_backend = 18; -
getCompressionTypeValue
int getCompressionTypeValue()algorithm used for compress sst files [optional] currently not supported.
.dingodb.pb.common.CompressionType compression_type = 19;- Returns:
- The enum numeric value on the wire for compressionType.
-
getCompressionType
Common.CompressionType getCompressionType()algorithm used for compress sst files [optional] currently not supported.
.dingodb.pb.common.CompressionType compression_type = 19;- Returns:
- The compressionType.
-
getCompressionLevel
int getCompressionLevel()sst compression level, some algorithms support negative compression levels [optional] currently not supported.
int32 compression_level = 20;- Returns:
- The compressionLevel.
-