public static interface ImportSstpb.DownloadRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Brpb.CipherInfo |
getCipherInfo()
cipher_info is used to decrypt sst when download sst
|
Brpb.CipherInfoOrBuilder |
getCipherInfoOrBuilder()
cipher_info is used to decrypt sst when download sst
|
boolean |
getIsRawKv()
bool is_raw_kv = 15; |
String |
getName()
The file name of the SST file.
|
com.google.protobuf.ByteString |
getNameBytes()
The file name of the SST file.
|
ImportSstpb.RewriteRule |
getRewriteRule()
Performs a key prefix rewrite after downloading the SST file.
|
ImportSstpb.RewriteRuleOrBuilder |
getRewriteRuleOrBuilder()
Performs a key prefix rewrite after downloading the SST file.
|
ImportSstpb.SSTMeta |
getSst()
The SST meta used to identify the downloaded file.
|
ImportSstpb.SSTMetaOrBuilder |
getSstOrBuilder()
The SST meta used to identify the downloaded file.
|
Brpb.StorageBackend |
getStorageBackend()
.backup.StorageBackend storage_backend = 14; |
Brpb.StorageBackendOrBuilder |
getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 14; |
boolean |
hasCipherInfo()
cipher_info is used to decrypt sst when download sst
|
boolean |
hasRewriteRule()
Performs a key prefix rewrite after downloading the SST file.
|
boolean |
hasSst()
The SST meta used to identify the downloaded file.
|
boolean |
hasStorageBackend()
.backup.StorageBackend storage_backend = 14; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasSst()
The SST meta used to identify the downloaded file. Must be the same among all nodes in the same Raft group. Note: the "crc32" and "cf_name" fields are ignored in this request, and the "range" field represents the closed key range after rewrite (as origin keys in encoded representation).
.import_sstpb.SSTMeta sst = 2 [(.gogoproto.nullable) = false];
ImportSstpb.SSTMeta getSst()
The SST meta used to identify the downloaded file. Must be the same among all nodes in the same Raft group. Note: the "crc32" and "cf_name" fields are ignored in this request, and the "range" field represents the closed key range after rewrite (as origin keys in encoded representation).
.import_sstpb.SSTMeta sst = 2 [(.gogoproto.nullable) = false];
ImportSstpb.SSTMetaOrBuilder getSstOrBuilder()
The SST meta used to identify the downloaded file. Must be the same among all nodes in the same Raft group. Note: the "crc32" and "cf_name" fields are ignored in this request, and the "range" field represents the closed key range after rewrite (as origin keys in encoded representation).
.import_sstpb.SSTMeta sst = 2 [(.gogoproto.nullable) = false];
String getName()
The file name of the SST file.
string name = 9;
com.google.protobuf.ByteString getNameBytes()
The file name of the SST file.
string name = 9;
boolean hasRewriteRule()
Performs a key prefix rewrite after downloading the SST file. All keys in the SST will be rewritten as: new_key = new_key_prefix + old_key[len(old_key_prefix)..] When used for TiDB, rewriting the prefix changes the table ID. Please note that key-rewrite is applied on the origin keys in encoded representation (the SST itself should still use data keys in encoded representation). You need to ensure that the keys before and after rewriting are in the same order, otherwise the RPC request will fail.
.import_sstpb.RewriteRule rewrite_rule = 13 [(.gogoproto.nullable) = false];
ImportSstpb.RewriteRule getRewriteRule()
Performs a key prefix rewrite after downloading the SST file. All keys in the SST will be rewritten as: new_key = new_key_prefix + old_key[len(old_key_prefix)..] When used for TiDB, rewriting the prefix changes the table ID. Please note that key-rewrite is applied on the origin keys in encoded representation (the SST itself should still use data keys in encoded representation). You need to ensure that the keys before and after rewriting are in the same order, otherwise the RPC request will fail.
.import_sstpb.RewriteRule rewrite_rule = 13 [(.gogoproto.nullable) = false];
ImportSstpb.RewriteRuleOrBuilder getRewriteRuleOrBuilder()
Performs a key prefix rewrite after downloading the SST file. All keys in the SST will be rewritten as: new_key = new_key_prefix + old_key[len(old_key_prefix)..] When used for TiDB, rewriting the prefix changes the table ID. Please note that key-rewrite is applied on the origin keys in encoded representation (the SST itself should still use data keys in encoded representation). You need to ensure that the keys before and after rewriting are in the same order, otherwise the RPC request will fail.
.import_sstpb.RewriteRule rewrite_rule = 13 [(.gogoproto.nullable) = false];
boolean hasStorageBackend()
.backup.StorageBackend storage_backend = 14;
Brpb.StorageBackend getStorageBackend()
.backup.StorageBackend storage_backend = 14;
Brpb.StorageBackendOrBuilder getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 14;
boolean getIsRawKv()
bool is_raw_kv = 15;
boolean hasCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;
Brpb.CipherInfo getCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;
Brpb.CipherInfoOrBuilder getCipherInfoOrBuilder()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;
Copyright © 2024 PingCAP. All rights reserved.