Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImporterClient ¶
type ImporterClient interface { ClearFiles( ctx context.Context, storeID uint64, req *import_sstpb.ClearRequest, ) (*import_sstpb.ClearResponse, error) ApplyKVFile( ctx context.Context, storeID uint64, req *import_sstpb.ApplyRequest, ) (*import_sstpb.ApplyResponse, error) DownloadSST( ctx context.Context, storeID uint64, req *import_sstpb.DownloadRequest, ) (*import_sstpb.DownloadResponse, error) MultiIngest( ctx context.Context, storeID uint64, req *import_sstpb.MultiIngestRequest, ) (*import_sstpb.IngestResponse, error) SetDownloadSpeedLimit( ctx context.Context, storeID uint64, req *import_sstpb.SetDownloadSpeedLimitRequest, ) (*import_sstpb.SetDownloadSpeedLimitResponse, error) GetImportClient( ctx context.Context, storeID uint64, ) (import_sstpb.ImportSSTClient, error) CloseGrpcClient() error CheckMultiIngestSupport(ctx context.Context, stores []uint64) error }
ImporterClient is used to import a file to TiKV.
func NewImportClient ¶
func NewImportClient(metaClient split.SplitClient, tlsConf *tls.Config, keepaliveConf keepalive.ClientParameters) ImporterClient
NewImportClient returns a new importerClient.
Click to show internal directories.
Click to hide internal directories.