blob: 95e359ce03d8b44c53a6e0bcc6e78a5ef4c7ca70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include "formats.h"
#include <ydb/public/sdk/cpp/client/ydb_export/export.h>
#include <ydb/public/sdk/cpp/client/ydb_import/import.h>
#include <ydb/public/sdk/cpp/client/ydb_operation/operation.h>
#include <ydb/public/sdk/cpp/client/ydb_table/table.h>
namespace NYdb {
namespace NConsoleClient {
/// Common
void PrintOperation(const TOperation& operation, EOutputFormat format);
/// YT
void PrintOperation(const NExport::TExportToYtResponse& operation, EOutputFormat format);
void PrintOperationsList(const NOperation::TOperationsList<NExport::TExportToYtResponse>& operations, EOutputFormat format);
/// S3
// export
void PrintOperation(const NExport::TExportToS3Response& operation, EOutputFormat format);
void PrintOperationsList(const NOperation::TOperationsList<NExport::TExportToS3Response>& operations, EOutputFormat format);
// import
void PrintOperation(const NImport::TImportFromS3Response& operation, EOutputFormat format);
void PrintOperationsList(const NOperation::TOperationsList<NImport::TImportFromS3Response>& operations, EOutputFormat format);
/// Index build
void PrintOperation(const NYdb::NTable::TBuildIndexOperation& operation, EOutputFormat format);
void PrintOperationsList(const NOperation::TOperationsList<NYdb::NTable::TBuildIndexOperation>& operations, EOutputFormat format);
}
}
|