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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
|
#pragma once
#include <yt/cpp/mapreduce/interface/fwd.h>
#include <yt/cpp/mapreduce/interface/client_method_options.h>
namespace NYT::NDetail::NRawClient {
////////////////////////////////////////////////////////////////////////////////
TNode SerializeParamsForCreate(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
ENodeType type,
const TCreateOptions& options);
TNode SerializeParamsForRemove(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TRemoveOptions& options);
TNode SerializeParamsForExists(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TExistsOptions& options);
TNode SerializeParamsForGet(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TGetOptions& options);
TNode SerializeParamsForSet(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TSetOptions& options);
TNode SerializeParamsForMultisetAttributes(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TMultisetAttributesOptions& options);
TNode SerializeParamsForList(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TListOptions& options);
TNode SerializeParamsForCopy(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& sourcePath,
const TYPath& destinationPath,
const TCopyOptions& options);
TNode SerializeParamsForMove(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& sourcePath,
const TYPath& destinationPath,
const TMoveOptions& options);
TNode SerializeParamsForLink(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& targetPath,
const TYPath& linkPath,
const TLinkOptions& options);
TNode SerializeParamsForLock(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
ELockMode mode,
const TLockOptions& options);
TNode SerializeParamsForUnlock(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TUnlockOptions& options);
TNode SerializeParamsForConcatenate(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TVector<TRichYPath>& sourcePaths,
const TRichYPath& destinationPath,
const TConcatenateOptions& options);
TNode SerializeParamsForPingTx(
const TTransactionId& transactionId);
TNode SerializeParamsForGetOperation(const std::variant<TString, TOperationId>& aliasOrOperationId, const TGetOperationOptions& options);
TNode SerializeParamsForAbortOperation(
const TOperationId& operationId);
TNode SerializeParamsForCompleteOperation(
const TOperationId& operationId);
TNode SerializeParamsForSuspendOperation(
const TOperationId& operationId,
const TSuspendOperationOptions& options);
TNode SerializeParamsForResumeOperation(
const TOperationId& operationId,
const TResumeOperationOptions& options);
TNode SerializeParamsForListOperations(
const TListOperationsOptions& options);
TNode SerializeParamsForUpdateOperationParameters(
const TOperationId& operationId,
const TUpdateOperationParametersOptions& options);
TNode SerializeParamsForGetJob(
const TOperationId& operationId,
const TJobId& jobId,
const TGetJobOptions& options);
TNode SerializeParamsForListJobs(
const TOperationId& operationId,
const TListJobsOptions& options);
TNode SerializeParametersForInsertRows(
const TString& pathPrefix,
const TYPath& path,
const TInsertRowsOptions& options);
TNode SerializeParametersForDeleteRows(
const TString& pathPrefix,
const TYPath& path,
const TDeleteRowsOptions& options);
TNode SerializeParametersForTrimRows(
const TString& pathPrefix,
const TYPath& path,
const TTrimRowsOptions& options);
TNode SerializeParamsForParseYPath(
const TRichYPath& path);
TNode SerializeParamsForEnableTableReplica(
const TReplicaId& replicaId);
TNode SerializeParamsForDisableTableReplica(
const TReplicaId& replicaId);
TNode SerializeParamsForAlterTableReplica(
const TReplicaId& replicaId,
const TAlterTableReplicaOptions& options);
TNode SerializeParamsForFreezeTable(
const TString& pathPrefix,
const TYPath& path,
const TFreezeTableOptions& options);
TNode SerializeParamsForUnfreezeTable(
const TString& pathPrefix,
const TYPath& path,
const TUnfreezeTableOptions& options);
TNode SerializeParamsForAlterTable(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& path,
const TAlterTableOptions& options);
TNode SerializeParamsForGetTableColumnarStatistics(
const TTransactionId& transactionId,
const TVector<TRichYPath>& paths,
const TGetTableColumnarStatisticsOptions& options);
TNode SerializeParamsForGetTablePartitions(
const TTransactionId& transactionId,
const TVector<TRichYPath>& paths,
const TGetTablePartitionsOptions& options);
TNode SerializeParamsForGetFileFromCache(
const TTransactionId& transactionId,
const TString& md5Signature,
const TYPath& cachePath,
const TGetFileFromCacheOptions&);
TNode SerializeParamsForPutFileToCache(
const TTransactionId& transactionId,
const TString& pathPrefix,
const TYPath& filePath,
const TString& md5Signature,
const TYPath& cachePath,
const TPutFileToCacheOptions& options);
TNode SerializeParamsForSkyShareTable(
const TString& serverName,
const TString& pathPrefix,
const std::vector<TYPath>& tablePaths,
const TSkyShareTableOptions& options);
TNode SerializeParamsForCheckPermission(
const TString& user,
EPermission permission,
const TString& pathPrefix,
const TYPath& path,
const TCheckPermissionOptions& options);
TNode SerializeParamsForGetTabletInfos(
const TString& pathPrefix,
const TYPath& path,
const TVector<int>& tabletIndexes,
const TGetTabletInfosOptions& options);
TNode SerializeParamsForAbortTransaction(
const TTransactionId& transactionId);
TNode SerializeParamsForCommitTransaction(
const TTransactionId& transactionId);
TNode SerializeParamsForStartTransaction(
const TTransactionId& parentTransactionId,
TDuration txTimeout,
const TStartTransactionOptions& options);
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NDetail::NRawClient
|