iceberg-cpp
Loading...
Searching...
No Matches
hive_metastore_types.h
1
7#ifndef hive_metastore_TYPES_H
8#define hive_metastore_TYPES_H
9
10#include <iosfwd>
11
12#include <thrift/Thrift.h>
13#include <thrift/TApplicationException.h>
14#include <thrift/TBase.h>
15#include <thrift/protocol/TProtocol.h>
16#include <thrift/transport/TTransport.h>
17
18#include <functional>
19#include <memory>
20#include "fb303_types.h"
21
22
23namespace Apache { namespace Hadoop { namespace Hive {
24
26 enum type {
27 GLOBAL = 1,
28 DATABASE = 2,
29 TABLE = 3,
30 PARTITION = 4,
31 COLUMN = 5,
32 DATACONNECTOR = 6
33 };
34};
35
36extern const std::map<int, const char*> _HiveObjectType_VALUES_TO_NAMES;
37
38std::ostream& operator<<(std::ostream& out, const HiveObjectType::type& val);
39
40std::string to_string(const HiveObjectType::type& val);
41
43 enum type {
44 USER = 1,
45 ROLE = 2,
46 GROUP = 3
47 };
48};
49
50extern const std::map<int, const char*> _PrincipalType_VALUES_TO_NAMES;
51
52std::ostream& operator<<(std::ostream& out, const PrincipalType::type& val);
53
54std::string to_string(const PrincipalType::type& val);
55
57 enum type {
58 LOAD_DONE = 1
59 };
60};
61
62extern const std::map<int, const char*> _PartitionEventType_VALUES_TO_NAMES;
63
64std::ostream& operator<<(std::ostream& out, const PartitionEventType::type& val);
65
66std::string to_string(const PartitionEventType::type& val);
67
68struct TxnState {
69 enum type {
70 COMMITTED = 1,
71 ABORTED = 2,
72 OPEN = 3
73 };
74};
75
76extern const std::map<int, const char*> _TxnState_VALUES_TO_NAMES;
77
78std::ostream& operator<<(std::ostream& out, const TxnState::type& val);
79
80std::string to_string(const TxnState::type& val);
81
82struct LockLevel {
83 enum type {
84 DB = 1,
85 TABLE = 2,
86 PARTITION = 3
87 };
88};
89
90extern const std::map<int, const char*> _LockLevel_VALUES_TO_NAMES;
91
92std::ostream& operator<<(std::ostream& out, const LockLevel::type& val);
93
94std::string to_string(const LockLevel::type& val);
95
96struct LockState {
97 enum type {
98 ACQUIRED = 1,
99 WAITING = 2,
100 ABORT = 3,
101 NOT_ACQUIRED = 4
102 };
103};
104
105extern const std::map<int, const char*> _LockState_VALUES_TO_NAMES;
106
107std::ostream& operator<<(std::ostream& out, const LockState::type& val);
108
109std::string to_string(const LockState::type& val);
110
111struct LockType {
112 enum type {
113 SHARED_READ = 1,
114 SHARED_WRITE = 2,
115 EXCLUSIVE = 3,
116 EXCL_WRITE = 4
117 };
118};
119
120extern const std::map<int, const char*> _LockType_VALUES_TO_NAMES;
121
122std::ostream& operator<<(std::ostream& out, const LockType::type& val);
123
124std::string to_string(const LockType::type& val);
125
127 enum type {
128 MINOR = 1,
129 MAJOR = 2,
130 REBALANCE = 3,
131 ABORT_TXN_CLEANUP = 4
132 };
133};
134
135extern const std::map<int, const char*> _CompactionType_VALUES_TO_NAMES;
136
137std::ostream& operator<<(std::ostream& out, const CompactionType::type& val);
138
139std::string to_string(const CompactionType::type& val);
140
142 enum type {
143 GRANT = 1,
144 REVOKE = 2
145 };
146};
147
148extern const std::map<int, const char*> _GrantRevokeType_VALUES_TO_NAMES;
149
150std::ostream& operator<<(std::ostream& out, const GrantRevokeType::type& val);
151
152std::string to_string(const GrantRevokeType::type& val);
153
155 enum type {
156 SELECT = 1,
157 INSERT = 2,
158 UPDATE = 3,
159 DELETE = 4,
160 UNSET = 5,
161 NO_TXN = 6
162 };
163};
164
165extern const std::map<int, const char*> _DataOperationType_VALUES_TO_NAMES;
166
167std::ostream& operator<<(std::ostream& out, const DataOperationType::type& val);
168
169std::string to_string(const DataOperationType::type& val);
170
172 enum type {
173 INSERT = 1,
174 UPDATE = 2,
175 DELETE = 3
176 };
177};
178
179extern const std::map<int, const char*> _EventRequestType_VALUES_TO_NAMES;
180
181std::ostream& operator<<(std::ostream& out, const EventRequestType::type& val);
182
183std::string to_string(const EventRequestType::type& val);
184
185struct SerdeType {
186 enum type {
187 HIVE = 1,
188 SCHEMA_REGISTRY = 2
189 };
190};
191
192extern const std::map<int, const char*> _SerdeType_VALUES_TO_NAMES;
193
194std::ostream& operator<<(std::ostream& out, const SerdeType::type& val);
195
196std::string to_string(const SerdeType::type& val);
197
199 enum type {
200 HIVE = 1,
201 AVRO = 2
202 };
203};
204
205extern const std::map<int, const char*> _SchemaType_VALUES_TO_NAMES;
206
207std::ostream& operator<<(std::ostream& out, const SchemaType::type& val);
208
209std::string to_string(const SchemaType::type& val);
210
212 enum type {
213 NONE = 1,
214 BACKWARD = 2,
215 FORWARD = 3,
216 BOTH = 4
217 };
218};
219
220extern const std::map<int, const char*> _SchemaCompatibility_VALUES_TO_NAMES;
221
222std::ostream& operator<<(std::ostream& out, const SchemaCompatibility::type& val);
223
224std::string to_string(const SchemaCompatibility::type& val);
225
227 enum type {
228 LATEST = 1,
229 ALL = 2
230 };
231};
232
233extern const std::map<int, const char*> _SchemaValidation_VALUES_TO_NAMES;
234
235std::ostream& operator<<(std::ostream& out, const SchemaValidation::type& val);
236
237std::string to_string(const SchemaValidation::type& val);
238
240 enum type {
241 INITIATED = 1,
242 START_REVIEW = 2,
243 CHANGES_REQUIRED = 3,
244 REVIEWED = 4,
245 ENABLED = 5,
246 DISABLED = 6,
247 ARCHIVED = 7,
248 DELETED = 8
249 };
250};
251
252extern const std::map<int, const char*> _SchemaVersionState_VALUES_TO_NAMES;
253
254std::ostream& operator<<(std::ostream& out, const SchemaVersionState::type& val);
255
256std::string to_string(const SchemaVersionState::type& val);
257
259 enum type {
260 NATIVE = 1,
261 REMOTE = 2
262 };
263};
264
265extern const std::map<int, const char*> _DatabaseType_VALUES_TO_NAMES;
266
267std::ostream& operator<<(std::ostream& out, const DatabaseType::type& val);
268
269std::string to_string(const DatabaseType::type& val);
270
272 enum type {
273 JAVA = 1
274 };
275};
276
277extern const std::map<int, const char*> _FunctionType_VALUES_TO_NAMES;
278
279std::ostream& operator<<(std::ostream& out, const FunctionType::type& val);
280
281std::string to_string(const FunctionType::type& val);
282
284 enum type {
285 JAR = 1,
286 FILE = 2,
287 ARCHIVE = 3
288 };
289};
290
291extern const std::map<int, const char*> _ResourceType_VALUES_TO_NAMES;
292
293std::ostream& operator<<(std::ostream& out, const ResourceType::type& val);
294
295std::string to_string(const ResourceType::type& val);
296
297struct TxnType {
298 enum type {
299 DEFAULT = 0,
300 REPL_CREATED = 1,
301 READ_ONLY = 2,
302 COMPACTION = 3,
303 MATER_VIEW_REBUILD = 4,
304 SOFT_DELETE = 5,
305 REBALANCE_COMPACTION = 6
306 };
307};
308
309extern const std::map<int, const char*> _TxnType_VALUES_TO_NAMES;
310
311std::ostream& operator<<(std::ostream& out, const TxnType::type& val);
312
313std::string to_string(const TxnType::type& val);
314
316 enum type {
317 ACCESS_TYPE = 1,
318 PROCESSOR_CAPABILITIES = 2,
319 ALL = 2147483647
320 };
321};
322
323extern const std::map<int, const char*> _GetTablesExtRequestFields_VALUES_TO_NAMES;
324
325std::ostream& operator<<(std::ostream& out, const GetTablesExtRequestFields::type& val);
326
327std::string to_string(const GetTablesExtRequestFields::type& val);
328
330 enum type {
331 NUM_OBSOLETE_DELTAS = 0,
332 NUM_DELTAS = 1,
333 NUM_SMALL_DELTAS = 2
334 };
335};
336
337extern const std::map<int, const char*> _CompactionMetricsMetricType_VALUES_TO_NAMES;
338
339std::ostream& operator<<(std::ostream& out, const CompactionMetricsMetricType::type& val);
340
341std::string to_string(const CompactionMetricsMetricType::type& val);
342
344 enum type {
345 ORC_SARG = 1
346 };
347};
348
349extern const std::map<int, const char*> _FileMetadataExprType_VALUES_TO_NAMES;
350
351std::ostream& operator<<(std::ostream& out, const FileMetadataExprType::type& val);
352
353std::string to_string(const FileMetadataExprType::type& val);
354
356 enum type {
357 TEST_CAPABILITY = 1,
358 INSERT_ONLY_TABLES = 2
359 };
360};
361
362extern const std::map<int, const char*> _ClientCapability_VALUES_TO_NAMES;
363
364std::ostream& operator<<(std::ostream& out, const ClientCapability::type& val);
365
366std::string to_string(const ClientCapability::type& val);
367
369 enum type {
370 ACTIVE = 1,
371 ENABLED = 2,
372 DISABLED = 3
373 };
374};
375
376extern const std::map<int, const char*> _WMResourcePlanStatus_VALUES_TO_NAMES;
377
378std::ostream& operator<<(std::ostream& out, const WMResourcePlanStatus::type& val);
379
380std::string to_string(const WMResourcePlanStatus::type& val);
381
383 enum type {
384 FAIR = 1,
385 FIFO = 2
386 };
387};
388
389extern const std::map<int, const char*> _WMPoolSchedulingPolicy_VALUES_TO_NAMES;
390
391std::ostream& operator<<(std::ostream& out, const WMPoolSchedulingPolicy::type& val);
392
393std::string to_string(const WMPoolSchedulingPolicy::type& val);
394
396 enum type {
397 CREATE = 1,
398 ALTER = 2,
399 DROP = 3
400 };
401};
402
403extern const std::map<int, const char*> _ScheduledQueryMaintenanceRequestType_VALUES_TO_NAMES;
404
405std::ostream& operator<<(std::ostream& out, const ScheduledQueryMaintenanceRequestType::type& val);
406
407std::string to_string(const ScheduledQueryMaintenanceRequestType::type& val);
408
410 enum type {
411 INITED = 0,
412 EXECUTING = 1,
413 FAILED = 2,
414 FINISHED = 3,
415 TIMED_OUT = 4,
416 AUTO_DISABLED = 5
417 };
418};
419
420extern const std::map<int, const char*> _QueryState_VALUES_TO_NAMES;
421
422std::ostream& operator<<(std::ostream& out, const QueryState::type& val);
423
424std::string to_string(const QueryState::type& val);
425
427 enum type {
428 BY_NAMES = 0,
429 BY_VALUES = 1,
430 BY_EXPR = 2
431 };
432};
433
434extern const std::map<int, const char*> _PartitionFilterMode_VALUES_TO_NAMES;
435
436std::ostream& operator<<(std::ostream& out, const PartitionFilterMode::type& val);
437
438std::string to_string(const PartitionFilterMode::type& val);
439
440class Version;
441
442class FieldSchema;
443
445
446class SQLPrimaryKey;
447
448class SQLForeignKey;
449
451
453
455
457
459
460class Type;
461
463
465
467
468class HiveObjectRef;
469
471
473
474class PrivilegeBag;
475
477
479
481
483
485
486class Role;
487
489
491
493
495
497
499
501
502class Catalog;
503
505
507
509
511
513
515
516class Database;
517
518class SerDeInfo;
519
520class Order;
521
522class SkewedInfo;
523
525
526class CreationMetadata;
527
529
531
533
535
537
538class Decimal;
539
541
542class Date;
543
545
546class Timestamp;
547
549
551
553
555
556class ColumnStatistics;
557
558class FileMetadata;
559
560class ObjectDictionary;
561
562class Table;
563
564class SourceTable;
565
566class Partition;
567
569
571
573
574class PartitionSpec;
575
576class AggrStats;
577
579
581
582class Schema;
583
585
587
589
591
593
595
597
599
601
603
605
607
609
611
613
615
617
619
621
623
625
627
629
631
632class TableStatsResult;
633
635
637
639
641
643
645
647
648class RequestPartsSpec;
649
651
653
655
657
659
661
663
664class DataConnector;
665
666class ResourceUri;
667
668class Function;
669
670class TxnInfo;
671
673
675
676class OpenTxnRequest;
677
678class OpenTxnsResponse;
679
680class AbortTxnRequest;
681
682class AbortTxnsRequest;
683
685
686class WriteEventInfo;
687
688class ReplLastIdInfo;
689
691
692class CommitTxnRequest;
693
695
697
699
701
702class TxnToWriteId;
703
705
707
709
711
713
714class SeedTxnIdRequest;
715
716class LockComponent;
717
718class LockRequest;
719
720class LockResponse;
721
722class CheckLockRequest;
723
724class UnlockRequest;
725
726class ShowLocksRequest;
727
729
731
732class HeartbeatRequest;
733
735
737
739
741
743
745
747
749
751
753
755
757
759
761
763
765
767
769
771
772class BasicTxnInfo;
773
775
777
779
781
783
785
787
789
790class FireEventRequest;
791
793
795
797
799
801
803
805
807
809
811
813
815
817
819
821
823
825
827
829
830class GetTableRequest;
831
832class GetTableResult;
833
834class GetTablesRequest;
835
836class GetTablesResult;
837
839
841
842class DropTableRequest;
843
845
847
849
850class CmRecycleRequest;
851
853
854class TableMeta;
855
856class Materialization;
857
858class WMResourcePlan;
859
861
862class WMPool;
863
864class WMNullablePool;
865
866class WMTrigger;
867
868class WMMapping;
869
870class WMPoolTrigger;
871
873
875
877
879
881
883
885
887
889
891
893
895
897
899
901
903
905
907
909
911
913
915
917
919
921
923
925
927
929
931
933
935
937
939
941
942class ISchema;
943
944class ISchemaName;
945
947
948class SchemaVersion;
949
951
953
955
957
959
960class GetSerdeRequest;
961
962class RuntimeStat;
963
965
967
969
971
973
975
977
979
981
983
984class ScheduledQuery;
985
987
989
991
993
995
997
999
1000class AlterTableRequest;
1001
1002class AlterTableResponse;
1003
1005
1007
1009
1010class GetFieldsRequest;
1011
1012class GetFieldsResponse;
1013
1014class GetSchemaRequest;
1015
1016class GetSchemaResponse;
1017
1019
1021
1022class PartitionsRequest;
1023
1024class PartitionsResponse;
1025
1027
1029
1031
1033
1035
1036class ReplicationMetrics;
1037
1039
1041
1042class GetOpenTxnsRequest;
1043
1045
1047
1048class StoredProcedure;
1049
1050class AddPackageRequest;
1051
1052class GetPackageRequest;
1053
1054class DropPackageRequest;
1055
1056class ListPackageRequest;
1057
1058class Package;
1059
1061
1062class MetaException;
1063
1065
1066class UnknownDBException;
1067
1069
1071
1073
1075
1077
1079
1081
1083
1084class NoSuchTxnException;
1085
1087
1088class TxnOpenException;
1089
1091
1093
1095
1096typedef struct _Version__isset {
1097 _Version__isset() : version(false), comments(false) {}
1098 bool version :1;
1099 bool comments :1;
1101
1102class Version : public virtual ::apache::thrift::TBase {
1103 public:
1104
1105 Version(const Version&);
1106 Version& operator=(const Version&);
1107 Version() noexcept;
1108
1109 virtual ~Version() noexcept;
1110 std::string version;
1111 std::string comments;
1112
1113 _Version__isset __isset;
1114
1115 void __set_version(const std::string& val);
1116
1117 void __set_comments(const std::string& val);
1118
1119 bool operator == (const Version & rhs) const;
1120 bool operator != (const Version &rhs) const {
1121 return !(*this == rhs);
1122 }
1123
1124 bool operator < (const Version & ) const;
1125
1126 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1127 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1128
1129 virtual void printTo(std::ostream& out) const;
1130};
1131
1132void swap(Version &a, Version &b) noexcept;
1133
1134std::ostream& operator<<(std::ostream& out, const Version& obj);
1135
1136typedef struct _FieldSchema__isset {
1137 _FieldSchema__isset() : name(false), type(false), comment(false) {}
1138 bool name :1;
1139 bool type :1;
1140 bool comment :1;
1142
1143class FieldSchema : public virtual ::apache::thrift::TBase {
1144 public:
1145
1146 FieldSchema(const FieldSchema&);
1147 FieldSchema& operator=(const FieldSchema&);
1148 FieldSchema() noexcept;
1149
1150 virtual ~FieldSchema() noexcept;
1151 std::string name;
1152 std::string type;
1153 std::string comment;
1154
1155 _FieldSchema__isset __isset;
1156
1157 void __set_name(const std::string& val);
1158
1159 void __set_type(const std::string& val);
1160
1161 void __set_comment(const std::string& val);
1162
1163 bool operator == (const FieldSchema & rhs) const;
1164 bool operator != (const FieldSchema &rhs) const {
1165 return !(*this == rhs);
1166 }
1167
1168 bool operator < (const FieldSchema & ) const;
1169
1170 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1171 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1172
1173 virtual void printTo(std::ostream& out) const;
1174};
1175
1176void swap(FieldSchema &a, FieldSchema &b) noexcept;
1177
1178std::ostream& operator<<(std::ostream& out, const FieldSchema& obj);
1179
1181 _EnvironmentContext__isset() : properties(false) {}
1182 bool properties :1;
1184
1185class EnvironmentContext : public virtual ::apache::thrift::TBase {
1186 public:
1187
1189 EnvironmentContext& operator=(const EnvironmentContext&);
1190 EnvironmentContext() noexcept;
1191
1192 virtual ~EnvironmentContext() noexcept;
1193 std::map<std::string, std::string> properties;
1194
1196
1197 void __set_properties(const std::map<std::string, std::string> & val);
1198
1199 bool operator == (const EnvironmentContext & rhs) const;
1200 bool operator != (const EnvironmentContext &rhs) const {
1201 return !(*this == rhs);
1202 }
1203
1204 bool operator < (const EnvironmentContext & ) const;
1205
1206 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1207 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1208
1209 virtual void printTo(std::ostream& out) const;
1210};
1211
1212void swap(EnvironmentContext &a, EnvironmentContext &b) noexcept;
1213
1214std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj);
1215
1217 _SQLPrimaryKey__isset() : table_db(false), table_name(false), column_name(false), key_seq(false), pk_name(false), enable_cstr(false), validate_cstr(false), rely_cstr(false), catName(false) {}
1218 bool table_db :1;
1219 bool table_name :1;
1220 bool column_name :1;
1221 bool key_seq :1;
1222 bool pk_name :1;
1223 bool enable_cstr :1;
1224 bool validate_cstr :1;
1225 bool rely_cstr :1;
1226 bool catName :1;
1228
1229class SQLPrimaryKey : public virtual ::apache::thrift::TBase {
1230 public:
1231
1233 SQLPrimaryKey& operator=(const SQLPrimaryKey&);
1234 SQLPrimaryKey() noexcept;
1235
1236 virtual ~SQLPrimaryKey() noexcept;
1237 std::string table_db;
1238 std::string table_name;
1239 std::string column_name;
1240 int32_t key_seq;
1241 std::string pk_name;
1242 bool enable_cstr;
1243 bool validate_cstr;
1244 bool rely_cstr;
1245 std::string catName;
1246
1247 _SQLPrimaryKey__isset __isset;
1248
1249 void __set_table_db(const std::string& val);
1250
1251 void __set_table_name(const std::string& val);
1252
1253 void __set_column_name(const std::string& val);
1254
1255 void __set_key_seq(const int32_t val);
1256
1257 void __set_pk_name(const std::string& val);
1258
1259 void __set_enable_cstr(const bool val);
1260
1261 void __set_validate_cstr(const bool val);
1262
1263 void __set_rely_cstr(const bool val);
1264
1265 void __set_catName(const std::string& val);
1266
1267 bool operator == (const SQLPrimaryKey & rhs) const;
1268 bool operator != (const SQLPrimaryKey &rhs) const {
1269 return !(*this == rhs);
1270 }
1271
1272 bool operator < (const SQLPrimaryKey & ) const;
1273
1274 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1275 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1276
1277 virtual void printTo(std::ostream& out) const;
1278};
1279
1280void swap(SQLPrimaryKey &a, SQLPrimaryKey &b) noexcept;
1281
1282std::ostream& operator<<(std::ostream& out, const SQLPrimaryKey& obj);
1283
1285 _SQLForeignKey__isset() : pktable_db(false), pktable_name(false), pkcolumn_name(false), fktable_db(false), fktable_name(false), fkcolumn_name(false), key_seq(false), update_rule(false), delete_rule(false), fk_name(false), pk_name(false), enable_cstr(false), validate_cstr(false), rely_cstr(false), catName(false) {}
1286 bool pktable_db :1;
1287 bool pktable_name :1;
1288 bool pkcolumn_name :1;
1289 bool fktable_db :1;
1290 bool fktable_name :1;
1291 bool fkcolumn_name :1;
1292 bool key_seq :1;
1293 bool update_rule :1;
1294 bool delete_rule :1;
1295 bool fk_name :1;
1296 bool pk_name :1;
1297 bool enable_cstr :1;
1298 bool validate_cstr :1;
1299 bool rely_cstr :1;
1300 bool catName :1;
1302
1303class SQLForeignKey : public virtual ::apache::thrift::TBase {
1304 public:
1305
1307 SQLForeignKey& operator=(const SQLForeignKey&);
1308 SQLForeignKey() noexcept;
1309
1310 virtual ~SQLForeignKey() noexcept;
1311 std::string pktable_db;
1312 std::string pktable_name;
1313 std::string pkcolumn_name;
1314 std::string fktable_db;
1315 std::string fktable_name;
1316 std::string fkcolumn_name;
1317 int32_t key_seq;
1318 int32_t update_rule;
1319 int32_t delete_rule;
1320 std::string fk_name;
1321 std::string pk_name;
1322 bool enable_cstr;
1323 bool validate_cstr;
1324 bool rely_cstr;
1325 std::string catName;
1326
1327 _SQLForeignKey__isset __isset;
1328
1329 void __set_pktable_db(const std::string& val);
1330
1331 void __set_pktable_name(const std::string& val);
1332
1333 void __set_pkcolumn_name(const std::string& val);
1334
1335 void __set_fktable_db(const std::string& val);
1336
1337 void __set_fktable_name(const std::string& val);
1338
1339 void __set_fkcolumn_name(const std::string& val);
1340
1341 void __set_key_seq(const int32_t val);
1342
1343 void __set_update_rule(const int32_t val);
1344
1345 void __set_delete_rule(const int32_t val);
1346
1347 void __set_fk_name(const std::string& val);
1348
1349 void __set_pk_name(const std::string& val);
1350
1351 void __set_enable_cstr(const bool val);
1352
1353 void __set_validate_cstr(const bool val);
1354
1355 void __set_rely_cstr(const bool val);
1356
1357 void __set_catName(const std::string& val);
1358
1359 bool operator == (const SQLForeignKey & rhs) const;
1360 bool operator != (const SQLForeignKey &rhs) const {
1361 return !(*this == rhs);
1362 }
1363
1364 bool operator < (const SQLForeignKey & ) const;
1365
1366 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1367 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1368
1369 virtual void printTo(std::ostream& out) const;
1370};
1371
1372void swap(SQLForeignKey &a, SQLForeignKey &b) noexcept;
1373
1374std::ostream& operator<<(std::ostream& out, const SQLForeignKey& obj);
1375
1377 _SQLUniqueConstraint__isset() : catName(false), table_db(false), table_name(false), column_name(false), key_seq(false), uk_name(false), enable_cstr(false), validate_cstr(false), rely_cstr(false) {}
1378 bool catName :1;
1379 bool table_db :1;
1380 bool table_name :1;
1381 bool column_name :1;
1382 bool key_seq :1;
1383 bool uk_name :1;
1384 bool enable_cstr :1;
1385 bool validate_cstr :1;
1386 bool rely_cstr :1;
1388
1389class SQLUniqueConstraint : public virtual ::apache::thrift::TBase {
1390 public:
1391
1393 SQLUniqueConstraint& operator=(const SQLUniqueConstraint&);
1394 SQLUniqueConstraint() noexcept;
1395
1396 virtual ~SQLUniqueConstraint() noexcept;
1397 std::string catName;
1398 std::string table_db;
1399 std::string table_name;
1400 std::string column_name;
1401 int32_t key_seq;
1402 std::string uk_name;
1403 bool enable_cstr;
1404 bool validate_cstr;
1405 bool rely_cstr;
1406
1408
1409 void __set_catName(const std::string& val);
1410
1411 void __set_table_db(const std::string& val);
1412
1413 void __set_table_name(const std::string& val);
1414
1415 void __set_column_name(const std::string& val);
1416
1417 void __set_key_seq(const int32_t val);
1418
1419 void __set_uk_name(const std::string& val);
1420
1421 void __set_enable_cstr(const bool val);
1422
1423 void __set_validate_cstr(const bool val);
1424
1425 void __set_rely_cstr(const bool val);
1426
1427 bool operator == (const SQLUniqueConstraint & rhs) const;
1428 bool operator != (const SQLUniqueConstraint &rhs) const {
1429 return !(*this == rhs);
1430 }
1431
1432 bool operator < (const SQLUniqueConstraint & ) const;
1433
1434 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1435 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1436
1437 virtual void printTo(std::ostream& out) const;
1438};
1439
1440void swap(SQLUniqueConstraint &a, SQLUniqueConstraint &b) noexcept;
1441
1442std::ostream& operator<<(std::ostream& out, const SQLUniqueConstraint& obj);
1443
1445 _SQLNotNullConstraint__isset() : catName(false), table_db(false), table_name(false), column_name(false), nn_name(false), enable_cstr(false), validate_cstr(false), rely_cstr(false) {}
1446 bool catName :1;
1447 bool table_db :1;
1448 bool table_name :1;
1449 bool column_name :1;
1450 bool nn_name :1;
1451 bool enable_cstr :1;
1452 bool validate_cstr :1;
1453 bool rely_cstr :1;
1455
1456class SQLNotNullConstraint : public virtual ::apache::thrift::TBase {
1457 public:
1458
1460 SQLNotNullConstraint& operator=(const SQLNotNullConstraint&);
1461 SQLNotNullConstraint() noexcept;
1462
1463 virtual ~SQLNotNullConstraint() noexcept;
1464 std::string catName;
1465 std::string table_db;
1466 std::string table_name;
1467 std::string column_name;
1468 std::string nn_name;
1469 bool enable_cstr;
1470 bool validate_cstr;
1471 bool rely_cstr;
1472
1474
1475 void __set_catName(const std::string& val);
1476
1477 void __set_table_db(const std::string& val);
1478
1479 void __set_table_name(const std::string& val);
1480
1481 void __set_column_name(const std::string& val);
1482
1483 void __set_nn_name(const std::string& val);
1484
1485 void __set_enable_cstr(const bool val);
1486
1487 void __set_validate_cstr(const bool val);
1488
1489 void __set_rely_cstr(const bool val);
1490
1491 bool operator == (const SQLNotNullConstraint & rhs) const;
1492 bool operator != (const SQLNotNullConstraint &rhs) const {
1493 return !(*this == rhs);
1494 }
1495
1496 bool operator < (const SQLNotNullConstraint & ) const;
1497
1498 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1499 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1500
1501 virtual void printTo(std::ostream& out) const;
1502};
1503
1504void swap(SQLNotNullConstraint &a, SQLNotNullConstraint &b) noexcept;
1505
1506std::ostream& operator<<(std::ostream& out, const SQLNotNullConstraint& obj);
1507
1509 _SQLDefaultConstraint__isset() : catName(false), table_db(false), table_name(false), column_name(false), default_value(false), dc_name(false), enable_cstr(false), validate_cstr(false), rely_cstr(false) {}
1510 bool catName :1;
1511 bool table_db :1;
1512 bool table_name :1;
1513 bool column_name :1;
1514 bool default_value :1;
1515 bool dc_name :1;
1516 bool enable_cstr :1;
1517 bool validate_cstr :1;
1518 bool rely_cstr :1;
1520
1521class SQLDefaultConstraint : public virtual ::apache::thrift::TBase {
1522 public:
1523
1525 SQLDefaultConstraint& operator=(const SQLDefaultConstraint&);
1526 SQLDefaultConstraint() noexcept;
1527
1528 virtual ~SQLDefaultConstraint() noexcept;
1529 std::string catName;
1530 std::string table_db;
1531 std::string table_name;
1532 std::string column_name;
1533 std::string default_value;
1534 std::string dc_name;
1535 bool enable_cstr;
1536 bool validate_cstr;
1537 bool rely_cstr;
1538
1540
1541 void __set_catName(const std::string& val);
1542
1543 void __set_table_db(const std::string& val);
1544
1545 void __set_table_name(const std::string& val);
1546
1547 void __set_column_name(const std::string& val);
1548
1549 void __set_default_value(const std::string& val);
1550
1551 void __set_dc_name(const std::string& val);
1552
1553 void __set_enable_cstr(const bool val);
1554
1555 void __set_validate_cstr(const bool val);
1556
1557 void __set_rely_cstr(const bool val);
1558
1559 bool operator == (const SQLDefaultConstraint & rhs) const;
1560 bool operator != (const SQLDefaultConstraint &rhs) const {
1561 return !(*this == rhs);
1562 }
1563
1564 bool operator < (const SQLDefaultConstraint & ) const;
1565
1566 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1567 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1568
1569 virtual void printTo(std::ostream& out) const;
1570};
1571
1572void swap(SQLDefaultConstraint &a, SQLDefaultConstraint &b) noexcept;
1573
1574std::ostream& operator<<(std::ostream& out, const SQLDefaultConstraint& obj);
1575
1577 _SQLCheckConstraint__isset() : catName(false), table_db(false), table_name(false), column_name(false), check_expression(false), dc_name(false), enable_cstr(false), validate_cstr(false), rely_cstr(false) {}
1578 bool catName :1;
1579 bool table_db :1;
1580 bool table_name :1;
1581 bool column_name :1;
1582 bool check_expression :1;
1583 bool dc_name :1;
1584 bool enable_cstr :1;
1585 bool validate_cstr :1;
1586 bool rely_cstr :1;
1588
1589class SQLCheckConstraint : public virtual ::apache::thrift::TBase {
1590 public:
1591
1593 SQLCheckConstraint& operator=(const SQLCheckConstraint&);
1594 SQLCheckConstraint() noexcept;
1595
1596 virtual ~SQLCheckConstraint() noexcept;
1597 std::string catName;
1598 std::string table_db;
1599 std::string table_name;
1600 std::string column_name;
1601 std::string check_expression;
1602 std::string dc_name;
1603 bool enable_cstr;
1604 bool validate_cstr;
1605 bool rely_cstr;
1606
1608
1609 void __set_catName(const std::string& val);
1610
1611 void __set_table_db(const std::string& val);
1612
1613 void __set_table_name(const std::string& val);
1614
1615 void __set_column_name(const std::string& val);
1616
1617 void __set_check_expression(const std::string& val);
1618
1619 void __set_dc_name(const std::string& val);
1620
1621 void __set_enable_cstr(const bool val);
1622
1623 void __set_validate_cstr(const bool val);
1624
1625 void __set_rely_cstr(const bool val);
1626
1627 bool operator == (const SQLCheckConstraint & rhs) const;
1628 bool operator != (const SQLCheckConstraint &rhs) const {
1629 return !(*this == rhs);
1630 }
1631
1632 bool operator < (const SQLCheckConstraint & ) const;
1633
1634 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1635 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1636
1637 virtual void printTo(std::ostream& out) const;
1638};
1639
1640void swap(SQLCheckConstraint &a, SQLCheckConstraint &b) noexcept;
1641
1642std::ostream& operator<<(std::ostream& out, const SQLCheckConstraint& obj);
1643
1645 _SQLAllTableConstraints__isset() : primaryKeys(false), foreignKeys(false), uniqueConstraints(false), notNullConstraints(false), defaultConstraints(false), checkConstraints(false) {}
1646 bool primaryKeys :1;
1647 bool foreignKeys :1;
1648 bool uniqueConstraints :1;
1649 bool notNullConstraints :1;
1650 bool defaultConstraints :1;
1651 bool checkConstraints :1;
1653
1654class SQLAllTableConstraints : public virtual ::apache::thrift::TBase {
1655 public:
1656
1659 SQLAllTableConstraints() noexcept;
1660
1661 virtual ~SQLAllTableConstraints() noexcept;
1662 std::vector<SQLPrimaryKey> primaryKeys;
1663 std::vector<SQLForeignKey> foreignKeys;
1664 std::vector<SQLUniqueConstraint> uniqueConstraints;
1665 std::vector<SQLNotNullConstraint> notNullConstraints;
1666 std::vector<SQLDefaultConstraint> defaultConstraints;
1667 std::vector<SQLCheckConstraint> checkConstraints;
1668
1670
1671 void __set_primaryKeys(const std::vector<SQLPrimaryKey> & val);
1672
1673 void __set_foreignKeys(const std::vector<SQLForeignKey> & val);
1674
1675 void __set_uniqueConstraints(const std::vector<SQLUniqueConstraint> & val);
1676
1677 void __set_notNullConstraints(const std::vector<SQLNotNullConstraint> & val);
1678
1679 void __set_defaultConstraints(const std::vector<SQLDefaultConstraint> & val);
1680
1681 void __set_checkConstraints(const std::vector<SQLCheckConstraint> & val);
1682
1683 bool operator == (const SQLAllTableConstraints & rhs) const;
1684 bool operator != (const SQLAllTableConstraints &rhs) const {
1685 return !(*this == rhs);
1686 }
1687
1688 bool operator < (const SQLAllTableConstraints & ) const;
1689
1690 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1691 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1692
1693 virtual void printTo(std::ostream& out) const;
1694};
1695
1696void swap(SQLAllTableConstraints &a, SQLAllTableConstraints &b) noexcept;
1697
1698std::ostream& operator<<(std::ostream& out, const SQLAllTableConstraints& obj);
1699
1700typedef struct _Type__isset {
1701 _Type__isset() : name(false), type1(false), type2(false), fields(false) {}
1702 bool name :1;
1703 bool type1 :1;
1704 bool type2 :1;
1705 bool fields :1;
1706} _Type__isset;
1707
1708class Type : public virtual ::apache::thrift::TBase {
1709 public:
1710
1711 Type(const Type&);
1712 Type& operator=(const Type&);
1713 Type() noexcept;
1714
1715 virtual ~Type() noexcept;
1716 std::string name;
1717 std::string type1;
1718 std::string type2;
1719 std::vector<FieldSchema> fields;
1720
1721 _Type__isset __isset;
1722
1723 void __set_name(const std::string& val);
1724
1725 void __set_type1(const std::string& val);
1726
1727 void __set_type2(const std::string& val);
1728
1729 void __set_fields(const std::vector<FieldSchema> & val);
1730
1731 bool operator == (const Type & rhs) const;
1732 bool operator != (const Type &rhs) const {
1733 return !(*this == rhs);
1734 }
1735
1736 bool operator < (const Type & ) const;
1737
1738 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1739 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1740
1741 virtual void printTo(std::ostream& out) const;
1742};
1743
1744void swap(Type &a, Type &b) noexcept;
1745
1746std::ostream& operator<<(std::ostream& out, const Type& obj);
1747
1749 _PropertySetRequest__isset() : propertyMap(false) {}
1750 bool propertyMap :1;
1752
1753class PropertySetRequest : public virtual ::apache::thrift::TBase {
1754 public:
1755
1757 PropertySetRequest& operator=(const PropertySetRequest&);
1758 PropertySetRequest() noexcept;
1759
1760 virtual ~PropertySetRequest() noexcept;
1761 std::string nameSpace;
1762 std::map<std::string, std::string> propertyMap;
1763
1765
1766 void __set_nameSpace(const std::string& val);
1767
1768 void __set_propertyMap(const std::map<std::string, std::string> & val);
1769
1770 bool operator == (const PropertySetRequest & rhs) const;
1771 bool operator != (const PropertySetRequest &rhs) const {
1772 return !(*this == rhs);
1773 }
1774
1775 bool operator < (const PropertySetRequest & ) const;
1776
1777 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1778 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1779
1780 virtual void printTo(std::ostream& out) const;
1781};
1782
1783void swap(PropertySetRequest &a, PropertySetRequest &b) noexcept;
1784
1785std::ostream& operator<<(std::ostream& out, const PropertySetRequest& obj);
1786
1788 _PropertyGetRequest__isset() : mapPrefix(false), mapPredicate(false), mapSelection(false) {}
1789 bool mapPrefix :1;
1790 bool mapPredicate :1;
1791 bool mapSelection :1;
1793
1794class PropertyGetRequest : public virtual ::apache::thrift::TBase {
1795 public:
1796
1798 PropertyGetRequest& operator=(const PropertyGetRequest&);
1799 PropertyGetRequest() noexcept;
1800
1801 virtual ~PropertyGetRequest() noexcept;
1802 std::string nameSpace;
1803 std::string mapPrefix;
1804 std::string mapPredicate;
1805 std::vector<std::string> mapSelection;
1806
1808
1809 void __set_nameSpace(const std::string& val);
1810
1811 void __set_mapPrefix(const std::string& val);
1812
1813 void __set_mapPredicate(const std::string& val);
1814
1815 void __set_mapSelection(const std::vector<std::string> & val);
1816
1817 bool operator == (const PropertyGetRequest & rhs) const;
1818 bool operator != (const PropertyGetRequest &rhs) const {
1819 return !(*this == rhs);
1820 }
1821
1822 bool operator < (const PropertyGetRequest & ) const;
1823
1824 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1825 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1826
1827 virtual void printTo(std::ostream& out) const;
1828};
1829
1830void swap(PropertyGetRequest &a, PropertyGetRequest &b) noexcept;
1831
1832std::ostream& operator<<(std::ostream& out, const PropertyGetRequest& obj);
1833
1835 _PropertyGetResponse__isset() : properties(false) {}
1836 bool properties :1;
1838
1839class PropertyGetResponse : public virtual ::apache::thrift::TBase {
1840 public:
1841
1843 PropertyGetResponse& operator=(const PropertyGetResponse&);
1844 PropertyGetResponse() noexcept;
1845
1846 virtual ~PropertyGetResponse() noexcept;
1847 std::map<std::string, std::map<std::string, std::string> > properties;
1848
1850
1851 void __set_properties(const std::map<std::string, std::map<std::string, std::string> > & val);
1852
1853 bool operator == (const PropertyGetResponse & rhs) const;
1854 bool operator != (const PropertyGetResponse &rhs) const {
1855 return !(*this == rhs);
1856 }
1857
1858 bool operator < (const PropertyGetResponse & ) const;
1859
1860 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1861 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1862
1863 virtual void printTo(std::ostream& out) const;
1864};
1865
1866void swap(PropertyGetResponse &a, PropertyGetResponse &b) noexcept;
1867
1868std::ostream& operator<<(std::ostream& out, const PropertyGetResponse& obj);
1869
1871 _HiveObjectRef__isset() : objectType(false), dbName(false), objectName(false), partValues(false), columnName(false), catName(false) {}
1872 bool objectType :1;
1873 bool dbName :1;
1874 bool objectName :1;
1875 bool partValues :1;
1876 bool columnName :1;
1877 bool catName :1;
1879
1880class HiveObjectRef : public virtual ::apache::thrift::TBase {
1881 public:
1882
1884 HiveObjectRef& operator=(const HiveObjectRef&);
1885 HiveObjectRef() noexcept;
1886
1887 virtual ~HiveObjectRef() noexcept;
1892 HiveObjectType::type objectType;
1893 std::string dbName;
1894 std::string objectName;
1895 std::vector<std::string> partValues;
1896 std::string columnName;
1897 std::string catName;
1898
1899 _HiveObjectRef__isset __isset;
1900
1901 void __set_objectType(const HiveObjectType::type val);
1902
1903 void __set_dbName(const std::string& val);
1904
1905 void __set_objectName(const std::string& val);
1906
1907 void __set_partValues(const std::vector<std::string> & val);
1908
1909 void __set_columnName(const std::string& val);
1910
1911 void __set_catName(const std::string& val);
1912
1913 bool operator == (const HiveObjectRef & rhs) const;
1914 bool operator != (const HiveObjectRef &rhs) const {
1915 return !(*this == rhs);
1916 }
1917
1918 bool operator < (const HiveObjectRef & ) const;
1919
1920 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1921 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1922
1923 virtual void printTo(std::ostream& out) const;
1924};
1925
1926void swap(HiveObjectRef &a, HiveObjectRef &b) noexcept;
1927
1928std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj);
1929
1931 _PrivilegeGrantInfo__isset() : privilege(false), createTime(false), grantor(false), grantorType(false), grantOption(false) {}
1932 bool privilege :1;
1933 bool createTime :1;
1934 bool grantor :1;
1935 bool grantorType :1;
1936 bool grantOption :1;
1938
1939class PrivilegeGrantInfo : public virtual ::apache::thrift::TBase {
1940 public:
1941
1943 PrivilegeGrantInfo& operator=(const PrivilegeGrantInfo&);
1944 PrivilegeGrantInfo() noexcept;
1945
1946 virtual ~PrivilegeGrantInfo() noexcept;
1947 std::string privilege;
1948 int32_t createTime;
1949 std::string grantor;
1954 PrincipalType::type grantorType;
1955 bool grantOption;
1956
1958
1959 void __set_privilege(const std::string& val);
1960
1961 void __set_createTime(const int32_t val);
1962
1963 void __set_grantor(const std::string& val);
1964
1965 void __set_grantorType(const PrincipalType::type val);
1966
1967 void __set_grantOption(const bool val);
1968
1969 bool operator == (const PrivilegeGrantInfo & rhs) const;
1970 bool operator != (const PrivilegeGrantInfo &rhs) const {
1971 return !(*this == rhs);
1972 }
1973
1974 bool operator < (const PrivilegeGrantInfo & ) const;
1975
1976 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
1977 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
1978
1979 virtual void printTo(std::ostream& out) const;
1980};
1981
1982void swap(PrivilegeGrantInfo &a, PrivilegeGrantInfo &b) noexcept;
1983
1984std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj);
1985
1987 _HiveObjectPrivilege__isset() : hiveObject(false), principalName(false), principalType(false), grantInfo(false), authorizer(false) {}
1988 bool hiveObject :1;
1989 bool principalName :1;
1990 bool principalType :1;
1991 bool grantInfo :1;
1992 bool authorizer :1;
1994
1995class HiveObjectPrivilege : public virtual ::apache::thrift::TBase {
1996 public:
1997
1999 HiveObjectPrivilege& operator=(const HiveObjectPrivilege&);
2000 HiveObjectPrivilege() noexcept;
2001
2002 virtual ~HiveObjectPrivilege() noexcept;
2003 HiveObjectRef hiveObject;
2004 std::string principalName;
2009 PrincipalType::type principalType;
2010 PrivilegeGrantInfo grantInfo;
2011 std::string authorizer;
2012
2014
2015 void __set_hiveObject(const HiveObjectRef& val);
2016
2017 void __set_principalName(const std::string& val);
2018
2019 void __set_principalType(const PrincipalType::type val);
2020
2021 void __set_grantInfo(const PrivilegeGrantInfo& val);
2022
2023 void __set_authorizer(const std::string& val);
2024
2025 bool operator == (const HiveObjectPrivilege & rhs) const;
2026 bool operator != (const HiveObjectPrivilege &rhs) const {
2027 return !(*this == rhs);
2028 }
2029
2030 bool operator < (const HiveObjectPrivilege & ) const;
2031
2032 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2033 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2034
2035 virtual void printTo(std::ostream& out) const;
2036};
2037
2038void swap(HiveObjectPrivilege &a, HiveObjectPrivilege &b) noexcept;
2039
2040std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj);
2041
2042typedef struct _PrivilegeBag__isset {
2043 _PrivilegeBag__isset() : privileges(false) {}
2044 bool privileges :1;
2046
2047class PrivilegeBag : public virtual ::apache::thrift::TBase {
2048 public:
2049
2050 PrivilegeBag(const PrivilegeBag&);
2051 PrivilegeBag& operator=(const PrivilegeBag&);
2052 PrivilegeBag() noexcept;
2053
2054 virtual ~PrivilegeBag() noexcept;
2055 std::vector<HiveObjectPrivilege> privileges;
2056
2057 _PrivilegeBag__isset __isset;
2058
2059 void __set_privileges(const std::vector<HiveObjectPrivilege> & val);
2060
2061 bool operator == (const PrivilegeBag & rhs) const;
2062 bool operator != (const PrivilegeBag &rhs) const {
2063 return !(*this == rhs);
2064 }
2065
2066 bool operator < (const PrivilegeBag & ) const;
2067
2068 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2069 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2070
2071 virtual void printTo(std::ostream& out) const;
2072};
2073
2074void swap(PrivilegeBag &a, PrivilegeBag &b) noexcept;
2075
2076std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj);
2077
2079 _PrincipalPrivilegeSet__isset() : userPrivileges(false), groupPrivileges(false), rolePrivileges(false) {}
2080 bool userPrivileges :1;
2081 bool groupPrivileges :1;
2082 bool rolePrivileges :1;
2084
2085class PrincipalPrivilegeSet : public virtual ::apache::thrift::TBase {
2086 public:
2087
2090 PrincipalPrivilegeSet() noexcept;
2091
2092 virtual ~PrincipalPrivilegeSet() noexcept;
2093 std::map<std::string, std::vector<PrivilegeGrantInfo> > userPrivileges;
2094 std::map<std::string, std::vector<PrivilegeGrantInfo> > groupPrivileges;
2095 std::map<std::string, std::vector<PrivilegeGrantInfo> > rolePrivileges;
2096
2098
2099 void __set_userPrivileges(const std::map<std::string, std::vector<PrivilegeGrantInfo> > & val);
2100
2101 void __set_groupPrivileges(const std::map<std::string, std::vector<PrivilegeGrantInfo> > & val);
2102
2103 void __set_rolePrivileges(const std::map<std::string, std::vector<PrivilegeGrantInfo> > & val);
2104
2105 bool operator == (const PrincipalPrivilegeSet & rhs) const;
2106 bool operator != (const PrincipalPrivilegeSet &rhs) const {
2107 return !(*this == rhs);
2108 }
2109
2110 bool operator < (const PrincipalPrivilegeSet & ) const;
2111
2112 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2113 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2114
2115 virtual void printTo(std::ostream& out) const;
2116};
2117
2118void swap(PrincipalPrivilegeSet &a, PrincipalPrivilegeSet &b) noexcept;
2119
2120std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj);
2121
2123 _GrantRevokePrivilegeRequest__isset() : requestType(false), privileges(false), revokeGrantOption(false) {}
2124 bool requestType :1;
2125 bool privileges :1;
2126 bool revokeGrantOption :1;
2128
2129class GrantRevokePrivilegeRequest : public virtual ::apache::thrift::TBase {
2130 public:
2131
2134 GrantRevokePrivilegeRequest() noexcept;
2135
2136 virtual ~GrantRevokePrivilegeRequest() noexcept;
2141 GrantRevokeType::type requestType;
2142 PrivilegeBag privileges;
2143 bool revokeGrantOption;
2144
2146
2147 void __set_requestType(const GrantRevokeType::type val);
2148
2149 void __set_privileges(const PrivilegeBag& val);
2150
2151 void __set_revokeGrantOption(const bool val);
2152
2153 bool operator == (const GrantRevokePrivilegeRequest & rhs) const;
2154 bool operator != (const GrantRevokePrivilegeRequest &rhs) const {
2155 return !(*this == rhs);
2156 }
2157
2158 bool operator < (const GrantRevokePrivilegeRequest & ) const;
2159
2160 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2161 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2162
2163 virtual void printTo(std::ostream& out) const;
2164};
2165
2166void swap(GrantRevokePrivilegeRequest &a, GrantRevokePrivilegeRequest &b) noexcept;
2167
2168std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj);
2169
2171 _GrantRevokePrivilegeResponse__isset() : success(false) {}
2172 bool success :1;
2174
2175class GrantRevokePrivilegeResponse : public virtual ::apache::thrift::TBase {
2176 public:
2177
2181
2182 virtual ~GrantRevokePrivilegeResponse() noexcept;
2183 bool success;
2184
2186
2187 void __set_success(const bool val);
2188
2189 bool operator == (const GrantRevokePrivilegeResponse & rhs) const;
2190 bool operator != (const GrantRevokePrivilegeResponse &rhs) const {
2191 return !(*this == rhs);
2192 }
2193
2194 bool operator < (const GrantRevokePrivilegeResponse & ) const;
2195
2196 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2197 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2198
2199 virtual void printTo(std::ostream& out) const;
2200};
2201
2203
2204std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj);
2205
2207 _TruncateTableRequest__isset() : partNames(false), writeId(true), validWriteIdList(false), environmentContext(false) {}
2208 bool partNames :1;
2209 bool writeId :1;
2210 bool validWriteIdList :1;
2211 bool environmentContext :1;
2213
2214class TruncateTableRequest : public virtual ::apache::thrift::TBase {
2215 public:
2216
2218 TruncateTableRequest& operator=(const TruncateTableRequest&);
2219 TruncateTableRequest() noexcept;
2220
2221 virtual ~TruncateTableRequest() noexcept;
2222 std::string dbName;
2223 std::string tableName;
2224 std::vector<std::string> partNames;
2225 int64_t writeId;
2226 std::string validWriteIdList;
2227 EnvironmentContext environmentContext;
2228
2230
2231 void __set_dbName(const std::string& val);
2232
2233 void __set_tableName(const std::string& val);
2234
2235 void __set_partNames(const std::vector<std::string> & val);
2236
2237 void __set_writeId(const int64_t val);
2238
2239 void __set_validWriteIdList(const std::string& val);
2240
2241 void __set_environmentContext(const EnvironmentContext& val);
2242
2243 bool operator == (const TruncateTableRequest & rhs) const;
2244 bool operator != (const TruncateTableRequest &rhs) const {
2245 return !(*this == rhs);
2246 }
2247
2248 bool operator < (const TruncateTableRequest & ) const;
2249
2250 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2251 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2252
2253 virtual void printTo(std::ostream& out) const;
2254};
2255
2256void swap(TruncateTableRequest &a, TruncateTableRequest &b) noexcept;
2257
2258std::ostream& operator<<(std::ostream& out, const TruncateTableRequest& obj);
2259
2260
2261class TruncateTableResponse : public virtual ::apache::thrift::TBase {
2262 public:
2263
2265 TruncateTableResponse& operator=(const TruncateTableResponse&) noexcept;
2266 TruncateTableResponse() noexcept;
2267
2268 virtual ~TruncateTableResponse() noexcept;
2269
2270 bool operator == (const TruncateTableResponse & /* rhs */) const;
2271 bool operator != (const TruncateTableResponse &rhs) const {
2272 return !(*this == rhs);
2273 }
2274
2275 bool operator < (const TruncateTableResponse & ) const;
2276
2277 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2278 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2279
2280 virtual void printTo(std::ostream& out) const;
2281};
2282
2283void swap(TruncateTableResponse &a, TruncateTableResponse &b) noexcept;
2284
2285std::ostream& operator<<(std::ostream& out, const TruncateTableResponse& obj);
2286
2287typedef struct _Role__isset {
2288 _Role__isset() : roleName(false), createTime(false), ownerName(false) {}
2289 bool roleName :1;
2290 bool createTime :1;
2291 bool ownerName :1;
2292} _Role__isset;
2293
2294class Role : public virtual ::apache::thrift::TBase {
2295 public:
2296
2297 Role(const Role&);
2298 Role& operator=(const Role&);
2299 Role() noexcept;
2300
2301 virtual ~Role() noexcept;
2302 std::string roleName;
2303 int32_t createTime;
2304 std::string ownerName;
2305
2306 _Role__isset __isset;
2307
2308 void __set_roleName(const std::string& val);
2309
2310 void __set_createTime(const int32_t val);
2311
2312 void __set_ownerName(const std::string& val);
2313
2314 bool operator == (const Role & rhs) const;
2315 bool operator != (const Role &rhs) const {
2316 return !(*this == rhs);
2317 }
2318
2319 bool operator < (const Role & ) const;
2320
2321 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2322 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2323
2324 virtual void printTo(std::ostream& out) const;
2325};
2326
2327void swap(Role &a, Role &b) noexcept;
2328
2329std::ostream& operator<<(std::ostream& out, const Role& obj);
2330
2332 _RolePrincipalGrant__isset() : roleName(false), principalName(false), principalType(false), grantOption(false), grantTime(false), grantorName(false), grantorPrincipalType(false) {}
2333 bool roleName :1;
2334 bool principalName :1;
2335 bool principalType :1;
2336 bool grantOption :1;
2337 bool grantTime :1;
2338 bool grantorName :1;
2339 bool grantorPrincipalType :1;
2341
2342class RolePrincipalGrant : public virtual ::apache::thrift::TBase {
2343 public:
2344
2346 RolePrincipalGrant& operator=(const RolePrincipalGrant&);
2347 RolePrincipalGrant() noexcept;
2348
2349 virtual ~RolePrincipalGrant() noexcept;
2350 std::string roleName;
2351 std::string principalName;
2356 PrincipalType::type principalType;
2357 bool grantOption;
2358 int32_t grantTime;
2359 std::string grantorName;
2364 PrincipalType::type grantorPrincipalType;
2365
2367
2368 void __set_roleName(const std::string& val);
2369
2370 void __set_principalName(const std::string& val);
2371
2372 void __set_principalType(const PrincipalType::type val);
2373
2374 void __set_grantOption(const bool val);
2375
2376 void __set_grantTime(const int32_t val);
2377
2378 void __set_grantorName(const std::string& val);
2379
2380 void __set_grantorPrincipalType(const PrincipalType::type val);
2381
2382 bool operator == (const RolePrincipalGrant & rhs) const;
2383 bool operator != (const RolePrincipalGrant &rhs) const {
2384 return !(*this == rhs);
2385 }
2386
2387 bool operator < (const RolePrincipalGrant & ) const;
2388
2389 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2390 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2391
2392 virtual void printTo(std::ostream& out) const;
2393};
2394
2395void swap(RolePrincipalGrant &a, RolePrincipalGrant &b) noexcept;
2396
2397std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj);
2398
2399
2400class GetRoleGrantsForPrincipalRequest : public virtual ::apache::thrift::TBase {
2401 public:
2402
2406
2407 virtual ~GetRoleGrantsForPrincipalRequest() noexcept;
2408 std::string principal_name;
2413 PrincipalType::type principal_type;
2414
2415 void __set_principal_name(const std::string& val);
2416
2417 void __set_principal_type(const PrincipalType::type val);
2418
2419 bool operator == (const GetRoleGrantsForPrincipalRequest & rhs) const;
2420 bool operator != (const GetRoleGrantsForPrincipalRequest &rhs) const {
2421 return !(*this == rhs);
2422 }
2423
2424 bool operator < (const GetRoleGrantsForPrincipalRequest & ) const;
2425
2426 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2427 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2428
2429 virtual void printTo(std::ostream& out) const;
2430};
2431
2432void swap(GetRoleGrantsForPrincipalRequest &a, GetRoleGrantsForPrincipalRequest &b) noexcept;
2433
2434std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj);
2435
2436
2437class GetRoleGrantsForPrincipalResponse : public virtual ::apache::thrift::TBase {
2438 public:
2439
2443
2444 virtual ~GetRoleGrantsForPrincipalResponse() noexcept;
2445 std::vector<RolePrincipalGrant> principalGrants;
2446
2447 void __set_principalGrants(const std::vector<RolePrincipalGrant> & val);
2448
2449 bool operator == (const GetRoleGrantsForPrincipalResponse & rhs) const;
2450 bool operator != (const GetRoleGrantsForPrincipalResponse &rhs) const {
2451 return !(*this == rhs);
2452 }
2453
2454 bool operator < (const GetRoleGrantsForPrincipalResponse & ) const;
2455
2456 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2457 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2458
2459 virtual void printTo(std::ostream& out) const;
2460};
2461
2463
2464std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj);
2465
2466
2467class GetPrincipalsInRoleRequest : public virtual ::apache::thrift::TBase {
2468 public:
2469
2472 GetPrincipalsInRoleRequest() noexcept;
2473
2474 virtual ~GetPrincipalsInRoleRequest() noexcept;
2475 std::string roleName;
2476
2477 void __set_roleName(const std::string& val);
2478
2479 bool operator == (const GetPrincipalsInRoleRequest & rhs) const;
2480 bool operator != (const GetPrincipalsInRoleRequest &rhs) const {
2481 return !(*this == rhs);
2482 }
2483
2484 bool operator < (const GetPrincipalsInRoleRequest & ) const;
2485
2486 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2487 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2488
2489 virtual void printTo(std::ostream& out) const;
2490};
2491
2493
2494std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj);
2495
2496
2497class GetPrincipalsInRoleResponse : public virtual ::apache::thrift::TBase {
2498 public:
2499
2502 GetPrincipalsInRoleResponse() noexcept;
2503
2504 virtual ~GetPrincipalsInRoleResponse() noexcept;
2505 std::vector<RolePrincipalGrant> principalGrants;
2506
2507 void __set_principalGrants(const std::vector<RolePrincipalGrant> & val);
2508
2509 bool operator == (const GetPrincipalsInRoleResponse & rhs) const;
2510 bool operator != (const GetPrincipalsInRoleResponse &rhs) const {
2511 return !(*this == rhs);
2512 }
2513
2514 bool operator < (const GetPrincipalsInRoleResponse & ) const;
2515
2516 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2517 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2518
2519 virtual void printTo(std::ostream& out) const;
2520};
2521
2523
2524std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj);
2525
2527 _GrantRevokeRoleRequest__isset() : requestType(false), roleName(false), principalName(false), principalType(false), grantor(false), grantorType(false), grantOption(false) {}
2528 bool requestType :1;
2529 bool roleName :1;
2530 bool principalName :1;
2531 bool principalType :1;
2532 bool grantor :1;
2533 bool grantorType :1;
2534 bool grantOption :1;
2536
2537class GrantRevokeRoleRequest : public virtual ::apache::thrift::TBase {
2538 public:
2539
2542 GrantRevokeRoleRequest() noexcept;
2543
2544 virtual ~GrantRevokeRoleRequest() noexcept;
2549 GrantRevokeType::type requestType;
2550 std::string roleName;
2551 std::string principalName;
2556 PrincipalType::type principalType;
2557 std::string grantor;
2562 PrincipalType::type grantorType;
2563 bool grantOption;
2564
2566
2567 void __set_requestType(const GrantRevokeType::type val);
2568
2569 void __set_roleName(const std::string& val);
2570
2571 void __set_principalName(const std::string& val);
2572
2573 void __set_principalType(const PrincipalType::type val);
2574
2575 void __set_grantor(const std::string& val);
2576
2577 void __set_grantorType(const PrincipalType::type val);
2578
2579 void __set_grantOption(const bool val);
2580
2581 bool operator == (const GrantRevokeRoleRequest & rhs) const;
2582 bool operator != (const GrantRevokeRoleRequest &rhs) const {
2583 return !(*this == rhs);
2584 }
2585
2586 bool operator < (const GrantRevokeRoleRequest & ) const;
2587
2588 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2589 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2590
2591 virtual void printTo(std::ostream& out) const;
2592};
2593
2594void swap(GrantRevokeRoleRequest &a, GrantRevokeRoleRequest &b) noexcept;
2595
2596std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj);
2597
2599 _GrantRevokeRoleResponse__isset() : success(false) {}
2600 bool success :1;
2602
2603class GrantRevokeRoleResponse : public virtual ::apache::thrift::TBase {
2604 public:
2605
2607 GrantRevokeRoleResponse& operator=(const GrantRevokeRoleResponse&) noexcept;
2608 GrantRevokeRoleResponse() noexcept;
2609
2610 virtual ~GrantRevokeRoleResponse() noexcept;
2611 bool success;
2612
2614
2615 void __set_success(const bool val);
2616
2617 bool operator == (const GrantRevokeRoleResponse & rhs) const;
2618 bool operator != (const GrantRevokeRoleResponse &rhs) const {
2619 return !(*this == rhs);
2620 }
2621
2622 bool operator < (const GrantRevokeRoleResponse & ) const;
2623
2624 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2625 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2626
2627 virtual void printTo(std::ostream& out) const;
2628};
2629
2630void swap(GrantRevokeRoleResponse &a, GrantRevokeRoleResponse &b) noexcept;
2631
2632std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj);
2633
2634typedef struct _Catalog__isset {
2635 _Catalog__isset() : name(false), description(false), locationUri(false), createTime(false) {}
2636 bool name :1;
2637 bool description :1;
2638 bool locationUri :1;
2639 bool createTime :1;
2641
2642class Catalog : public virtual ::apache::thrift::TBase {
2643 public:
2644
2645 Catalog(const Catalog&);
2646 Catalog& operator=(const Catalog&);
2647 Catalog() noexcept;
2648
2649 virtual ~Catalog() noexcept;
2650 std::string name;
2651 std::string description;
2652 std::string locationUri;
2653 int32_t createTime;
2654
2655 _Catalog__isset __isset;
2656
2657 void __set_name(const std::string& val);
2658
2659 void __set_description(const std::string& val);
2660
2661 void __set_locationUri(const std::string& val);
2662
2663 void __set_createTime(const int32_t val);
2664
2665 bool operator == (const Catalog & rhs) const;
2666 bool operator != (const Catalog &rhs) const {
2667 return !(*this == rhs);
2668 }
2669
2670 bool operator < (const Catalog & ) const;
2671
2672 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2673 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2674
2675 virtual void printTo(std::ostream& out) const;
2676};
2677
2678void swap(Catalog &a, Catalog &b) noexcept;
2679
2680std::ostream& operator<<(std::ostream& out, const Catalog& obj);
2681
2683 _CreateCatalogRequest__isset() : catalog(false) {}
2684 bool catalog :1;
2686
2687class CreateCatalogRequest : public virtual ::apache::thrift::TBase {
2688 public:
2689
2691 CreateCatalogRequest& operator=(const CreateCatalogRequest&);
2692 CreateCatalogRequest() noexcept;
2693
2694 virtual ~CreateCatalogRequest() noexcept;
2695 Catalog catalog;
2696
2698
2699 void __set_catalog(const Catalog& val);
2700
2701 bool operator == (const CreateCatalogRequest & rhs) const;
2702 bool operator != (const CreateCatalogRequest &rhs) const {
2703 return !(*this == rhs);
2704 }
2705
2706 bool operator < (const CreateCatalogRequest & ) const;
2707
2708 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2709 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2710
2711 virtual void printTo(std::ostream& out) const;
2712};
2713
2714void swap(CreateCatalogRequest &a, CreateCatalogRequest &b) noexcept;
2715
2716std::ostream& operator<<(std::ostream& out, const CreateCatalogRequest& obj);
2717
2719 _AlterCatalogRequest__isset() : name(false), newCat(false) {}
2720 bool name :1;
2721 bool newCat :1;
2723
2724class AlterCatalogRequest : public virtual ::apache::thrift::TBase {
2725 public:
2726
2728 AlterCatalogRequest& operator=(const AlterCatalogRequest&);
2729 AlterCatalogRequest() noexcept;
2730
2731 virtual ~AlterCatalogRequest() noexcept;
2732 std::string name;
2733 Catalog newCat;
2734
2736
2737 void __set_name(const std::string& val);
2738
2739 void __set_newCat(const Catalog& val);
2740
2741 bool operator == (const AlterCatalogRequest & rhs) const;
2742 bool operator != (const AlterCatalogRequest &rhs) const {
2743 return !(*this == rhs);
2744 }
2745
2746 bool operator < (const AlterCatalogRequest & ) const;
2747
2748 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2749 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2750
2751 virtual void printTo(std::ostream& out) const;
2752};
2753
2754void swap(AlterCatalogRequest &a, AlterCatalogRequest &b) noexcept;
2755
2756std::ostream& operator<<(std::ostream& out, const AlterCatalogRequest& obj);
2757
2759 _GetCatalogRequest__isset() : name(false) {}
2760 bool name :1;
2762
2763class GetCatalogRequest : public virtual ::apache::thrift::TBase {
2764 public:
2765
2767 GetCatalogRequest& operator=(const GetCatalogRequest&);
2768 GetCatalogRequest() noexcept;
2769
2770 virtual ~GetCatalogRequest() noexcept;
2771 std::string name;
2772
2774
2775 void __set_name(const std::string& val);
2776
2777 bool operator == (const GetCatalogRequest & rhs) const;
2778 bool operator != (const GetCatalogRequest &rhs) const {
2779 return !(*this == rhs);
2780 }
2781
2782 bool operator < (const GetCatalogRequest & ) const;
2783
2784 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2785 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2786
2787 virtual void printTo(std::ostream& out) const;
2788};
2789
2790void swap(GetCatalogRequest &a, GetCatalogRequest &b) noexcept;
2791
2792std::ostream& operator<<(std::ostream& out, const GetCatalogRequest& obj);
2793
2795 _GetCatalogResponse__isset() : catalog(false) {}
2796 bool catalog :1;
2798
2799class GetCatalogResponse : public virtual ::apache::thrift::TBase {
2800 public:
2801
2803 GetCatalogResponse& operator=(const GetCatalogResponse&);
2804 GetCatalogResponse() noexcept;
2805
2806 virtual ~GetCatalogResponse() noexcept;
2807 Catalog catalog;
2808
2810
2811 void __set_catalog(const Catalog& val);
2812
2813 bool operator == (const GetCatalogResponse & rhs) const;
2814 bool operator != (const GetCatalogResponse &rhs) const {
2815 return !(*this == rhs);
2816 }
2817
2818 bool operator < (const GetCatalogResponse & ) const;
2819
2820 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2821 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2822
2823 virtual void printTo(std::ostream& out) const;
2824};
2825
2826void swap(GetCatalogResponse &a, GetCatalogResponse &b) noexcept;
2827
2828std::ostream& operator<<(std::ostream& out, const GetCatalogResponse& obj);
2829
2831 _GetCatalogsResponse__isset() : names(false) {}
2832 bool names :1;
2834
2835class GetCatalogsResponse : public virtual ::apache::thrift::TBase {
2836 public:
2837
2839 GetCatalogsResponse& operator=(const GetCatalogsResponse&);
2840 GetCatalogsResponse() noexcept;
2841
2842 virtual ~GetCatalogsResponse() noexcept;
2843 std::vector<std::string> names;
2844
2846
2847 void __set_names(const std::vector<std::string> & val);
2848
2849 bool operator == (const GetCatalogsResponse & rhs) const;
2850 bool operator != (const GetCatalogsResponse &rhs) const {
2851 return !(*this == rhs);
2852 }
2853
2854 bool operator < (const GetCatalogsResponse & ) const;
2855
2856 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2857 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2858
2859 virtual void printTo(std::ostream& out) const;
2860};
2861
2862void swap(GetCatalogsResponse &a, GetCatalogsResponse &b) noexcept;
2863
2864std::ostream& operator<<(std::ostream& out, const GetCatalogsResponse& obj);
2865
2867 _DropCatalogRequest__isset() : name(false) {}
2868 bool name :1;
2870
2871class DropCatalogRequest : public virtual ::apache::thrift::TBase {
2872 public:
2873
2875 DropCatalogRequest& operator=(const DropCatalogRequest&);
2876 DropCatalogRequest() noexcept;
2877
2878 virtual ~DropCatalogRequest() noexcept;
2879 std::string name;
2880
2882
2883 void __set_name(const std::string& val);
2884
2885 bool operator == (const DropCatalogRequest & rhs) const;
2886 bool operator != (const DropCatalogRequest &rhs) const {
2887 return !(*this == rhs);
2888 }
2889
2890 bool operator < (const DropCatalogRequest & ) const;
2891
2892 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2893 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2894
2895 virtual void printTo(std::ostream& out) const;
2896};
2897
2898void swap(DropCatalogRequest &a, DropCatalogRequest &b) noexcept;
2899
2900std::ostream& operator<<(std::ostream& out, const DropCatalogRequest& obj);
2901
2902typedef struct _Database__isset {
2903 _Database__isset() : name(false), description(false), locationUri(false), parameters(false), privileges(false), ownerName(false), ownerType(false), catalogName(false), createTime(false), managedLocationUri(false), type(false), connector_name(false), remote_dbname(false) {}
2904 bool name :1;
2905 bool description :1;
2906 bool locationUri :1;
2907 bool parameters :1;
2908 bool privileges :1;
2909 bool ownerName :1;
2910 bool ownerType :1;
2911 bool catalogName :1;
2912 bool createTime :1;
2913 bool managedLocationUri :1;
2914 bool type :1;
2915 bool connector_name :1;
2916 bool remote_dbname :1;
2918
2919class Database : public virtual ::apache::thrift::TBase {
2920 public:
2921
2922 Database(const Database&);
2923 Database& operator=(const Database&);
2924 Database() noexcept;
2925
2926 virtual ~Database() noexcept;
2927 std::string name;
2928 std::string description;
2929 std::string locationUri;
2930 std::map<std::string, std::string> parameters;
2931 PrincipalPrivilegeSet privileges;
2932 std::string ownerName;
2937 PrincipalType::type ownerType;
2938 std::string catalogName;
2939 int32_t createTime;
2940 std::string managedLocationUri;
2945 DatabaseType::type type;
2946 std::string connector_name;
2947 std::string remote_dbname;
2948
2949 _Database__isset __isset;
2950
2951 void __set_name(const std::string& val);
2952
2953 void __set_description(const std::string& val);
2954
2955 void __set_locationUri(const std::string& val);
2956
2957 void __set_parameters(const std::map<std::string, std::string> & val);
2958
2959 void __set_privileges(const PrincipalPrivilegeSet& val);
2960
2961 void __set_ownerName(const std::string& val);
2962
2963 void __set_ownerType(const PrincipalType::type val);
2964
2965 void __set_catalogName(const std::string& val);
2966
2967 void __set_createTime(const int32_t val);
2968
2969 void __set_managedLocationUri(const std::string& val);
2970
2971 void __set_type(const DatabaseType::type val);
2972
2973 void __set_connector_name(const std::string& val);
2974
2975 void __set_remote_dbname(const std::string& val);
2976
2977 bool operator == (const Database & rhs) const;
2978 bool operator != (const Database &rhs) const {
2979 return !(*this == rhs);
2980 }
2981
2982 bool operator < (const Database & ) const;
2983
2984 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
2985 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
2986
2987 virtual void printTo(std::ostream& out) const;
2988};
2989
2990void swap(Database &a, Database &b) noexcept;
2991
2992std::ostream& operator<<(std::ostream& out, const Database& obj);
2993
2994typedef struct _SerDeInfo__isset {
2995 _SerDeInfo__isset() : name(false), serializationLib(false), parameters(false), description(false), serializerClass(false), deserializerClass(false), serdeType(false) {}
2996 bool name :1;
2997 bool serializationLib :1;
2998 bool parameters :1;
2999 bool description :1;
3000 bool serializerClass :1;
3001 bool deserializerClass :1;
3002 bool serdeType :1;
3004
3005class SerDeInfo : public virtual ::apache::thrift::TBase {
3006 public:
3007
3008 SerDeInfo(const SerDeInfo&);
3009 SerDeInfo& operator=(const SerDeInfo&);
3010 SerDeInfo() noexcept;
3011
3012 virtual ~SerDeInfo() noexcept;
3013 std::string name;
3014 std::string serializationLib;
3015 std::map<std::string, std::string> parameters;
3016 std::string description;
3017 std::string serializerClass;
3018 std::string deserializerClass;
3023 SerdeType::type serdeType;
3024
3025 _SerDeInfo__isset __isset;
3026
3027 void __set_name(const std::string& val);
3028
3029 void __set_serializationLib(const std::string& val);
3030
3031 void __set_parameters(const std::map<std::string, std::string> & val);
3032
3033 void __set_description(const std::string& val);
3034
3035 void __set_serializerClass(const std::string& val);
3036
3037 void __set_deserializerClass(const std::string& val);
3038
3039 void __set_serdeType(const SerdeType::type val);
3040
3041 bool operator == (const SerDeInfo & rhs) const;
3042 bool operator != (const SerDeInfo &rhs) const {
3043 return !(*this == rhs);
3044 }
3045
3046 bool operator < (const SerDeInfo & ) const;
3047
3048 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3049 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3050
3051 virtual void printTo(std::ostream& out) const;
3052};
3053
3054void swap(SerDeInfo &a, SerDeInfo &b) noexcept;
3055
3056std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj);
3057
3058typedef struct _Order__isset {
3059 _Order__isset() : col(false), order(false) {}
3060 bool col :1;
3061 bool order :1;
3063
3064class Order : public virtual ::apache::thrift::TBase {
3065 public:
3066
3067 Order(const Order&);
3068 Order& operator=(const Order&);
3069 Order() noexcept;
3070
3071 virtual ~Order() noexcept;
3072 std::string col;
3073 int32_t order;
3074
3075 _Order__isset __isset;
3076
3077 void __set_col(const std::string& val);
3078
3079 void __set_order(const int32_t val);
3080
3081 bool operator == (const Order & rhs) const;
3082 bool operator != (const Order &rhs) const {
3083 return !(*this == rhs);
3084 }
3085
3086 bool operator < (const Order & ) const;
3087
3088 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3089 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3090
3091 virtual void printTo(std::ostream& out) const;
3092};
3093
3094void swap(Order &a, Order &b) noexcept;
3095
3096std::ostream& operator<<(std::ostream& out, const Order& obj);
3097
3098typedef struct _SkewedInfo__isset {
3099 _SkewedInfo__isset() : skewedColNames(false), skewedColValues(false), skewedColValueLocationMaps(false) {}
3100 bool skewedColNames :1;
3101 bool skewedColValues :1;
3102 bool skewedColValueLocationMaps :1;
3104
3105class SkewedInfo : public virtual ::apache::thrift::TBase {
3106 public:
3107
3108 SkewedInfo(const SkewedInfo&);
3109 SkewedInfo& operator=(const SkewedInfo&);
3110 SkewedInfo() noexcept;
3111
3112 virtual ~SkewedInfo() noexcept;
3113 std::vector<std::string> skewedColNames;
3114 std::vector<std::vector<std::string> > skewedColValues;
3115 std::map<std::vector<std::string> , std::string> skewedColValueLocationMaps;
3116
3117 _SkewedInfo__isset __isset;
3118
3119 void __set_skewedColNames(const std::vector<std::string> & val);
3120
3121 void __set_skewedColValues(const std::vector<std::vector<std::string> > & val);
3122
3123 void __set_skewedColValueLocationMaps(const std::map<std::vector<std::string> , std::string> & val);
3124
3125 bool operator == (const SkewedInfo & rhs) const;
3126 bool operator != (const SkewedInfo &rhs) const {
3127 return !(*this == rhs);
3128 }
3129
3130 bool operator < (const SkewedInfo & ) const;
3131
3132 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3133 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3134
3135 virtual void printTo(std::ostream& out) const;
3136};
3137
3138void swap(SkewedInfo &a, SkewedInfo &b) noexcept;
3139
3140std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj);
3141
3143 _StorageDescriptor__isset() : cols(false), location(false), inputFormat(false), outputFormat(false), compressed(false), numBuckets(false), serdeInfo(false), bucketCols(false), sortCols(false), parameters(false), skewedInfo(false), storedAsSubDirectories(false) {}
3144 bool cols :1;
3145 bool location :1;
3146 bool inputFormat :1;
3147 bool outputFormat :1;
3148 bool compressed :1;
3149 bool numBuckets :1;
3150 bool serdeInfo :1;
3151 bool bucketCols :1;
3152 bool sortCols :1;
3153 bool parameters :1;
3154 bool skewedInfo :1;
3155 bool storedAsSubDirectories :1;
3157
3158class StorageDescriptor : public virtual ::apache::thrift::TBase {
3159 public:
3160
3162 StorageDescriptor& operator=(const StorageDescriptor&);
3163 StorageDescriptor() noexcept;
3164
3165 virtual ~StorageDescriptor() noexcept;
3166 std::vector<FieldSchema> cols;
3167 std::string location;
3168 std::string inputFormat;
3169 std::string outputFormat;
3170 bool compressed;
3171 int32_t numBuckets;
3172 SerDeInfo serdeInfo;
3173 std::vector<std::string> bucketCols;
3174 std::vector<Order> sortCols;
3175 std::map<std::string, std::string> parameters;
3176 SkewedInfo skewedInfo;
3177 bool storedAsSubDirectories;
3178
3180
3181 void __set_cols(const std::vector<FieldSchema> & val);
3182
3183 void __set_location(const std::string& val);
3184
3185 void __set_inputFormat(const std::string& val);
3186
3187 void __set_outputFormat(const std::string& val);
3188
3189 void __set_compressed(const bool val);
3190
3191 void __set_numBuckets(const int32_t val);
3192
3193 void __set_serdeInfo(const SerDeInfo& val);
3194
3195 void __set_bucketCols(const std::vector<std::string> & val);
3196
3197 void __set_sortCols(const std::vector<Order> & val);
3198
3199 void __set_parameters(const std::map<std::string, std::string> & val);
3200
3201 void __set_skewedInfo(const SkewedInfo& val);
3202
3203 void __set_storedAsSubDirectories(const bool val);
3204
3205 bool operator == (const StorageDescriptor & rhs) const;
3206 bool operator != (const StorageDescriptor &rhs) const {
3207 return !(*this == rhs);
3208 }
3209
3210 bool operator < (const StorageDescriptor & ) const;
3211
3212 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3213 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3214
3215 virtual void printTo(std::ostream& out) const;
3216};
3217
3218void swap(StorageDescriptor &a, StorageDescriptor &b) noexcept;
3219
3220std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj);
3221
3223 _CreationMetadata__isset() : validTxnList(false), materializationTime(false), sourceTables(false) {}
3224 bool validTxnList :1;
3225 bool materializationTime :1;
3226 bool sourceTables :1;
3228
3229class CreationMetadata : public virtual ::apache::thrift::TBase {
3230 public:
3231
3233 CreationMetadata& operator=(const CreationMetadata&);
3234 CreationMetadata() noexcept;
3235
3236 virtual ~CreationMetadata() noexcept;
3237 std::string catName;
3238 std::string dbName;
3239 std::string tblName;
3240 std::set<std::string> tablesUsed;
3241 std::string validTxnList;
3242 int64_t materializationTime;
3243 std::vector<SourceTable> sourceTables;
3244
3246
3247 void __set_catName(const std::string& val);
3248
3249 void __set_dbName(const std::string& val);
3250
3251 void __set_tblName(const std::string& val);
3252
3253 void __set_tablesUsed(const std::set<std::string> & val);
3254
3255 void __set_validTxnList(const std::string& val);
3256
3257 void __set_materializationTime(const int64_t val);
3258
3259 void __set_sourceTables(const std::vector<SourceTable> & val);
3260
3261 bool operator == (const CreationMetadata & rhs) const;
3262 bool operator != (const CreationMetadata &rhs) const {
3263 return !(*this == rhs);
3264 }
3265
3266 bool operator < (const CreationMetadata & ) const;
3267
3268 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3269 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3270
3271 virtual void printTo(std::ostream& out) const;
3272};
3273
3274void swap(CreationMetadata &a, CreationMetadata &b) noexcept;
3275
3276std::ostream& operator<<(std::ostream& out, const CreationMetadata& obj);
3277
3279 _BooleanColumnStatsData__isset() : bitVectors(false) {}
3280 bool bitVectors :1;
3282
3283class BooleanColumnStatsData : public virtual ::apache::thrift::TBase {
3284 public:
3285
3288 BooleanColumnStatsData() noexcept;
3289
3290 virtual ~BooleanColumnStatsData() noexcept;
3291 int64_t numTrues;
3292 int64_t numFalses;
3293 int64_t numNulls;
3294 std::string bitVectors;
3295
3297
3298 void __set_numTrues(const int64_t val);
3299
3300 void __set_numFalses(const int64_t val);
3301
3302 void __set_numNulls(const int64_t val);
3303
3304 void __set_bitVectors(const std::string& val);
3305
3306 bool operator == (const BooleanColumnStatsData & rhs) const;
3307 bool operator != (const BooleanColumnStatsData &rhs) const {
3308 return !(*this == rhs);
3309 }
3310
3311 bool operator < (const BooleanColumnStatsData & ) const;
3312
3313 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3314 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3315
3316 virtual void printTo(std::ostream& out) const;
3317};
3318
3319void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b) noexcept;
3320
3321std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj);
3322
3324 _DoubleColumnStatsData__isset() : lowValue(false), highValue(false), bitVectors(false), histogram(false) {}
3325 bool lowValue :1;
3326 bool highValue :1;
3327 bool bitVectors :1;
3328 bool histogram :1;
3330
3331class DoubleColumnStatsData : public virtual ::apache::thrift::TBase {
3332 public:
3333
3336 DoubleColumnStatsData() noexcept;
3337
3338 virtual ~DoubleColumnStatsData() noexcept;
3339 double lowValue;
3340 double highValue;
3341 int64_t numNulls;
3342 int64_t numDVs;
3343 std::string bitVectors;
3344 std::string histogram;
3345
3347
3348 void __set_lowValue(const double val);
3349
3350 void __set_highValue(const double val);
3351
3352 void __set_numNulls(const int64_t val);
3353
3354 void __set_numDVs(const int64_t val);
3355
3356 void __set_bitVectors(const std::string& val);
3357
3358 void __set_histogram(const std::string& val);
3359
3360 bool operator == (const DoubleColumnStatsData & rhs) const;
3361 bool operator != (const DoubleColumnStatsData &rhs) const {
3362 return !(*this == rhs);
3363 }
3364
3365 bool operator < (const DoubleColumnStatsData & ) const;
3366
3367 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3368 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3369
3370 virtual void printTo(std::ostream& out) const;
3371};
3372
3373void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b) noexcept;
3374
3375std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj);
3376
3378 _LongColumnStatsData__isset() : lowValue(false), highValue(false), bitVectors(false), histogram(false) {}
3379 bool lowValue :1;
3380 bool highValue :1;
3381 bool bitVectors :1;
3382 bool histogram :1;
3384
3385class LongColumnStatsData : public virtual ::apache::thrift::TBase {
3386 public:
3387
3389 LongColumnStatsData& operator=(const LongColumnStatsData&);
3390 LongColumnStatsData() noexcept;
3391
3392 virtual ~LongColumnStatsData() noexcept;
3393 int64_t lowValue;
3394 int64_t highValue;
3395 int64_t numNulls;
3396 int64_t numDVs;
3397 std::string bitVectors;
3398 std::string histogram;
3399
3401
3402 void __set_lowValue(const int64_t val);
3403
3404 void __set_highValue(const int64_t val);
3405
3406 void __set_numNulls(const int64_t val);
3407
3408 void __set_numDVs(const int64_t val);
3409
3410 void __set_bitVectors(const std::string& val);
3411
3412 void __set_histogram(const std::string& val);
3413
3414 bool operator == (const LongColumnStatsData & rhs) const;
3415 bool operator != (const LongColumnStatsData &rhs) const {
3416 return !(*this == rhs);
3417 }
3418
3419 bool operator < (const LongColumnStatsData & ) const;
3420
3421 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3422 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3423
3424 virtual void printTo(std::ostream& out) const;
3425};
3426
3427void swap(LongColumnStatsData &a, LongColumnStatsData &b) noexcept;
3428
3429std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj);
3430
3432 _StringColumnStatsData__isset() : bitVectors(false) {}
3433 bool bitVectors :1;
3435
3436class StringColumnStatsData : public virtual ::apache::thrift::TBase {
3437 public:
3438
3441 StringColumnStatsData() noexcept;
3442
3443 virtual ~StringColumnStatsData() noexcept;
3444 int64_t maxColLen;
3445 double avgColLen;
3446 int64_t numNulls;
3447 int64_t numDVs;
3448 std::string bitVectors;
3449
3451
3452 void __set_maxColLen(const int64_t val);
3453
3454 void __set_avgColLen(const double val);
3455
3456 void __set_numNulls(const int64_t val);
3457
3458 void __set_numDVs(const int64_t val);
3459
3460 void __set_bitVectors(const std::string& val);
3461
3462 bool operator == (const StringColumnStatsData & rhs) const;
3463 bool operator != (const StringColumnStatsData &rhs) const {
3464 return !(*this == rhs);
3465 }
3466
3467 bool operator < (const StringColumnStatsData & ) const;
3468
3469 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3470 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3471
3472 virtual void printTo(std::ostream& out) const;
3473};
3474
3475void swap(StringColumnStatsData &a, StringColumnStatsData &b) noexcept;
3476
3477std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj);
3478
3480 _BinaryColumnStatsData__isset() : bitVectors(false) {}
3481 bool bitVectors :1;
3483
3484class BinaryColumnStatsData : public virtual ::apache::thrift::TBase {
3485 public:
3486
3489 BinaryColumnStatsData() noexcept;
3490
3491 virtual ~BinaryColumnStatsData() noexcept;
3492 int64_t maxColLen;
3493 double avgColLen;
3494 int64_t numNulls;
3495 std::string bitVectors;
3496
3498
3499 void __set_maxColLen(const int64_t val);
3500
3501 void __set_avgColLen(const double val);
3502
3503 void __set_numNulls(const int64_t val);
3504
3505 void __set_bitVectors(const std::string& val);
3506
3507 bool operator == (const BinaryColumnStatsData & rhs) const;
3508 bool operator != (const BinaryColumnStatsData &rhs) const {
3509 return !(*this == rhs);
3510 }
3511
3512 bool operator < (const BinaryColumnStatsData & ) const;
3513
3514 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3515 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3516
3517 virtual void printTo(std::ostream& out) const;
3518};
3519
3520void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b) noexcept;
3521
3522std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj);
3523
3524
3525class Decimal : public virtual ::apache::thrift::TBase {
3526 public:
3527
3528 Decimal(const Decimal&);
3529 Decimal& operator=(const Decimal&);
3530 Decimal() noexcept;
3531
3532 virtual ~Decimal() noexcept;
3533 int16_t scale;
3534 std::string unscaled;
3535
3536 void __set_scale(const int16_t val);
3537
3538 void __set_unscaled(const std::string& val);
3539
3540 bool operator == (const Decimal & rhs) const;
3541 bool operator != (const Decimal &rhs) const {
3542 return !(*this == rhs);
3543 }
3544
3545 bool operator < (const Decimal & ) const;
3546
3547 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3548 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3549
3550 virtual void printTo(std::ostream& out) const;
3551};
3552
3553void swap(Decimal &a, Decimal &b) noexcept;
3554
3555std::ostream& operator<<(std::ostream& out, const Decimal& obj);
3556
3558 _DecimalColumnStatsData__isset() : lowValue(false), highValue(false), bitVectors(false), histogram(false) {}
3559 bool lowValue :1;
3560 bool highValue :1;
3561 bool bitVectors :1;
3562 bool histogram :1;
3564
3565class DecimalColumnStatsData : public virtual ::apache::thrift::TBase {
3566 public:
3567
3570 DecimalColumnStatsData() noexcept;
3571
3572 virtual ~DecimalColumnStatsData() noexcept;
3573 Decimal lowValue;
3574 Decimal highValue;
3575 int64_t numNulls;
3576 int64_t numDVs;
3577 std::string bitVectors;
3578 std::string histogram;
3579
3581
3582 void __set_lowValue(const Decimal& val);
3583
3584 void __set_highValue(const Decimal& val);
3585
3586 void __set_numNulls(const int64_t val);
3587
3588 void __set_numDVs(const int64_t val);
3589
3590 void __set_bitVectors(const std::string& val);
3591
3592 void __set_histogram(const std::string& val);
3593
3594 bool operator == (const DecimalColumnStatsData & rhs) const;
3595 bool operator != (const DecimalColumnStatsData &rhs) const {
3596 return !(*this == rhs);
3597 }
3598
3599 bool operator < (const DecimalColumnStatsData & ) const;
3600
3601 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3602 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3603
3604 virtual void printTo(std::ostream& out) const;
3605};
3606
3607void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b) noexcept;
3608
3609std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj);
3610
3611
3612class Date : public virtual ::apache::thrift::TBase {
3613 public:
3614
3615 Date(const Date&) noexcept;
3616 Date& operator=(const Date&) noexcept;
3617 Date() noexcept;
3618
3619 virtual ~Date() noexcept;
3620 int64_t daysSinceEpoch;
3621
3622 void __set_daysSinceEpoch(const int64_t val);
3623
3624 bool operator == (const Date & rhs) const;
3625 bool operator != (const Date &rhs) const {
3626 return !(*this == rhs);
3627 }
3628
3629 bool operator < (const Date & ) const;
3630
3631 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3632 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3633
3634 virtual void printTo(std::ostream& out) const;
3635};
3636
3637void swap(Date &a, Date &b) noexcept;
3638
3639std::ostream& operator<<(std::ostream& out, const Date& obj);
3640
3642 _DateColumnStatsData__isset() : lowValue(false), highValue(false), bitVectors(false), histogram(false) {}
3643 bool lowValue :1;
3644 bool highValue :1;
3645 bool bitVectors :1;
3646 bool histogram :1;
3648
3649class DateColumnStatsData : public virtual ::apache::thrift::TBase {
3650 public:
3651
3653 DateColumnStatsData& operator=(const DateColumnStatsData&);
3654 DateColumnStatsData() noexcept;
3655
3656 virtual ~DateColumnStatsData() noexcept;
3657 Date lowValue;
3658 Date highValue;
3659 int64_t numNulls;
3660 int64_t numDVs;
3661 std::string bitVectors;
3662 std::string histogram;
3663
3665
3666 void __set_lowValue(const Date& val);
3667
3668 void __set_highValue(const Date& val);
3669
3670 void __set_numNulls(const int64_t val);
3671
3672 void __set_numDVs(const int64_t val);
3673
3674 void __set_bitVectors(const std::string& val);
3675
3676 void __set_histogram(const std::string& val);
3677
3678 bool operator == (const DateColumnStatsData & rhs) const;
3679 bool operator != (const DateColumnStatsData &rhs) const {
3680 return !(*this == rhs);
3681 }
3682
3683 bool operator < (const DateColumnStatsData & ) const;
3684
3685 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3686 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3687
3688 virtual void printTo(std::ostream& out) const;
3689};
3690
3691void swap(DateColumnStatsData &a, DateColumnStatsData &b) noexcept;
3692
3693std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj);
3694
3695
3696class Timestamp : public virtual ::apache::thrift::TBase {
3697 public:
3698
3699 Timestamp(const Timestamp&) noexcept;
3700 Timestamp& operator=(const Timestamp&) noexcept;
3701 Timestamp() noexcept;
3702
3703 virtual ~Timestamp() noexcept;
3704 int64_t secondsSinceEpoch;
3705
3706 void __set_secondsSinceEpoch(const int64_t val);
3707
3708 bool operator == (const Timestamp & rhs) const;
3709 bool operator != (const Timestamp &rhs) const {
3710 return !(*this == rhs);
3711 }
3712
3713 bool operator < (const Timestamp & ) const;
3714
3715 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3716 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3717
3718 virtual void printTo(std::ostream& out) const;
3719};
3720
3721void swap(Timestamp &a, Timestamp &b) noexcept;
3722
3723std::ostream& operator<<(std::ostream& out, const Timestamp& obj);
3724
3726 _TimestampColumnStatsData__isset() : lowValue(false), highValue(false), bitVectors(false), histogram(false) {}
3727 bool lowValue :1;
3728 bool highValue :1;
3729 bool bitVectors :1;
3730 bool histogram :1;
3732
3733class TimestampColumnStatsData : public virtual ::apache::thrift::TBase {
3734 public:
3735
3738 TimestampColumnStatsData() noexcept;
3739
3740 virtual ~TimestampColumnStatsData() noexcept;
3741 Timestamp lowValue;
3742 Timestamp highValue;
3743 int64_t numNulls;
3744 int64_t numDVs;
3745 std::string bitVectors;
3746 std::string histogram;
3747
3749
3750 void __set_lowValue(const Timestamp& val);
3751
3752 void __set_highValue(const Timestamp& val);
3753
3754 void __set_numNulls(const int64_t val);
3755
3756 void __set_numDVs(const int64_t val);
3757
3758 void __set_bitVectors(const std::string& val);
3759
3760 void __set_histogram(const std::string& val);
3761
3762 bool operator == (const TimestampColumnStatsData & rhs) const;
3763 bool operator != (const TimestampColumnStatsData &rhs) const {
3764 return !(*this == rhs);
3765 }
3766
3767 bool operator < (const TimestampColumnStatsData & ) const;
3768
3769 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3770 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3771
3772 virtual void printTo(std::ostream& out) const;
3773};
3774
3775void swap(TimestampColumnStatsData &a, TimestampColumnStatsData &b) noexcept;
3776
3777std::ostream& operator<<(std::ostream& out, const TimestampColumnStatsData& obj);
3778
3780 _ColumnStatisticsData__isset() : booleanStats(false), longStats(false), doubleStats(false), stringStats(false), binaryStats(false), decimalStats(false), dateStats(false), timestampStats(false) {}
3781 bool booleanStats :1;
3782 bool longStats :1;
3783 bool doubleStats :1;
3784 bool stringStats :1;
3785 bool binaryStats :1;
3786 bool decimalStats :1;
3787 bool dateStats :1;
3788 bool timestampStats :1;
3790
3791class ColumnStatisticsData : public virtual ::apache::thrift::TBase {
3792 public:
3793
3795 ColumnStatisticsData& operator=(const ColumnStatisticsData&);
3796 ColumnStatisticsData() noexcept;
3797
3798 virtual ~ColumnStatisticsData() noexcept;
3799 BooleanColumnStatsData booleanStats;
3800 LongColumnStatsData longStats;
3801 DoubleColumnStatsData doubleStats;
3802 StringColumnStatsData stringStats;
3803 BinaryColumnStatsData binaryStats;
3804 DecimalColumnStatsData decimalStats;
3805 DateColumnStatsData dateStats;
3806 TimestampColumnStatsData timestampStats;
3807
3809
3810 void __set_booleanStats(const BooleanColumnStatsData& val);
3811
3812 void __set_longStats(const LongColumnStatsData& val);
3813
3814 void __set_doubleStats(const DoubleColumnStatsData& val);
3815
3816 void __set_stringStats(const StringColumnStatsData& val);
3817
3818 void __set_binaryStats(const BinaryColumnStatsData& val);
3819
3820 void __set_decimalStats(const DecimalColumnStatsData& val);
3821
3822 void __set_dateStats(const DateColumnStatsData& val);
3823
3824 void __set_timestampStats(const TimestampColumnStatsData& val);
3825
3826 bool operator == (const ColumnStatisticsData & rhs) const;
3827 bool operator != (const ColumnStatisticsData &rhs) const {
3828 return !(*this == rhs);
3829 }
3830
3831 bool operator < (const ColumnStatisticsData & ) const;
3832
3833 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3834 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3835
3836 virtual void printTo(std::ostream& out) const;
3837};
3838
3839void swap(ColumnStatisticsData &a, ColumnStatisticsData &b) noexcept;
3840
3841std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj);
3842
3843
3844class ColumnStatisticsObj : public virtual ::apache::thrift::TBase {
3845 public:
3846
3848 ColumnStatisticsObj& operator=(const ColumnStatisticsObj&);
3849 ColumnStatisticsObj() noexcept;
3850
3851 virtual ~ColumnStatisticsObj() noexcept;
3852 std::string colName;
3853 std::string colType;
3854 ColumnStatisticsData statsData;
3855
3856 void __set_colName(const std::string& val);
3857
3858 void __set_colType(const std::string& val);
3859
3860 void __set_statsData(const ColumnStatisticsData& val);
3861
3862 bool operator == (const ColumnStatisticsObj & rhs) const;
3863 bool operator != (const ColumnStatisticsObj &rhs) const {
3864 return !(*this == rhs);
3865 }
3866
3867 bool operator < (const ColumnStatisticsObj & ) const;
3868
3869 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3870 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3871
3872 virtual void printTo(std::ostream& out) const;
3873};
3874
3875void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b) noexcept;
3876
3877std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj);
3878
3880 _ColumnStatisticsDesc__isset() : partName(false), lastAnalyzed(false), catName(false) {}
3881 bool partName :1;
3882 bool lastAnalyzed :1;
3883 bool catName :1;
3885
3886class ColumnStatisticsDesc : public virtual ::apache::thrift::TBase {
3887 public:
3888
3890 ColumnStatisticsDesc& operator=(const ColumnStatisticsDesc&);
3891 ColumnStatisticsDesc() noexcept;
3892
3893 virtual ~ColumnStatisticsDesc() noexcept;
3894 bool isTblLevel;
3895 std::string dbName;
3896 std::string tableName;
3897 std::string partName;
3898 int64_t lastAnalyzed;
3899 std::string catName;
3900
3902
3903 void __set_isTblLevel(const bool val);
3904
3905 void __set_dbName(const std::string& val);
3906
3907 void __set_tableName(const std::string& val);
3908
3909 void __set_partName(const std::string& val);
3910
3911 void __set_lastAnalyzed(const int64_t val);
3912
3913 void __set_catName(const std::string& val);
3914
3915 bool operator == (const ColumnStatisticsDesc & rhs) const;
3916 bool operator != (const ColumnStatisticsDesc &rhs) const {
3917 return !(*this == rhs);
3918 }
3919
3920 bool operator < (const ColumnStatisticsDesc & ) const;
3921
3922 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3923 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3924
3925 virtual void printTo(std::ostream& out) const;
3926};
3927
3928void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b) noexcept;
3929
3930std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj);
3931
3933 _ColumnStatistics__isset() : isStatsCompliant(false), engine(true) {}
3934 bool isStatsCompliant :1;
3935 bool engine :1;
3937
3938class ColumnStatistics : public virtual ::apache::thrift::TBase {
3939 public:
3940
3942 ColumnStatistics& operator=(const ColumnStatistics&);
3944
3945 virtual ~ColumnStatistics() noexcept;
3946 ColumnStatisticsDesc statsDesc;
3947 std::vector<ColumnStatisticsObj> statsObj;
3948 bool isStatsCompliant;
3949 std::string engine;
3950
3952
3953 void __set_statsDesc(const ColumnStatisticsDesc& val);
3954
3955 void __set_statsObj(const std::vector<ColumnStatisticsObj> & val);
3956
3957 void __set_isStatsCompliant(const bool val);
3958
3959 void __set_engine(const std::string& val);
3960
3961 bool operator == (const ColumnStatistics & rhs) const;
3962 bool operator != (const ColumnStatistics &rhs) const {
3963 return !(*this == rhs);
3964 }
3965
3966 bool operator < (const ColumnStatistics & ) const;
3967
3968 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
3969 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
3970
3971 virtual void printTo(std::ostream& out) const;
3972};
3973
3974void swap(ColumnStatistics &a, ColumnStatistics &b) noexcept;
3975
3976std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj);
3977
3978typedef struct _FileMetadata__isset {
3979 _FileMetadata__isset() : type(true), version(true), data(false) {}
3980 bool type :1;
3981 bool version :1;
3982 bool data :1;
3984
3985class FileMetadata : public virtual ::apache::thrift::TBase {
3986 public:
3987
3988 FileMetadata(const FileMetadata&);
3989 FileMetadata& operator=(const FileMetadata&);
3990 FileMetadata() noexcept;
3991
3992 virtual ~FileMetadata() noexcept;
3993 int8_t type;
3994 int8_t version;
3995 std::vector<std::string> data;
3996
3997 _FileMetadata__isset __isset;
3998
3999 void __set_type(const int8_t val);
4000
4001 void __set_version(const int8_t val);
4002
4003 void __set_data(const std::vector<std::string> & val);
4004
4005 bool operator == (const FileMetadata & rhs) const;
4006 bool operator != (const FileMetadata &rhs) const {
4007 return !(*this == rhs);
4008 }
4009
4010 bool operator < (const FileMetadata & ) const;
4011
4012 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4013 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4014
4015 virtual void printTo(std::ostream& out) const;
4016};
4017
4018void swap(FileMetadata &a, FileMetadata &b) noexcept;
4019
4020std::ostream& operator<<(std::ostream& out, const FileMetadata& obj);
4021
4022
4023class ObjectDictionary : public virtual ::apache::thrift::TBase {
4024 public:
4025
4027 ObjectDictionary& operator=(const ObjectDictionary&);
4028 ObjectDictionary() noexcept;
4029
4030 virtual ~ObjectDictionary() noexcept;
4031 std::map<std::string, std::vector<std::string> > values;
4032
4033 void __set_values(const std::map<std::string, std::vector<std::string> > & val);
4034
4035 bool operator == (const ObjectDictionary & rhs) const;
4036 bool operator != (const ObjectDictionary &rhs) const {
4037 return !(*this == rhs);
4038 }
4039
4040 bool operator < (const ObjectDictionary & ) const;
4041
4042 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4043 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4044
4045 virtual void printTo(std::ostream& out) const;
4046};
4047
4048void swap(ObjectDictionary &a, ObjectDictionary &b) noexcept;
4049
4050std::ostream& operator<<(std::ostream& out, const ObjectDictionary& obj);
4051
4052typedef struct _Table__isset {
4053 _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), temporary(true), rewriteEnabled(false), creationMetadata(false), catName(false), ownerType(true), writeId(true), isStatsCompliant(false), colStats(false), accessType(false), requiredReadCapabilities(false), requiredWriteCapabilities(false), id(false), fileMetadata(false), dictionary(false), txnId(false) {}
4054 bool tableName :1;
4055 bool dbName :1;
4056 bool owner :1;
4057 bool createTime :1;
4058 bool lastAccessTime :1;
4059 bool retention :1;
4060 bool sd :1;
4061 bool partitionKeys :1;
4062 bool parameters :1;
4063 bool viewOriginalText :1;
4064 bool viewExpandedText :1;
4065 bool tableType :1;
4066 bool privileges :1;
4067 bool temporary :1;
4068 bool rewriteEnabled :1;
4069 bool creationMetadata :1;
4070 bool catName :1;
4071 bool ownerType :1;
4072 bool writeId :1;
4073 bool isStatsCompliant :1;
4074 bool colStats :1;
4075 bool accessType :1;
4076 bool requiredReadCapabilities :1;
4077 bool requiredWriteCapabilities :1;
4078 bool id :1;
4079 bool fileMetadata :1;
4080 bool dictionary :1;
4081 bool txnId :1;
4083
4084class Table : public virtual ::apache::thrift::TBase {
4085 public:
4086
4087 Table(const Table&);
4088 Table& operator=(const Table&);
4089 Table() noexcept;
4090
4091 virtual ~Table() noexcept;
4092 std::string tableName;
4093 std::string dbName;
4094 std::string owner;
4095 int32_t createTime;
4096 int32_t lastAccessTime;
4097 int32_t retention;
4099 std::vector<FieldSchema> partitionKeys;
4100 std::map<std::string, std::string> parameters;
4101 std::string viewOriginalText;
4102 std::string viewExpandedText;
4103 std::string tableType;
4104 PrincipalPrivilegeSet privileges;
4105 bool temporary;
4106 bool rewriteEnabled;
4107 CreationMetadata creationMetadata;
4108 std::string catName;
4113 PrincipalType::type ownerType;
4114 int64_t writeId;
4115 bool isStatsCompliant;
4116 ColumnStatistics colStats;
4117 int8_t accessType;
4118 std::vector<std::string> requiredReadCapabilities;
4119 std::vector<std::string> requiredWriteCapabilities;
4120 int64_t id;
4121 FileMetadata fileMetadata;
4122 ObjectDictionary dictionary;
4123 int64_t txnId;
4124
4125 _Table__isset __isset;
4126
4127 void __set_tableName(const std::string& val);
4128
4129 void __set_dbName(const std::string& val);
4130
4131 void __set_owner(const std::string& val);
4132
4133 void __set_createTime(const int32_t val);
4134
4135 void __set_lastAccessTime(const int32_t val);
4136
4137 void __set_retention(const int32_t val);
4138
4139 void __set_sd(const StorageDescriptor& val);
4140
4141 void __set_partitionKeys(const std::vector<FieldSchema> & val);
4142
4143 void __set_parameters(const std::map<std::string, std::string> & val);
4144
4145 void __set_viewOriginalText(const std::string& val);
4146
4147 void __set_viewExpandedText(const std::string& val);
4148
4149 void __set_tableType(const std::string& val);
4150
4151 void __set_privileges(const PrincipalPrivilegeSet& val);
4152
4153 void __set_temporary(const bool val);
4154
4155 void __set_rewriteEnabled(const bool val);
4156
4157 void __set_creationMetadata(const CreationMetadata& val);
4158
4159 void __set_catName(const std::string& val);
4160
4161 void __set_ownerType(const PrincipalType::type val);
4162
4163 void __set_writeId(const int64_t val);
4164
4165 void __set_isStatsCompliant(const bool val);
4166
4167 void __set_colStats(const ColumnStatistics& val);
4168
4169 void __set_accessType(const int8_t val);
4170
4171 void __set_requiredReadCapabilities(const std::vector<std::string> & val);
4172
4173 void __set_requiredWriteCapabilities(const std::vector<std::string> & val);
4174
4175 void __set_id(const int64_t val);
4176
4177 void __set_fileMetadata(const FileMetadata& val);
4178
4179 void __set_dictionary(const ObjectDictionary& val);
4180
4181 void __set_txnId(const int64_t val);
4182
4183 bool operator == (const Table & rhs) const;
4184 bool operator != (const Table &rhs) const {
4185 return !(*this == rhs);
4186 }
4187
4188 bool operator < (const Table & ) const;
4189
4190 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4191 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4192
4193 virtual void printTo(std::ostream& out) const;
4194};
4195
4196void swap(Table &a, Table &b) noexcept;
4197
4198std::ostream& operator<<(std::ostream& out, const Table& obj);
4199
4200
4201class SourceTable : public virtual ::apache::thrift::TBase {
4202 public:
4203
4204 SourceTable(const SourceTable&);
4205 SourceTable& operator=(const SourceTable&);
4206 SourceTable() noexcept;
4207
4208 virtual ~SourceTable() noexcept;
4209 Table table;
4210 int64_t insertedCount;
4211 int64_t updatedCount;
4212 int64_t deletedCount;
4213
4214 void __set_table(const Table& val);
4215
4216 void __set_insertedCount(const int64_t val);
4217
4218 void __set_updatedCount(const int64_t val);
4219
4220 void __set_deletedCount(const int64_t val);
4221
4222 bool operator == (const SourceTable & rhs) const;
4223 bool operator != (const SourceTable &rhs) const {
4224 return !(*this == rhs);
4225 }
4226
4227 bool operator < (const SourceTable & ) const;
4228
4229 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4230 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4231
4232 virtual void printTo(std::ostream& out) const;
4233};
4234
4235void swap(SourceTable &a, SourceTable &b) noexcept;
4236
4237std::ostream& operator<<(std::ostream& out, const SourceTable& obj);
4238
4239typedef struct _Partition__isset {
4240 _Partition__isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false), privileges(false), catName(false), writeId(true), isStatsCompliant(false), colStats(false), fileMetadata(false) {}
4241 bool values :1;
4242 bool dbName :1;
4243 bool tableName :1;
4244 bool createTime :1;
4245 bool lastAccessTime :1;
4246 bool sd :1;
4247 bool parameters :1;
4248 bool privileges :1;
4249 bool catName :1;
4250 bool writeId :1;
4251 bool isStatsCompliant :1;
4252 bool colStats :1;
4253 bool fileMetadata :1;
4255
4256class Partition : public virtual ::apache::thrift::TBase {
4257 public:
4258
4259 Partition(const Partition&);
4260 Partition& operator=(const Partition&);
4261 Partition() noexcept;
4262
4263 virtual ~Partition() noexcept;
4264 std::vector<std::string> values;
4265 std::string dbName;
4266 std::string tableName;
4267 int32_t createTime;
4268 int32_t lastAccessTime;
4270 std::map<std::string, std::string> parameters;
4271 PrincipalPrivilegeSet privileges;
4272 std::string catName;
4273 int64_t writeId;
4274 bool isStatsCompliant;
4275 ColumnStatistics colStats;
4276 FileMetadata fileMetadata;
4277
4278 _Partition__isset __isset;
4279
4280 void __set_values(const std::vector<std::string> & val);
4281
4282 void __set_dbName(const std::string& val);
4283
4284 void __set_tableName(const std::string& val);
4285
4286 void __set_createTime(const int32_t val);
4287
4288 void __set_lastAccessTime(const int32_t val);
4289
4290 void __set_sd(const StorageDescriptor& val);
4291
4292 void __set_parameters(const std::map<std::string, std::string> & val);
4293
4294 void __set_privileges(const PrincipalPrivilegeSet& val);
4295
4296 void __set_catName(const std::string& val);
4297
4298 void __set_writeId(const int64_t val);
4299
4300 void __set_isStatsCompliant(const bool val);
4301
4302 void __set_colStats(const ColumnStatistics& val);
4303
4304 void __set_fileMetadata(const FileMetadata& val);
4305
4306 bool operator == (const Partition & rhs) const;
4307 bool operator != (const Partition &rhs) const {
4308 return !(*this == rhs);
4309 }
4310
4311 bool operator < (const Partition & ) const;
4312
4313 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4314 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4315
4316 virtual void printTo(std::ostream& out) const;
4317};
4318
4319void swap(Partition &a, Partition &b) noexcept;
4320
4321std::ostream& operator<<(std::ostream& out, const Partition& obj);
4322
4324 _PartitionWithoutSD__isset() : values(false), createTime(false), lastAccessTime(false), relativePath(false), parameters(false), privileges(false) {}
4325 bool values :1;
4326 bool createTime :1;
4327 bool lastAccessTime :1;
4328 bool relativePath :1;
4329 bool parameters :1;
4330 bool privileges :1;
4332
4333class PartitionWithoutSD : public virtual ::apache::thrift::TBase {
4334 public:
4335
4337 PartitionWithoutSD& operator=(const PartitionWithoutSD&);
4338 PartitionWithoutSD() noexcept;
4339
4340 virtual ~PartitionWithoutSD() noexcept;
4341 std::vector<std::string> values;
4342 int32_t createTime;
4343 int32_t lastAccessTime;
4344 std::string relativePath;
4345 std::map<std::string, std::string> parameters;
4346 PrincipalPrivilegeSet privileges;
4347
4349
4350 void __set_values(const std::vector<std::string> & val);
4351
4352 void __set_createTime(const int32_t val);
4353
4354 void __set_lastAccessTime(const int32_t val);
4355
4356 void __set_relativePath(const std::string& val);
4357
4358 void __set_parameters(const std::map<std::string, std::string> & val);
4359
4360 void __set_privileges(const PrincipalPrivilegeSet& val);
4361
4362 bool operator == (const PartitionWithoutSD & rhs) const;
4363 bool operator != (const PartitionWithoutSD &rhs) const {
4364 return !(*this == rhs);
4365 }
4366
4367 bool operator < (const PartitionWithoutSD & ) const;
4368
4369 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4370 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4371
4372 virtual void printTo(std::ostream& out) const;
4373};
4374
4375void swap(PartitionWithoutSD &a, PartitionWithoutSD &b) noexcept;
4376
4377std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj);
4378
4380 _PartitionSpecWithSharedSD__isset() : partitions(false), sd(false) {}
4381 bool partitions :1;
4382 bool sd :1;
4384
4385class PartitionSpecWithSharedSD : public virtual ::apache::thrift::TBase {
4386 public:
4387
4390 PartitionSpecWithSharedSD() noexcept;
4391
4392 virtual ~PartitionSpecWithSharedSD() noexcept;
4393 std::vector<PartitionWithoutSD> partitions;
4395
4397
4398 void __set_partitions(const std::vector<PartitionWithoutSD> & val);
4399
4400 void __set_sd(const StorageDescriptor& val);
4401
4402 bool operator == (const PartitionSpecWithSharedSD & rhs) const;
4403 bool operator != (const PartitionSpecWithSharedSD &rhs) const {
4404 return !(*this == rhs);
4405 }
4406
4407 bool operator < (const PartitionSpecWithSharedSD & ) const;
4408
4409 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4410 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4411
4412 virtual void printTo(std::ostream& out) const;
4413};
4414
4415void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b) noexcept;
4416
4417std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj);
4418
4420 _PartitionListComposingSpec__isset() : partitions(false) {}
4421 bool partitions :1;
4423
4424class PartitionListComposingSpec : public virtual ::apache::thrift::TBase {
4425 public:
4426
4429 PartitionListComposingSpec() noexcept;
4430
4431 virtual ~PartitionListComposingSpec() noexcept;
4432 std::vector<Partition> partitions;
4433
4435
4436 void __set_partitions(const std::vector<Partition> & val);
4437
4438 bool operator == (const PartitionListComposingSpec & rhs) const;
4439 bool operator != (const PartitionListComposingSpec &rhs) const {
4440 return !(*this == rhs);
4441 }
4442
4443 bool operator < (const PartitionListComposingSpec & ) const;
4444
4445 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4446 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4447
4448 virtual void printTo(std::ostream& out) const;
4449};
4450
4452
4453std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj);
4454
4456 _PartitionSpec__isset() : dbName(false), tableName(false), rootPath(false), sharedSDPartitionSpec(false), partitionList(false), catName(false), writeId(true), isStatsCompliant(false) {}
4457 bool dbName :1;
4458 bool tableName :1;
4459 bool rootPath :1;
4460 bool sharedSDPartitionSpec :1;
4461 bool partitionList :1;
4462 bool catName :1;
4463 bool writeId :1;
4464 bool isStatsCompliant :1;
4466
4467class PartitionSpec : public virtual ::apache::thrift::TBase {
4468 public:
4469
4471 PartitionSpec& operator=(const PartitionSpec&);
4472 PartitionSpec() noexcept;
4473
4474 virtual ~PartitionSpec() noexcept;
4475 std::string dbName;
4476 std::string tableName;
4477 std::string rootPath;
4478 PartitionSpecWithSharedSD sharedSDPartitionSpec;
4479 PartitionListComposingSpec partitionList;
4480 std::string catName;
4481 int64_t writeId;
4482 bool isStatsCompliant;
4483
4484 _PartitionSpec__isset __isset;
4485
4486 void __set_dbName(const std::string& val);
4487
4488 void __set_tableName(const std::string& val);
4489
4490 void __set_rootPath(const std::string& val);
4491
4492 void __set_sharedSDPartitionSpec(const PartitionSpecWithSharedSD& val);
4493
4494 void __set_partitionList(const PartitionListComposingSpec& val);
4495
4496 void __set_catName(const std::string& val);
4497
4498 void __set_writeId(const int64_t val);
4499
4500 void __set_isStatsCompliant(const bool val);
4501
4502 bool operator == (const PartitionSpec & rhs) const;
4503 bool operator != (const PartitionSpec &rhs) const {
4504 return !(*this == rhs);
4505 }
4506
4507 bool operator < (const PartitionSpec & ) const;
4508
4509 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4510 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4511
4512 virtual void printTo(std::ostream& out) const;
4513};
4514
4515void swap(PartitionSpec &a, PartitionSpec &b) noexcept;
4516
4517std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj);
4518
4519typedef struct _AggrStats__isset {
4520 _AggrStats__isset() : isStatsCompliant(false) {}
4521 bool isStatsCompliant :1;
4523
4524class AggrStats : public virtual ::apache::thrift::TBase {
4525 public:
4526
4527 AggrStats(const AggrStats&);
4528 AggrStats& operator=(const AggrStats&);
4529 AggrStats() noexcept;
4530
4531 virtual ~AggrStats() noexcept;
4532 std::vector<ColumnStatisticsObj> colStats;
4533 int64_t partsFound;
4534 bool isStatsCompliant;
4535
4536 _AggrStats__isset __isset;
4537
4538 void __set_colStats(const std::vector<ColumnStatisticsObj> & val);
4539
4540 void __set_partsFound(const int64_t val);
4541
4542 void __set_isStatsCompliant(const bool val);
4543
4544 bool operator == (const AggrStats & rhs) const;
4545 bool operator != (const AggrStats &rhs) const {
4546 return !(*this == rhs);
4547 }
4548
4549 bool operator < (const AggrStats & ) const;
4550
4551 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4552 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4553
4554 virtual void printTo(std::ostream& out) const;
4555};
4556
4557void swap(AggrStats &a, AggrStats &b) noexcept;
4558
4559std::ostream& operator<<(std::ostream& out, const AggrStats& obj);
4560
4562 _SetPartitionsStatsRequest__isset() : needMerge(false), writeId(true), validWriteIdList(false), engine(true) {}
4563 bool needMerge :1;
4564 bool writeId :1;
4565 bool validWriteIdList :1;
4566 bool engine :1;
4568
4569class SetPartitionsStatsRequest : public virtual ::apache::thrift::TBase {
4570 public:
4571
4575
4576 virtual ~SetPartitionsStatsRequest() noexcept;
4577 std::vector<ColumnStatistics> colStats;
4578 bool needMerge;
4579 int64_t writeId;
4580 std::string validWriteIdList;
4581 std::string engine;
4582
4584
4585 void __set_colStats(const std::vector<ColumnStatistics> & val);
4586
4587 void __set_needMerge(const bool val);
4588
4589 void __set_writeId(const int64_t val);
4590
4591 void __set_validWriteIdList(const std::string& val);
4592
4593 void __set_engine(const std::string& val);
4594
4595 bool operator == (const SetPartitionsStatsRequest & rhs) const;
4596 bool operator != (const SetPartitionsStatsRequest &rhs) const {
4597 return !(*this == rhs);
4598 }
4599
4600 bool operator < (const SetPartitionsStatsRequest & ) const;
4601
4602 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4603 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4604
4605 virtual void printTo(std::ostream& out) const;
4606};
4607
4608void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) noexcept;
4609
4610std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj);
4611
4612
4613class SetPartitionsStatsResponse : public virtual ::apache::thrift::TBase {
4614 public:
4615
4617 SetPartitionsStatsResponse& operator=(const SetPartitionsStatsResponse&) noexcept;
4618 SetPartitionsStatsResponse() noexcept;
4619
4620 virtual ~SetPartitionsStatsResponse() noexcept;
4621 bool result;
4622
4623 void __set_result(const bool val);
4624
4625 bool operator == (const SetPartitionsStatsResponse & rhs) const;
4626 bool operator != (const SetPartitionsStatsResponse &rhs) const {
4627 return !(*this == rhs);
4628 }
4629
4630 bool operator < (const SetPartitionsStatsResponse & ) const;
4631
4632 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4633 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4634
4635 virtual void printTo(std::ostream& out) const;
4636};
4637
4639
4640std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsResponse& obj);
4641
4642typedef struct _Schema__isset {
4643 _Schema__isset() : fieldSchemas(false), properties(false) {}
4644 bool fieldSchemas :1;
4645 bool properties :1;
4647
4648class Schema : public virtual ::apache::thrift::TBase {
4649 public:
4650
4651 Schema(const Schema&);
4652 Schema& operator=(const Schema&);
4653 Schema() noexcept;
4654
4655 virtual ~Schema() noexcept;
4656 std::vector<FieldSchema> fieldSchemas;
4657 std::map<std::string, std::string> properties;
4658
4659 _Schema__isset __isset;
4660
4661 void __set_fieldSchemas(const std::vector<FieldSchema> & val);
4662
4663 void __set_properties(const std::map<std::string, std::string> & val);
4664
4665 bool operator == (const Schema & rhs) const;
4666 bool operator != (const Schema &rhs) const {
4667 return !(*this == rhs);
4668 }
4669
4670 bool operator < (const Schema & ) const;
4671
4672 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4673 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4674
4675 virtual void printTo(std::ostream& out) const;
4676};
4677
4678void swap(Schema &a, Schema &b) noexcept;
4679
4680std::ostream& operator<<(std::ostream& out, const Schema& obj);
4681
4683 _PrimaryKeysRequest__isset() : catName(false), validWriteIdList(false), tableId(true) {}
4684 bool catName :1;
4685 bool validWriteIdList :1;
4686 bool tableId :1;
4688
4689class PrimaryKeysRequest : public virtual ::apache::thrift::TBase {
4690 public:
4691
4693 PrimaryKeysRequest& operator=(const PrimaryKeysRequest&);
4694 PrimaryKeysRequest() noexcept;
4695
4696 virtual ~PrimaryKeysRequest() noexcept;
4697 std::string db_name;
4698 std::string tbl_name;
4699 std::string catName;
4700 std::string validWriteIdList;
4701 int64_t tableId;
4702
4704
4705 void __set_db_name(const std::string& val);
4706
4707 void __set_tbl_name(const std::string& val);
4708
4709 void __set_catName(const std::string& val);
4710
4711 void __set_validWriteIdList(const std::string& val);
4712
4713 void __set_tableId(const int64_t val);
4714
4715 bool operator == (const PrimaryKeysRequest & rhs) const;
4716 bool operator != (const PrimaryKeysRequest &rhs) const {
4717 return !(*this == rhs);
4718 }
4719
4720 bool operator < (const PrimaryKeysRequest & ) const;
4721
4722 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4723 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4724
4725 virtual void printTo(std::ostream& out) const;
4726};
4727
4728void swap(PrimaryKeysRequest &a, PrimaryKeysRequest &b) noexcept;
4729
4730std::ostream& operator<<(std::ostream& out, const PrimaryKeysRequest& obj);
4731
4732
4733class PrimaryKeysResponse : public virtual ::apache::thrift::TBase {
4734 public:
4735
4737 PrimaryKeysResponse& operator=(const PrimaryKeysResponse&);
4738 PrimaryKeysResponse() noexcept;
4739
4740 virtual ~PrimaryKeysResponse() noexcept;
4741 std::vector<SQLPrimaryKey> primaryKeys;
4742
4743 void __set_primaryKeys(const std::vector<SQLPrimaryKey> & val);
4744
4745 bool operator == (const PrimaryKeysResponse & rhs) const;
4746 bool operator != (const PrimaryKeysResponse &rhs) const {
4747 return !(*this == rhs);
4748 }
4749
4750 bool operator < (const PrimaryKeysResponse & ) const;
4751
4752 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4753 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4754
4755 virtual void printTo(std::ostream& out) const;
4756};
4757
4758void swap(PrimaryKeysResponse &a, PrimaryKeysResponse &b) noexcept;
4759
4760std::ostream& operator<<(std::ostream& out, const PrimaryKeysResponse& obj);
4761
4763 _ForeignKeysRequest__isset() : parent_db_name(false), parent_tbl_name(false), foreign_db_name(false), foreign_tbl_name(false), catName(false), validWriteIdList(false), tableId(true) {}
4764 bool parent_db_name :1;
4765 bool parent_tbl_name :1;
4766 bool foreign_db_name :1;
4767 bool foreign_tbl_name :1;
4768 bool catName :1;
4769 bool validWriteIdList :1;
4770 bool tableId :1;
4772
4773class ForeignKeysRequest : public virtual ::apache::thrift::TBase {
4774 public:
4775
4777 ForeignKeysRequest& operator=(const ForeignKeysRequest&);
4778 ForeignKeysRequest() noexcept;
4779
4780 virtual ~ForeignKeysRequest() noexcept;
4781 std::string parent_db_name;
4782 std::string parent_tbl_name;
4783 std::string foreign_db_name;
4784 std::string foreign_tbl_name;
4785 std::string catName;
4786 std::string validWriteIdList;
4787 int64_t tableId;
4788
4790
4791 void __set_parent_db_name(const std::string& val);
4792
4793 void __set_parent_tbl_name(const std::string& val);
4794
4795 void __set_foreign_db_name(const std::string& val);
4796
4797 void __set_foreign_tbl_name(const std::string& val);
4798
4799 void __set_catName(const std::string& val);
4800
4801 void __set_validWriteIdList(const std::string& val);
4802
4803 void __set_tableId(const int64_t val);
4804
4805 bool operator == (const ForeignKeysRequest & rhs) const;
4806 bool operator != (const ForeignKeysRequest &rhs) const {
4807 return !(*this == rhs);
4808 }
4809
4810 bool operator < (const ForeignKeysRequest & ) const;
4811
4812 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4813 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4814
4815 virtual void printTo(std::ostream& out) const;
4816};
4817
4818void swap(ForeignKeysRequest &a, ForeignKeysRequest &b) noexcept;
4819
4820std::ostream& operator<<(std::ostream& out, const ForeignKeysRequest& obj);
4821
4822
4823class ForeignKeysResponse : public virtual ::apache::thrift::TBase {
4824 public:
4825
4827 ForeignKeysResponse& operator=(const ForeignKeysResponse&);
4828 ForeignKeysResponse() noexcept;
4829
4830 virtual ~ForeignKeysResponse() noexcept;
4831 std::vector<SQLForeignKey> foreignKeys;
4832
4833 void __set_foreignKeys(const std::vector<SQLForeignKey> & val);
4834
4835 bool operator == (const ForeignKeysResponse & rhs) const;
4836 bool operator != (const ForeignKeysResponse &rhs) const {
4837 return !(*this == rhs);
4838 }
4839
4840 bool operator < (const ForeignKeysResponse & ) const;
4841
4842 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4843 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4844
4845 virtual void printTo(std::ostream& out) const;
4846};
4847
4848void swap(ForeignKeysResponse &a, ForeignKeysResponse &b) noexcept;
4849
4850std::ostream& operator<<(std::ostream& out, const ForeignKeysResponse& obj);
4851
4853 _UniqueConstraintsRequest__isset() : validWriteIdList(false), tableId(true) {}
4854 bool validWriteIdList :1;
4855 bool tableId :1;
4857
4858class UniqueConstraintsRequest : public virtual ::apache::thrift::TBase {
4859 public:
4860
4863 UniqueConstraintsRequest() noexcept;
4864
4865 virtual ~UniqueConstraintsRequest() noexcept;
4866 std::string catName;
4867 std::string db_name;
4868 std::string tbl_name;
4869 std::string validWriteIdList;
4870 int64_t tableId;
4871
4873
4874 void __set_catName(const std::string& val);
4875
4876 void __set_db_name(const std::string& val);
4877
4878 void __set_tbl_name(const std::string& val);
4879
4880 void __set_validWriteIdList(const std::string& val);
4881
4882 void __set_tableId(const int64_t val);
4883
4884 bool operator == (const UniqueConstraintsRequest & rhs) const;
4885 bool operator != (const UniqueConstraintsRequest &rhs) const {
4886 return !(*this == rhs);
4887 }
4888
4889 bool operator < (const UniqueConstraintsRequest & ) const;
4890
4891 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4892 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4893
4894 virtual void printTo(std::ostream& out) const;
4895};
4896
4897void swap(UniqueConstraintsRequest &a, UniqueConstraintsRequest &b) noexcept;
4898
4899std::ostream& operator<<(std::ostream& out, const UniqueConstraintsRequest& obj);
4900
4901
4902class UniqueConstraintsResponse : public virtual ::apache::thrift::TBase {
4903 public:
4904
4907 UniqueConstraintsResponse() noexcept;
4908
4909 virtual ~UniqueConstraintsResponse() noexcept;
4910 std::vector<SQLUniqueConstraint> uniqueConstraints;
4911
4912 void __set_uniqueConstraints(const std::vector<SQLUniqueConstraint> & val);
4913
4914 bool operator == (const UniqueConstraintsResponse & rhs) const;
4915 bool operator != (const UniqueConstraintsResponse &rhs) const {
4916 return !(*this == rhs);
4917 }
4918
4919 bool operator < (const UniqueConstraintsResponse & ) const;
4920
4921 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4922 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4923
4924 virtual void printTo(std::ostream& out) const;
4925};
4926
4927void swap(UniqueConstraintsResponse &a, UniqueConstraintsResponse &b) noexcept;
4928
4929std::ostream& operator<<(std::ostream& out, const UniqueConstraintsResponse& obj);
4930
4932 _NotNullConstraintsRequest__isset() : validWriteIdList(false), tableId(true) {}
4933 bool validWriteIdList :1;
4934 bool tableId :1;
4936
4937class NotNullConstraintsRequest : public virtual ::apache::thrift::TBase {
4938 public:
4939
4942 NotNullConstraintsRequest() noexcept;
4943
4944 virtual ~NotNullConstraintsRequest() noexcept;
4945 std::string catName;
4946 std::string db_name;
4947 std::string tbl_name;
4948 std::string validWriteIdList;
4949 int64_t tableId;
4950
4952
4953 void __set_catName(const std::string& val);
4954
4955 void __set_db_name(const std::string& val);
4956
4957 void __set_tbl_name(const std::string& val);
4958
4959 void __set_validWriteIdList(const std::string& val);
4960
4961 void __set_tableId(const int64_t val);
4962
4963 bool operator == (const NotNullConstraintsRequest & rhs) const;
4964 bool operator != (const NotNullConstraintsRequest &rhs) const {
4965 return !(*this == rhs);
4966 }
4967
4968 bool operator < (const NotNullConstraintsRequest & ) const;
4969
4970 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
4971 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
4972
4973 virtual void printTo(std::ostream& out) const;
4974};
4975
4976void swap(NotNullConstraintsRequest &a, NotNullConstraintsRequest &b) noexcept;
4977
4978std::ostream& operator<<(std::ostream& out, const NotNullConstraintsRequest& obj);
4979
4980
4981class NotNullConstraintsResponse : public virtual ::apache::thrift::TBase {
4982 public:
4983
4986 NotNullConstraintsResponse() noexcept;
4987
4988 virtual ~NotNullConstraintsResponse() noexcept;
4989 std::vector<SQLNotNullConstraint> notNullConstraints;
4990
4991 void __set_notNullConstraints(const std::vector<SQLNotNullConstraint> & val);
4992
4993 bool operator == (const NotNullConstraintsResponse & rhs) const;
4994 bool operator != (const NotNullConstraintsResponse &rhs) const {
4995 return !(*this == rhs);
4996 }
4997
4998 bool operator < (const NotNullConstraintsResponse & ) const;
4999
5000 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5001 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5002
5003 virtual void printTo(std::ostream& out) const;
5004};
5005
5007
5008std::ostream& operator<<(std::ostream& out, const NotNullConstraintsResponse& obj);
5009
5011 _DefaultConstraintsRequest__isset() : validWriteIdList(false), tableId(true) {}
5012 bool validWriteIdList :1;
5013 bool tableId :1;
5015
5016class DefaultConstraintsRequest : public virtual ::apache::thrift::TBase {
5017 public:
5018
5021 DefaultConstraintsRequest() noexcept;
5022
5023 virtual ~DefaultConstraintsRequest() noexcept;
5024 std::string catName;
5025 std::string db_name;
5026 std::string tbl_name;
5027 std::string validWriteIdList;
5028 int64_t tableId;
5029
5031
5032 void __set_catName(const std::string& val);
5033
5034 void __set_db_name(const std::string& val);
5035
5036 void __set_tbl_name(const std::string& val);
5037
5038 void __set_validWriteIdList(const std::string& val);
5039
5040 void __set_tableId(const int64_t val);
5041
5042 bool operator == (const DefaultConstraintsRequest & rhs) const;
5043 bool operator != (const DefaultConstraintsRequest &rhs) const {
5044 return !(*this == rhs);
5045 }
5046
5047 bool operator < (const DefaultConstraintsRequest & ) const;
5048
5049 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5050 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5051
5052 virtual void printTo(std::ostream& out) const;
5053};
5054
5055void swap(DefaultConstraintsRequest &a, DefaultConstraintsRequest &b) noexcept;
5056
5057std::ostream& operator<<(std::ostream& out, const DefaultConstraintsRequest& obj);
5058
5059
5060class DefaultConstraintsResponse : public virtual ::apache::thrift::TBase {
5061 public:
5062
5065 DefaultConstraintsResponse() noexcept;
5066
5067 virtual ~DefaultConstraintsResponse() noexcept;
5068 std::vector<SQLDefaultConstraint> defaultConstraints;
5069
5070 void __set_defaultConstraints(const std::vector<SQLDefaultConstraint> & val);
5071
5072 bool operator == (const DefaultConstraintsResponse & rhs) const;
5073 bool operator != (const DefaultConstraintsResponse &rhs) const {
5074 return !(*this == rhs);
5075 }
5076
5077 bool operator < (const DefaultConstraintsResponse & ) const;
5078
5079 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5080 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5081
5082 virtual void printTo(std::ostream& out) const;
5083};
5084
5086
5087std::ostream& operator<<(std::ostream& out, const DefaultConstraintsResponse& obj);
5088
5090 _CheckConstraintsRequest__isset() : validWriteIdList(false), tableId(true) {}
5091 bool validWriteIdList :1;
5092 bool tableId :1;
5094
5095class CheckConstraintsRequest : public virtual ::apache::thrift::TBase {
5096 public:
5097
5100 CheckConstraintsRequest() noexcept;
5101
5102 virtual ~CheckConstraintsRequest() noexcept;
5103 std::string catName;
5104 std::string db_name;
5105 std::string tbl_name;
5106 std::string validWriteIdList;
5107 int64_t tableId;
5108
5110
5111 void __set_catName(const std::string& val);
5112
5113 void __set_db_name(const std::string& val);
5114
5115 void __set_tbl_name(const std::string& val);
5116
5117 void __set_validWriteIdList(const std::string& val);
5118
5119 void __set_tableId(const int64_t val);
5120
5121 bool operator == (const CheckConstraintsRequest & rhs) const;
5122 bool operator != (const CheckConstraintsRequest &rhs) const {
5123 return !(*this == rhs);
5124 }
5125
5126 bool operator < (const CheckConstraintsRequest & ) const;
5127
5128 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5129 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5130
5131 virtual void printTo(std::ostream& out) const;
5132};
5133
5134void swap(CheckConstraintsRequest &a, CheckConstraintsRequest &b) noexcept;
5135
5136std::ostream& operator<<(std::ostream& out, const CheckConstraintsRequest& obj);
5137
5138
5139class CheckConstraintsResponse : public virtual ::apache::thrift::TBase {
5140 public:
5141
5144 CheckConstraintsResponse() noexcept;
5145
5146 virtual ~CheckConstraintsResponse() noexcept;
5147 std::vector<SQLCheckConstraint> checkConstraints;
5148
5149 void __set_checkConstraints(const std::vector<SQLCheckConstraint> & val);
5150
5151 bool operator == (const CheckConstraintsResponse & rhs) const;
5152 bool operator != (const CheckConstraintsResponse &rhs) const {
5153 return !(*this == rhs);
5154 }
5155
5156 bool operator < (const CheckConstraintsResponse & ) const;
5157
5158 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5159 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5160
5161 virtual void printTo(std::ostream& out) const;
5162};
5163
5164void swap(CheckConstraintsResponse &a, CheckConstraintsResponse &b) noexcept;
5165
5166std::ostream& operator<<(std::ostream& out, const CheckConstraintsResponse& obj);
5167
5169 _AllTableConstraintsRequest__isset() : validWriteIdList(false), tableId(true) {}
5170 bool validWriteIdList :1;
5171 bool tableId :1;
5173
5174class AllTableConstraintsRequest : public virtual ::apache::thrift::TBase {
5175 public:
5176
5179 AllTableConstraintsRequest() noexcept;
5180
5181 virtual ~AllTableConstraintsRequest() noexcept;
5182 std::string dbName;
5183 std::string tblName;
5184 std::string catName;
5185 std::string validWriteIdList;
5186 int64_t tableId;
5187
5189
5190 void __set_dbName(const std::string& val);
5191
5192 void __set_tblName(const std::string& val);
5193
5194 void __set_catName(const std::string& val);
5195
5196 void __set_validWriteIdList(const std::string& val);
5197
5198 void __set_tableId(const int64_t val);
5199
5200 bool operator == (const AllTableConstraintsRequest & rhs) const;
5201 bool operator != (const AllTableConstraintsRequest &rhs) const {
5202 return !(*this == rhs);
5203 }
5204
5205 bool operator < (const AllTableConstraintsRequest & ) const;
5206
5207 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5208 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5209
5210 virtual void printTo(std::ostream& out) const;
5211};
5212
5214
5215std::ostream& operator<<(std::ostream& out, const AllTableConstraintsRequest& obj);
5216
5217
5218class AllTableConstraintsResponse : public virtual ::apache::thrift::TBase {
5219 public:
5220
5223 AllTableConstraintsResponse() noexcept;
5224
5225 virtual ~AllTableConstraintsResponse() noexcept;
5226 SQLAllTableConstraints allTableConstraints;
5227
5228 void __set_allTableConstraints(const SQLAllTableConstraints& val);
5229
5230 bool operator == (const AllTableConstraintsResponse & rhs) const;
5231 bool operator != (const AllTableConstraintsResponse &rhs) const {
5232 return !(*this == rhs);
5233 }
5234
5235 bool operator < (const AllTableConstraintsResponse & ) const;
5236
5237 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5238 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5239
5240 virtual void printTo(std::ostream& out) const;
5241};
5242
5244
5245std::ostream& operator<<(std::ostream& out, const AllTableConstraintsResponse& obj);
5246
5248 _DropConstraintRequest__isset() : catName(false) {}
5249 bool catName :1;
5251
5252class DropConstraintRequest : public virtual ::apache::thrift::TBase {
5253 public:
5254
5257 DropConstraintRequest() noexcept;
5258
5259 virtual ~DropConstraintRequest() noexcept;
5260 std::string dbname;
5261 std::string tablename;
5262 std::string constraintname;
5263 std::string catName;
5264
5266
5267 void __set_dbname(const std::string& val);
5268
5269 void __set_tablename(const std::string& val);
5270
5271 void __set_constraintname(const std::string& val);
5272
5273 void __set_catName(const std::string& val);
5274
5275 bool operator == (const DropConstraintRequest & rhs) const;
5276 bool operator != (const DropConstraintRequest &rhs) const {
5277 return !(*this == rhs);
5278 }
5279
5280 bool operator < (const DropConstraintRequest & ) const;
5281
5282 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5283 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5284
5285 virtual void printTo(std::ostream& out) const;
5286};
5287
5288void swap(DropConstraintRequest &a, DropConstraintRequest &b) noexcept;
5289
5290std::ostream& operator<<(std::ostream& out, const DropConstraintRequest& obj);
5291
5292
5293class AddPrimaryKeyRequest : public virtual ::apache::thrift::TBase {
5294 public:
5295
5297 AddPrimaryKeyRequest& operator=(const AddPrimaryKeyRequest&);
5298 AddPrimaryKeyRequest() noexcept;
5299
5300 virtual ~AddPrimaryKeyRequest() noexcept;
5301 std::vector<SQLPrimaryKey> primaryKeyCols;
5302
5303 void __set_primaryKeyCols(const std::vector<SQLPrimaryKey> & val);
5304
5305 bool operator == (const AddPrimaryKeyRequest & rhs) const;
5306 bool operator != (const AddPrimaryKeyRequest &rhs) const {
5307 return !(*this == rhs);
5308 }
5309
5310 bool operator < (const AddPrimaryKeyRequest & ) const;
5311
5312 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5313 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5314
5315 virtual void printTo(std::ostream& out) const;
5316};
5317
5318void swap(AddPrimaryKeyRequest &a, AddPrimaryKeyRequest &b) noexcept;
5319
5320std::ostream& operator<<(std::ostream& out, const AddPrimaryKeyRequest& obj);
5321
5322
5323class AddForeignKeyRequest : public virtual ::apache::thrift::TBase {
5324 public:
5325
5327 AddForeignKeyRequest& operator=(const AddForeignKeyRequest&);
5328 AddForeignKeyRequest() noexcept;
5329
5330 virtual ~AddForeignKeyRequest() noexcept;
5331 std::vector<SQLForeignKey> foreignKeyCols;
5332
5333 void __set_foreignKeyCols(const std::vector<SQLForeignKey> & val);
5334
5335 bool operator == (const AddForeignKeyRequest & rhs) const;
5336 bool operator != (const AddForeignKeyRequest &rhs) const {
5337 return !(*this == rhs);
5338 }
5339
5340 bool operator < (const AddForeignKeyRequest & ) const;
5341
5342 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5343 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5344
5345 virtual void printTo(std::ostream& out) const;
5346};
5347
5348void swap(AddForeignKeyRequest &a, AddForeignKeyRequest &b) noexcept;
5349
5350std::ostream& operator<<(std::ostream& out, const AddForeignKeyRequest& obj);
5351
5352
5353class AddUniqueConstraintRequest : public virtual ::apache::thrift::TBase {
5354 public:
5355
5358 AddUniqueConstraintRequest() noexcept;
5359
5360 virtual ~AddUniqueConstraintRequest() noexcept;
5361 std::vector<SQLUniqueConstraint> uniqueConstraintCols;
5362
5363 void __set_uniqueConstraintCols(const std::vector<SQLUniqueConstraint> & val);
5364
5365 bool operator == (const AddUniqueConstraintRequest & rhs) const;
5366 bool operator != (const AddUniqueConstraintRequest &rhs) const {
5367 return !(*this == rhs);
5368 }
5369
5370 bool operator < (const AddUniqueConstraintRequest & ) const;
5371
5372 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5373 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5374
5375 virtual void printTo(std::ostream& out) const;
5376};
5377
5379
5380std::ostream& operator<<(std::ostream& out, const AddUniqueConstraintRequest& obj);
5381
5382
5383class AddNotNullConstraintRequest : public virtual ::apache::thrift::TBase {
5384 public:
5385
5388 AddNotNullConstraintRequest() noexcept;
5389
5390 virtual ~AddNotNullConstraintRequest() noexcept;
5391 std::vector<SQLNotNullConstraint> notNullConstraintCols;
5392
5393 void __set_notNullConstraintCols(const std::vector<SQLNotNullConstraint> & val);
5394
5395 bool operator == (const AddNotNullConstraintRequest & rhs) const;
5396 bool operator != (const AddNotNullConstraintRequest &rhs) const {
5397 return !(*this == rhs);
5398 }
5399
5400 bool operator < (const AddNotNullConstraintRequest & ) const;
5401
5402 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5403 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5404
5405 virtual void printTo(std::ostream& out) const;
5406};
5407
5409
5410std::ostream& operator<<(std::ostream& out, const AddNotNullConstraintRequest& obj);
5411
5412
5413class AddDefaultConstraintRequest : public virtual ::apache::thrift::TBase {
5414 public:
5415
5418 AddDefaultConstraintRequest() noexcept;
5419
5420 virtual ~AddDefaultConstraintRequest() noexcept;
5421 std::vector<SQLDefaultConstraint> defaultConstraintCols;
5422
5423 void __set_defaultConstraintCols(const std::vector<SQLDefaultConstraint> & val);
5424
5425 bool operator == (const AddDefaultConstraintRequest & rhs) const;
5426 bool operator != (const AddDefaultConstraintRequest &rhs) const {
5427 return !(*this == rhs);
5428 }
5429
5430 bool operator < (const AddDefaultConstraintRequest & ) const;
5431
5432 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5433 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5434
5435 virtual void printTo(std::ostream& out) const;
5436};
5437
5439
5440std::ostream& operator<<(std::ostream& out, const AddDefaultConstraintRequest& obj);
5441
5442
5443class AddCheckConstraintRequest : public virtual ::apache::thrift::TBase {
5444 public:
5445
5448 AddCheckConstraintRequest() noexcept;
5449
5450 virtual ~AddCheckConstraintRequest() noexcept;
5451 std::vector<SQLCheckConstraint> checkConstraintCols;
5452
5453 void __set_checkConstraintCols(const std::vector<SQLCheckConstraint> & val);
5454
5455 bool operator == (const AddCheckConstraintRequest & rhs) const;
5456 bool operator != (const AddCheckConstraintRequest &rhs) const {
5457 return !(*this == rhs);
5458 }
5459
5460 bool operator < (const AddCheckConstraintRequest & ) const;
5461
5462 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5463 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5464
5465 virtual void printTo(std::ostream& out) const;
5466};
5467
5468void swap(AddCheckConstraintRequest &a, AddCheckConstraintRequest &b) noexcept;
5469
5470std::ostream& operator<<(std::ostream& out, const AddCheckConstraintRequest& obj);
5471
5472
5473class PartitionsByExprResult : public virtual ::apache::thrift::TBase {
5474 public:
5475
5478 PartitionsByExprResult() noexcept;
5479
5480 virtual ~PartitionsByExprResult() noexcept;
5481 std::vector<Partition> partitions;
5482 bool hasUnknownPartitions;
5483
5484 void __set_partitions(const std::vector<Partition> & val);
5485
5486 void __set_hasUnknownPartitions(const bool val);
5487
5488 bool operator == (const PartitionsByExprResult & rhs) const;
5489 bool operator != (const PartitionsByExprResult &rhs) const {
5490 return !(*this == rhs);
5491 }
5492
5493 bool operator < (const PartitionsByExprResult & ) const;
5494
5495 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5496 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5497
5498 virtual void printTo(std::ostream& out) const;
5499};
5500
5501void swap(PartitionsByExprResult &a, PartitionsByExprResult &b) noexcept;
5502
5503std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj);
5504
5505
5506class PartitionsSpecByExprResult : public virtual ::apache::thrift::TBase {
5507 public:
5508
5511 PartitionsSpecByExprResult() noexcept;
5512
5513 virtual ~PartitionsSpecByExprResult() noexcept;
5514 std::vector<PartitionSpec> partitionsSpec;
5515 bool hasUnknownPartitions;
5516
5517 void __set_partitionsSpec(const std::vector<PartitionSpec> & val);
5518
5519 void __set_hasUnknownPartitions(const bool val);
5520
5521 bool operator == (const PartitionsSpecByExprResult & rhs) const;
5522 bool operator != (const PartitionsSpecByExprResult &rhs) const {
5523 return !(*this == rhs);
5524 }
5525
5526 bool operator < (const PartitionsSpecByExprResult & ) const;
5527
5528 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5529 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5530
5531 virtual void printTo(std::ostream& out) const;
5532};
5533
5535
5536std::ostream& operator<<(std::ostream& out, const PartitionsSpecByExprResult& obj);
5537
5539 _PartitionsByExprRequest__isset() : defaultPartitionName(false), maxParts(true), catName(false), order(false), validWriteIdList(false), id(true), skipColumnSchemaForPartition(false), includeParamKeyPattern(false), excludeParamKeyPattern(false) {}
5540 bool defaultPartitionName :1;
5541 bool maxParts :1;
5542 bool catName :1;
5543 bool order :1;
5544 bool validWriteIdList :1;
5545 bool id :1;
5546 bool skipColumnSchemaForPartition :1;
5547 bool includeParamKeyPattern :1;
5548 bool excludeParamKeyPattern :1;
5550
5551class PartitionsByExprRequest : public virtual ::apache::thrift::TBase {
5552 public:
5553
5556 PartitionsByExprRequest() noexcept;
5557
5558 virtual ~PartitionsByExprRequest() noexcept;
5559 std::string dbName;
5560 std::string tblName;
5561 std::string expr;
5562 std::string defaultPartitionName;
5563 int16_t maxParts;
5564 std::string catName;
5565 std::string order;
5566 std::string validWriteIdList;
5567 int64_t id;
5568 bool skipColumnSchemaForPartition;
5569 std::string includeParamKeyPattern;
5570 std::string excludeParamKeyPattern;
5571
5573
5574 void __set_dbName(const std::string& val);
5575
5576 void __set_tblName(const std::string& val);
5577
5578 void __set_expr(const std::string& val);
5579
5580 void __set_defaultPartitionName(const std::string& val);
5581
5582 void __set_maxParts(const int16_t val);
5583
5584 void __set_catName(const std::string& val);
5585
5586 void __set_order(const std::string& val);
5587
5588 void __set_validWriteIdList(const std::string& val);
5589
5590 void __set_id(const int64_t val);
5591
5592 void __set_skipColumnSchemaForPartition(const bool val);
5593
5594 void __set_includeParamKeyPattern(const std::string& val);
5595
5596 void __set_excludeParamKeyPattern(const std::string& val);
5597
5598 bool operator == (const PartitionsByExprRequest & rhs) const;
5599 bool operator != (const PartitionsByExprRequest &rhs) const {
5600 return !(*this == rhs);
5601 }
5602
5603 bool operator < (const PartitionsByExprRequest & ) const;
5604
5605 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5606 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5607
5608 virtual void printTo(std::ostream& out) const;
5609};
5610
5611void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b) noexcept;
5612
5613std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj);
5614
5616 _TableStatsResult__isset() : isStatsCompliant(false) {}
5617 bool isStatsCompliant :1;
5619
5620class TableStatsResult : public virtual ::apache::thrift::TBase {
5621 public:
5622
5624 TableStatsResult& operator=(const TableStatsResult&);
5625 TableStatsResult() noexcept;
5626
5627 virtual ~TableStatsResult() noexcept;
5628 std::vector<ColumnStatisticsObj> tableStats;
5629 bool isStatsCompliant;
5630
5632
5633 void __set_tableStats(const std::vector<ColumnStatisticsObj> & val);
5634
5635 void __set_isStatsCompliant(const bool val);
5636
5637 bool operator == (const TableStatsResult & rhs) const;
5638 bool operator != (const TableStatsResult &rhs) const {
5639 return !(*this == rhs);
5640 }
5641
5642 bool operator < (const TableStatsResult & ) const;
5643
5644 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5645 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5646
5647 virtual void printTo(std::ostream& out) const;
5648};
5649
5650void swap(TableStatsResult &a, TableStatsResult &b) noexcept;
5651
5652std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj);
5653
5655 _PartitionsStatsResult__isset() : isStatsCompliant(false) {}
5656 bool isStatsCompliant :1;
5658
5659class PartitionsStatsResult : public virtual ::apache::thrift::TBase {
5660 public:
5661
5664 PartitionsStatsResult() noexcept;
5665
5666 virtual ~PartitionsStatsResult() noexcept;
5667 std::map<std::string, std::vector<ColumnStatisticsObj> > partStats;
5668 bool isStatsCompliant;
5669
5671
5672 void __set_partStats(const std::map<std::string, std::vector<ColumnStatisticsObj> > & val);
5673
5674 void __set_isStatsCompliant(const bool val);
5675
5676 bool operator == (const PartitionsStatsResult & rhs) const;
5677 bool operator != (const PartitionsStatsResult &rhs) const {
5678 return !(*this == rhs);
5679 }
5680
5681 bool operator < (const PartitionsStatsResult & ) const;
5682
5683 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5684 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5685
5686 virtual void printTo(std::ostream& out) const;
5687};
5688
5689void swap(PartitionsStatsResult &a, PartitionsStatsResult &b) noexcept;
5690
5691std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj);
5692
5694 _TableStatsRequest__isset() : catName(false), validWriteIdList(false), engine(true), id(true) {}
5695 bool catName :1;
5696 bool validWriteIdList :1;
5697 bool engine :1;
5698 bool id :1;
5700
5701class TableStatsRequest : public virtual ::apache::thrift::TBase {
5702 public:
5703
5705 TableStatsRequest& operator=(const TableStatsRequest&);
5707
5708 virtual ~TableStatsRequest() noexcept;
5709 std::string dbName;
5710 std::string tblName;
5711 std::vector<std::string> colNames;
5712 std::string catName;
5713 std::string validWriteIdList;
5714 std::string engine;
5715 int64_t id;
5716
5718
5719 void __set_dbName(const std::string& val);
5720
5721 void __set_tblName(const std::string& val);
5722
5723 void __set_colNames(const std::vector<std::string> & val);
5724
5725 void __set_catName(const std::string& val);
5726
5727 void __set_validWriteIdList(const std::string& val);
5728
5729 void __set_engine(const std::string& val);
5730
5731 void __set_id(const int64_t val);
5732
5733 bool operator == (const TableStatsRequest & rhs) const;
5734 bool operator != (const TableStatsRequest &rhs) const {
5735 return !(*this == rhs);
5736 }
5737
5738 bool operator < (const TableStatsRequest & ) const;
5739
5740 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5741 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5742
5743 virtual void printTo(std::ostream& out) const;
5744};
5745
5746void swap(TableStatsRequest &a, TableStatsRequest &b) noexcept;
5747
5748std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj);
5749
5751 _PartitionsStatsRequest__isset() : catName(false), validWriteIdList(false), engine(true) {}
5752 bool catName :1;
5753 bool validWriteIdList :1;
5754 bool engine :1;
5756
5757class PartitionsStatsRequest : public virtual ::apache::thrift::TBase {
5758 public:
5759
5763
5764 virtual ~PartitionsStatsRequest() noexcept;
5765 std::string dbName;
5766 std::string tblName;
5767 std::vector<std::string> colNames;
5768 std::vector<std::string> partNames;
5769 std::string catName;
5770 std::string validWriteIdList;
5771 std::string engine;
5772
5774
5775 void __set_dbName(const std::string& val);
5776
5777 void __set_tblName(const std::string& val);
5778
5779 void __set_colNames(const std::vector<std::string> & val);
5780
5781 void __set_partNames(const std::vector<std::string> & val);
5782
5783 void __set_catName(const std::string& val);
5784
5785 void __set_validWriteIdList(const std::string& val);
5786
5787 void __set_engine(const std::string& val);
5788
5789 bool operator == (const PartitionsStatsRequest & rhs) const;
5790 bool operator != (const PartitionsStatsRequest &rhs) const {
5791 return !(*this == rhs);
5792 }
5793
5794 bool operator < (const PartitionsStatsRequest & ) const;
5795
5796 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5797 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5798
5799 virtual void printTo(std::ostream& out) const;
5800};
5801
5802void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b) noexcept;
5803
5804std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj);
5805
5807 _AddPartitionsResult__isset() : partitions(false), isStatsCompliant(false), partitionColSchema(false) {}
5808 bool partitions :1;
5809 bool isStatsCompliant :1;
5810 bool partitionColSchema :1;
5812
5813class AddPartitionsResult : public virtual ::apache::thrift::TBase {
5814 public:
5815
5817 AddPartitionsResult& operator=(const AddPartitionsResult&);
5818 AddPartitionsResult() noexcept;
5819
5820 virtual ~AddPartitionsResult() noexcept;
5821 std::vector<Partition> partitions;
5822 bool isStatsCompliant;
5823 std::vector<FieldSchema> partitionColSchema;
5824
5826
5827 void __set_partitions(const std::vector<Partition> & val);
5828
5829 void __set_isStatsCompliant(const bool val);
5830
5831 void __set_partitionColSchema(const std::vector<FieldSchema> & val);
5832
5833 bool operator == (const AddPartitionsResult & rhs) const;
5834 bool operator != (const AddPartitionsResult &rhs) const {
5835 return !(*this == rhs);
5836 }
5837
5838 bool operator < (const AddPartitionsResult & ) const;
5839
5840 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5841 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5842
5843 virtual void printTo(std::ostream& out) const;
5844};
5845
5846void swap(AddPartitionsResult &a, AddPartitionsResult &b) noexcept;
5847
5848std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj);
5849
5851 _AddPartitionsRequest__isset() : needResult(true), catName(false), validWriteIdList(false), skipColumnSchemaForPartition(false), partitionColSchema(false), environmentContext(false) {}
5852 bool needResult :1;
5853 bool catName :1;
5854 bool validWriteIdList :1;
5855 bool skipColumnSchemaForPartition :1;
5856 bool partitionColSchema :1;
5857 bool environmentContext :1;
5859
5860class AddPartitionsRequest : public virtual ::apache::thrift::TBase {
5861 public:
5862
5864 AddPartitionsRequest& operator=(const AddPartitionsRequest&);
5865 AddPartitionsRequest() noexcept;
5866
5867 virtual ~AddPartitionsRequest() noexcept;
5868 std::string dbName;
5869 std::string tblName;
5870 std::vector<Partition> parts;
5871 bool ifNotExists;
5872 bool needResult;
5873 std::string catName;
5874 std::string validWriteIdList;
5875 bool skipColumnSchemaForPartition;
5876 std::vector<FieldSchema> partitionColSchema;
5877 EnvironmentContext environmentContext;
5878
5880
5881 void __set_dbName(const std::string& val);
5882
5883 void __set_tblName(const std::string& val);
5884
5885 void __set_parts(const std::vector<Partition> & val);
5886
5887 void __set_ifNotExists(const bool val);
5888
5889 void __set_needResult(const bool val);
5890
5891 void __set_catName(const std::string& val);
5892
5893 void __set_validWriteIdList(const std::string& val);
5894
5895 void __set_skipColumnSchemaForPartition(const bool val);
5896
5897 void __set_partitionColSchema(const std::vector<FieldSchema> & val);
5898
5899 void __set_environmentContext(const EnvironmentContext& val);
5900
5901 bool operator == (const AddPartitionsRequest & rhs) const;
5902 bool operator != (const AddPartitionsRequest &rhs) const {
5903 return !(*this == rhs);
5904 }
5905
5906 bool operator < (const AddPartitionsRequest & ) const;
5907
5908 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5909 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5910
5911 virtual void printTo(std::ostream& out) const;
5912};
5913
5914void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) noexcept;
5915
5916std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj);
5917
5919 _DropPartitionsResult__isset() : partitions(false) {}
5920 bool partitions :1;
5922
5923class DropPartitionsResult : public virtual ::apache::thrift::TBase {
5924 public:
5925
5927 DropPartitionsResult& operator=(const DropPartitionsResult&);
5928 DropPartitionsResult() noexcept;
5929
5930 virtual ~DropPartitionsResult() noexcept;
5931 std::vector<Partition> partitions;
5932
5934
5935 void __set_partitions(const std::vector<Partition> & val);
5936
5937 bool operator == (const DropPartitionsResult & rhs) const;
5938 bool operator != (const DropPartitionsResult &rhs) const {
5939 return !(*this == rhs);
5940 }
5941
5942 bool operator < (const DropPartitionsResult & ) const;
5943
5944 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5945 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5946
5947 virtual void printTo(std::ostream& out) const;
5948};
5949
5950void swap(DropPartitionsResult &a, DropPartitionsResult &b) noexcept;
5951
5952std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj);
5953
5955 _DropPartitionsExpr__isset() : partArchiveLevel(false) {}
5956 bool partArchiveLevel :1;
5958
5959class DropPartitionsExpr : public virtual ::apache::thrift::TBase {
5960 public:
5961
5963 DropPartitionsExpr& operator=(const DropPartitionsExpr&);
5964 DropPartitionsExpr() noexcept;
5965
5966 virtual ~DropPartitionsExpr() noexcept;
5967 std::string expr;
5968 int32_t partArchiveLevel;
5969
5971
5972 void __set_expr(const std::string& val);
5973
5974 void __set_partArchiveLevel(const int32_t val);
5975
5976 bool operator == (const DropPartitionsExpr & rhs) const;
5977 bool operator != (const DropPartitionsExpr &rhs) const {
5978 return !(*this == rhs);
5979 }
5980
5981 bool operator < (const DropPartitionsExpr & ) const;
5982
5983 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
5984 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
5985
5986 virtual void printTo(std::ostream& out) const;
5987};
5988
5989void swap(DropPartitionsExpr &a, DropPartitionsExpr &b) noexcept;
5990
5991std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj);
5992
5994 _RequestPartsSpec__isset() : names(false), exprs(false) {}
5995 bool names :1;
5996 bool exprs :1;
5998
5999class RequestPartsSpec : public virtual ::apache::thrift::TBase {
6000 public:
6001
6003 RequestPartsSpec& operator=(const RequestPartsSpec&);
6004 RequestPartsSpec() noexcept;
6005
6006 virtual ~RequestPartsSpec() noexcept;
6007 std::vector<std::string> names;
6008 std::vector<DropPartitionsExpr> exprs;
6009
6011
6012 void __set_names(const std::vector<std::string> & val);
6013
6014 void __set_exprs(const std::vector<DropPartitionsExpr> & val);
6015
6016 bool operator == (const RequestPartsSpec & rhs) const;
6017 bool operator != (const RequestPartsSpec &rhs) const {
6018 return !(*this == rhs);
6019 }
6020
6021 bool operator < (const RequestPartsSpec & ) const;
6022
6023 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6024 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6025
6026 virtual void printTo(std::ostream& out) const;
6027};
6028
6029void swap(RequestPartsSpec &a, RequestPartsSpec &b) noexcept;
6030
6031std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj);
6032
6034 _DropPartitionsRequest__isset() : deleteData(false), ifExists(true), ignoreProtection(false), environmentContext(false), needResult(true), catName(false), skipColumnSchemaForPartition(false) {}
6035 bool deleteData :1;
6036 bool ifExists :1;
6037 bool ignoreProtection :1;
6038 bool environmentContext :1;
6039 bool needResult :1;
6040 bool catName :1;
6041 bool skipColumnSchemaForPartition :1;
6043
6044class DropPartitionsRequest : public virtual ::apache::thrift::TBase {
6045 public:
6046
6049 DropPartitionsRequest() noexcept;
6050
6051 virtual ~DropPartitionsRequest() noexcept;
6052 std::string dbName;
6053 std::string tblName;
6054 RequestPartsSpec parts;
6055 bool deleteData;
6056 bool ifExists;
6057 bool ignoreProtection;
6058 EnvironmentContext environmentContext;
6059 bool needResult;
6060 std::string catName;
6061 bool skipColumnSchemaForPartition;
6062
6064
6065 void __set_dbName(const std::string& val);
6066
6067 void __set_tblName(const std::string& val);
6068
6069 void __set_parts(const RequestPartsSpec& val);
6070
6071 void __set_deleteData(const bool val);
6072
6073 void __set_ifExists(const bool val);
6074
6075 void __set_ignoreProtection(const bool val);
6076
6077 void __set_environmentContext(const EnvironmentContext& val);
6078
6079 void __set_needResult(const bool val);
6080
6081 void __set_catName(const std::string& val);
6082
6083 void __set_skipColumnSchemaForPartition(const bool val);
6084
6085 bool operator == (const DropPartitionsRequest & rhs) const;
6086 bool operator != (const DropPartitionsRequest &rhs) const {
6087 return !(*this == rhs);
6088 }
6089
6090 bool operator < (const DropPartitionsRequest & ) const;
6091
6092 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6093 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6094
6095 virtual void printTo(std::ostream& out) const;
6096};
6097
6098void swap(DropPartitionsRequest &a, DropPartitionsRequest &b) noexcept;
6099
6100std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj);
6101
6103 _DropPartitionRequest__isset() : catName(false), partName(false), partVals(false), deleteData(false), environmentContext(false) {}
6104 bool catName :1;
6105 bool partName :1;
6106 bool partVals :1;
6107 bool deleteData :1;
6108 bool environmentContext :1;
6110
6111class DropPartitionRequest : public virtual ::apache::thrift::TBase {
6112 public:
6113
6115 DropPartitionRequest& operator=(const DropPartitionRequest&);
6116 DropPartitionRequest() noexcept;
6117
6118 virtual ~DropPartitionRequest() noexcept;
6119 std::string catName;
6120 std::string dbName;
6121 std::string tblName;
6122 std::string partName;
6123 std::vector<std::string> partVals;
6124 bool deleteData;
6125 EnvironmentContext environmentContext;
6126
6128
6129 void __set_catName(const std::string& val);
6130
6131 void __set_dbName(const std::string& val);
6132
6133 void __set_tblName(const std::string& val);
6134
6135 void __set_partName(const std::string& val);
6136
6137 void __set_partVals(const std::vector<std::string> & val);
6138
6139 void __set_deleteData(const bool val);
6140
6141 void __set_environmentContext(const EnvironmentContext& val);
6142
6143 bool operator == (const DropPartitionRequest & rhs) const;
6144 bool operator != (const DropPartitionRequest &rhs) const {
6145 return !(*this == rhs);
6146 }
6147
6148 bool operator < (const DropPartitionRequest & ) const;
6149
6150 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6151 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6152
6153 virtual void printTo(std::ostream& out) const;
6154};
6155
6156void swap(DropPartitionRequest &a, DropPartitionRequest &b) noexcept;
6157
6158std::ostream& operator<<(std::ostream& out, const DropPartitionRequest& obj);
6159
6161 _PartitionValuesRequest__isset() : applyDistinct(true), filter(false), partitionOrder(false), ascending(true), maxParts(true), catName(false), validWriteIdList(false) {}
6162 bool applyDistinct :1;
6163 bool filter :1;
6164 bool partitionOrder :1;
6165 bool ascending :1;
6166 bool maxParts :1;
6167 bool catName :1;
6168 bool validWriteIdList :1;
6170
6171class PartitionValuesRequest : public virtual ::apache::thrift::TBase {
6172 public:
6173
6176 PartitionValuesRequest() noexcept;
6177
6178 virtual ~PartitionValuesRequest() noexcept;
6179 std::string dbName;
6180 std::string tblName;
6181 std::vector<FieldSchema> partitionKeys;
6182 bool applyDistinct;
6183 std::string filter;
6184 std::vector<FieldSchema> partitionOrder;
6185 bool ascending;
6186 int64_t maxParts;
6187 std::string catName;
6188 std::string validWriteIdList;
6189
6191
6192 void __set_dbName(const std::string& val);
6193
6194 void __set_tblName(const std::string& val);
6195
6196 void __set_partitionKeys(const std::vector<FieldSchema> & val);
6197
6198 void __set_applyDistinct(const bool val);
6199
6200 void __set_filter(const std::string& val);
6201
6202 void __set_partitionOrder(const std::vector<FieldSchema> & val);
6203
6204 void __set_ascending(const bool val);
6205
6206 void __set_maxParts(const int64_t val);
6207
6208 void __set_catName(const std::string& val);
6209
6210 void __set_validWriteIdList(const std::string& val);
6211
6212 bool operator == (const PartitionValuesRequest & rhs) const;
6213 bool operator != (const PartitionValuesRequest &rhs) const {
6214 return !(*this == rhs);
6215 }
6216
6217 bool operator < (const PartitionValuesRequest & ) const;
6218
6219 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6220 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6221
6222 virtual void printTo(std::ostream& out) const;
6223};
6224
6225void swap(PartitionValuesRequest &a, PartitionValuesRequest &b) noexcept;
6226
6227std::ostream& operator<<(std::ostream& out, const PartitionValuesRequest& obj);
6228
6229
6230class PartitionValuesRow : public virtual ::apache::thrift::TBase {
6231 public:
6232
6234 PartitionValuesRow& operator=(const PartitionValuesRow&);
6235 PartitionValuesRow() noexcept;
6236
6237 virtual ~PartitionValuesRow() noexcept;
6238 std::vector<std::string> row;
6239
6240 void __set_row(const std::vector<std::string> & val);
6241
6242 bool operator == (const PartitionValuesRow & rhs) const;
6243 bool operator != (const PartitionValuesRow &rhs) const {
6244 return !(*this == rhs);
6245 }
6246
6247 bool operator < (const PartitionValuesRow & ) const;
6248
6249 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6250 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6251
6252 virtual void printTo(std::ostream& out) const;
6253};
6254
6255void swap(PartitionValuesRow &a, PartitionValuesRow &b) noexcept;
6256
6257std::ostream& operator<<(std::ostream& out, const PartitionValuesRow& obj);
6258
6259
6260class PartitionValuesResponse : public virtual ::apache::thrift::TBase {
6261 public:
6262
6265 PartitionValuesResponse() noexcept;
6266
6267 virtual ~PartitionValuesResponse() noexcept;
6268 std::vector<PartitionValuesRow> partitionValues;
6269
6270 void __set_partitionValues(const std::vector<PartitionValuesRow> & val);
6271
6272 bool operator == (const PartitionValuesResponse & rhs) const;
6273 bool operator != (const PartitionValuesResponse &rhs) const {
6274 return !(*this == rhs);
6275 }
6276
6277 bool operator < (const PartitionValuesResponse & ) const;
6278
6279 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6280 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6281
6282 virtual void printTo(std::ostream& out) const;
6283};
6284
6285void swap(PartitionValuesResponse &a, PartitionValuesResponse &b) noexcept;
6286
6287std::ostream& operator<<(std::ostream& out, const PartitionValuesResponse& obj);
6288
6290 _GetPartitionsByNamesRequest__isset() : names(false), get_col_stats(false), processorCapabilities(false), processorIdentifier(false), engine(true), validWriteIdList(false), getFileMetadata(false), id(true), skipColumnSchemaForPartition(false), includeParamKeyPattern(false), excludeParamKeyPattern(false) {}
6291 bool names :1;
6292 bool get_col_stats :1;
6293 bool processorCapabilities :1;
6294 bool processorIdentifier :1;
6295 bool engine :1;
6296 bool validWriteIdList :1;
6297 bool getFileMetadata :1;
6298 bool id :1;
6299 bool skipColumnSchemaForPartition :1;
6300 bool includeParamKeyPattern :1;
6301 bool excludeParamKeyPattern :1;
6303
6304class GetPartitionsByNamesRequest : public virtual ::apache::thrift::TBase {
6305 public:
6306
6310
6311 virtual ~GetPartitionsByNamesRequest() noexcept;
6312 std::string db_name;
6313 std::string tbl_name;
6314 std::vector<std::string> names;
6315 bool get_col_stats;
6316 std::vector<std::string> processorCapabilities;
6317 std::string processorIdentifier;
6318 std::string engine;
6319 std::string validWriteIdList;
6320 bool getFileMetadata;
6321 int64_t id;
6322 bool skipColumnSchemaForPartition;
6323 std::string includeParamKeyPattern;
6324 std::string excludeParamKeyPattern;
6325
6327
6328 void __set_db_name(const std::string& val);
6329
6330 void __set_tbl_name(const std::string& val);
6331
6332 void __set_names(const std::vector<std::string> & val);
6333
6334 void __set_get_col_stats(const bool val);
6335
6336 void __set_processorCapabilities(const std::vector<std::string> & val);
6337
6338 void __set_processorIdentifier(const std::string& val);
6339
6340 void __set_engine(const std::string& val);
6341
6342 void __set_validWriteIdList(const std::string& val);
6343
6344 void __set_getFileMetadata(const bool val);
6345
6346 void __set_id(const int64_t val);
6347
6348 void __set_skipColumnSchemaForPartition(const bool val);
6349
6350 void __set_includeParamKeyPattern(const std::string& val);
6351
6352 void __set_excludeParamKeyPattern(const std::string& val);
6353
6354 bool operator == (const GetPartitionsByNamesRequest & rhs) const;
6355 bool operator != (const GetPartitionsByNamesRequest &rhs) const {
6356 return !(*this == rhs);
6357 }
6358
6359 bool operator < (const GetPartitionsByNamesRequest & ) const;
6360
6361 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6362 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6363
6364 virtual void printTo(std::ostream& out) const;
6365};
6366
6368
6369std::ostream& operator<<(std::ostream& out, const GetPartitionsByNamesRequest& obj);
6370
6372 _GetPartitionsByNamesResult__isset() : dictionary(false) {}
6373 bool dictionary :1;
6375
6376class GetPartitionsByNamesResult : public virtual ::apache::thrift::TBase {
6377 public:
6378
6381 GetPartitionsByNamesResult() noexcept;
6382
6383 virtual ~GetPartitionsByNamesResult() noexcept;
6384 std::vector<Partition> partitions;
6385 ObjectDictionary dictionary;
6386
6388
6389 void __set_partitions(const std::vector<Partition> & val);
6390
6391 void __set_dictionary(const ObjectDictionary& val);
6392
6393 bool operator == (const GetPartitionsByNamesResult & rhs) const;
6394 bool operator != (const GetPartitionsByNamesResult &rhs) const {
6395 return !(*this == rhs);
6396 }
6397
6398 bool operator < (const GetPartitionsByNamesResult & ) const;
6399
6400 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6401 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6402
6403 virtual void printTo(std::ostream& out) const;
6404};
6405
6407
6408std::ostream& operator<<(std::ostream& out, const GetPartitionsByNamesResult& obj);
6409
6411 _DataConnector__isset() : name(false), type(false), url(false), description(false), parameters(false), ownerName(false), ownerType(false), createTime(false) {}
6412 bool name :1;
6413 bool type :1;
6414 bool url :1;
6415 bool description :1;
6416 bool parameters :1;
6417 bool ownerName :1;
6418 bool ownerType :1;
6419 bool createTime :1;
6421
6422class DataConnector : public virtual ::apache::thrift::TBase {
6423 public:
6424
6426 DataConnector& operator=(const DataConnector&);
6427 DataConnector() noexcept;
6428
6429 virtual ~DataConnector() noexcept;
6430 std::string name;
6431 std::string type;
6432 std::string url;
6433 std::string description;
6434 std::map<std::string, std::string> parameters;
6435 std::string ownerName;
6440 PrincipalType::type ownerType;
6441 int32_t createTime;
6442
6443 _DataConnector__isset __isset;
6444
6445 void __set_name(const std::string& val);
6446
6447 void __set_type(const std::string& val);
6448
6449 void __set_url(const std::string& val);
6450
6451 void __set_description(const std::string& val);
6452
6453 void __set_parameters(const std::map<std::string, std::string> & val);
6454
6455 void __set_ownerName(const std::string& val);
6456
6457 void __set_ownerType(const PrincipalType::type val);
6458
6459 void __set_createTime(const int32_t val);
6460
6461 bool operator == (const DataConnector & rhs) const;
6462 bool operator != (const DataConnector &rhs) const {
6463 return !(*this == rhs);
6464 }
6465
6466 bool operator < (const DataConnector & ) const;
6467
6468 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6469 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6470
6471 virtual void printTo(std::ostream& out) const;
6472};
6473
6474void swap(DataConnector &a, DataConnector &b) noexcept;
6475
6476std::ostream& operator<<(std::ostream& out, const DataConnector& obj);
6477
6478typedef struct _ResourceUri__isset {
6479 _ResourceUri__isset() : resourceType(false), uri(false) {}
6480 bool resourceType :1;
6481 bool uri :1;
6483
6484class ResourceUri : public virtual ::apache::thrift::TBase {
6485 public:
6486
6487 ResourceUri(const ResourceUri&);
6488 ResourceUri& operator=(const ResourceUri&);
6489 ResourceUri() noexcept;
6490
6491 virtual ~ResourceUri() noexcept;
6496 ResourceType::type resourceType;
6497 std::string uri;
6498
6499 _ResourceUri__isset __isset;
6500
6501 void __set_resourceType(const ResourceType::type val);
6502
6503 void __set_uri(const std::string& val);
6504
6505 bool operator == (const ResourceUri & rhs) const;
6506 bool operator != (const ResourceUri &rhs) const {
6507 return !(*this == rhs);
6508 }
6509
6510 bool operator < (const ResourceUri & ) const;
6511
6512 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6513 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6514
6515 virtual void printTo(std::ostream& out) const;
6516};
6517
6518void swap(ResourceUri &a, ResourceUri &b) noexcept;
6519
6520std::ostream& operator<<(std::ostream& out, const ResourceUri& obj);
6521
6522typedef struct _Function__isset {
6523 _Function__isset() : functionName(false), dbName(false), className(false), ownerName(false), ownerType(false), createTime(false), functionType(false), resourceUris(false), catName(false) {}
6524 bool functionName :1;
6525 bool dbName :1;
6526 bool className :1;
6527 bool ownerName :1;
6528 bool ownerType :1;
6529 bool createTime :1;
6530 bool functionType :1;
6531 bool resourceUris :1;
6532 bool catName :1;
6534
6535class Function : public virtual ::apache::thrift::TBase {
6536 public:
6537
6538 Function(const Function&);
6539 Function& operator=(const Function&);
6540 Function() noexcept;
6541
6542 virtual ~Function() noexcept;
6543 std::string functionName;
6544 std::string dbName;
6545 std::string className;
6546 std::string ownerName;
6551 PrincipalType::type ownerType;
6552 int32_t createTime;
6557 FunctionType::type functionType;
6558 std::vector<ResourceUri> resourceUris;
6559 std::string catName;
6560
6561 _Function__isset __isset;
6562
6563 void __set_functionName(const std::string& val);
6564
6565 void __set_dbName(const std::string& val);
6566
6567 void __set_className(const std::string& val);
6568
6569 void __set_ownerName(const std::string& val);
6570
6571 void __set_ownerType(const PrincipalType::type val);
6572
6573 void __set_createTime(const int32_t val);
6574
6575 void __set_functionType(const FunctionType::type val);
6576
6577 void __set_resourceUris(const std::vector<ResourceUri> & val);
6578
6579 void __set_catName(const std::string& val);
6580
6581 bool operator == (const Function & rhs) const;
6582 bool operator != (const Function &rhs) const {
6583 return !(*this == rhs);
6584 }
6585
6586 bool operator < (const Function & ) const;
6587
6588 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6589 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6590
6591 virtual void printTo(std::ostream& out) const;
6592};
6593
6594void swap(Function &a, Function &b) noexcept;
6595
6596std::ostream& operator<<(std::ostream& out, const Function& obj);
6597
6598typedef struct _TxnInfo__isset {
6599 _TxnInfo__isset() : agentInfo(true), heartbeatCount(true), metaInfo(false), startedTime(false), lastHeartbeatTime(false) {}
6600 bool agentInfo :1;
6601 bool heartbeatCount :1;
6602 bool metaInfo :1;
6603 bool startedTime :1;
6604 bool lastHeartbeatTime :1;
6606
6607class TxnInfo : public virtual ::apache::thrift::TBase {
6608 public:
6609
6610 TxnInfo(const TxnInfo&);
6611 TxnInfo& operator=(const TxnInfo&);
6612 TxnInfo();
6613
6614 virtual ~TxnInfo() noexcept;
6615 int64_t id;
6620 TxnState::type state;
6621 std::string user;
6622 std::string hostname;
6623 std::string agentInfo;
6624 int32_t heartbeatCount;
6625 std::string metaInfo;
6626 int64_t startedTime;
6627 int64_t lastHeartbeatTime;
6628
6629 _TxnInfo__isset __isset;
6630
6631 void __set_id(const int64_t val);
6632
6633 void __set_state(const TxnState::type val);
6634
6635 void __set_user(const std::string& val);
6636
6637 void __set_hostname(const std::string& val);
6638
6639 void __set_agentInfo(const std::string& val);
6640
6641 void __set_heartbeatCount(const int32_t val);
6642
6643 void __set_metaInfo(const std::string& val);
6644
6645 void __set_startedTime(const int64_t val);
6646
6647 void __set_lastHeartbeatTime(const int64_t val);
6648
6649 bool operator == (const TxnInfo & rhs) const;
6650 bool operator != (const TxnInfo &rhs) const {
6651 return !(*this == rhs);
6652 }
6653
6654 bool operator < (const TxnInfo & ) const;
6655
6656 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6657 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6658
6659 virtual void printTo(std::ostream& out) const;
6660};
6661
6662void swap(TxnInfo &a, TxnInfo &b) noexcept;
6663
6664std::ostream& operator<<(std::ostream& out, const TxnInfo& obj);
6665
6666
6667class GetOpenTxnsInfoResponse : public virtual ::apache::thrift::TBase {
6668 public:
6669
6672 GetOpenTxnsInfoResponse() noexcept;
6673
6674 virtual ~GetOpenTxnsInfoResponse() noexcept;
6675 int64_t txn_high_water_mark;
6676 std::vector<TxnInfo> open_txns;
6677
6678 void __set_txn_high_water_mark(const int64_t val);
6679
6680 void __set_open_txns(const std::vector<TxnInfo> & val);
6681
6682 bool operator == (const GetOpenTxnsInfoResponse & rhs) const;
6683 bool operator != (const GetOpenTxnsInfoResponse &rhs) const {
6684 return !(*this == rhs);
6685 }
6686
6687 bool operator < (const GetOpenTxnsInfoResponse & ) const;
6688
6689 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6690 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6691
6692 virtual void printTo(std::ostream& out) const;
6693};
6694
6695void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) noexcept;
6696
6697std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj);
6698
6700 _GetOpenTxnsResponse__isset() : min_open_txn(false) {}
6701 bool min_open_txn :1;
6703
6704class GetOpenTxnsResponse : public virtual ::apache::thrift::TBase {
6705 public:
6706
6708 GetOpenTxnsResponse& operator=(const GetOpenTxnsResponse&);
6709 GetOpenTxnsResponse() noexcept;
6710
6711 virtual ~GetOpenTxnsResponse() noexcept;
6712 int64_t txn_high_water_mark;
6713 std::vector<int64_t> open_txns;
6714 int64_t min_open_txn;
6715 std::string abortedBits;
6716
6718
6719 void __set_txn_high_water_mark(const int64_t val);
6720
6721 void __set_open_txns(const std::vector<int64_t> & val);
6722
6723 void __set_min_open_txn(const int64_t val);
6724
6725 void __set_abortedBits(const std::string& val);
6726
6727 bool operator == (const GetOpenTxnsResponse & rhs) const;
6728 bool operator != (const GetOpenTxnsResponse &rhs) const {
6729 return !(*this == rhs);
6730 }
6731
6732 bool operator < (const GetOpenTxnsResponse & ) const;
6733
6734 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6735 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6736
6737 virtual void printTo(std::ostream& out) const;
6738};
6739
6740void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) noexcept;
6741
6742std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj);
6743
6745 _OpenTxnRequest__isset() : agentInfo(true), replPolicy(false), replSrcTxnIds(false), txn_type(true) {}
6746 bool agentInfo :1;
6747 bool replPolicy :1;
6748 bool replSrcTxnIds :1;
6749 bool txn_type :1;
6751
6752class OpenTxnRequest : public virtual ::apache::thrift::TBase {
6753 public:
6754
6756 OpenTxnRequest& operator=(const OpenTxnRequest&);
6758
6759 virtual ~OpenTxnRequest() noexcept;
6760 int32_t num_txns;
6761 std::string user;
6762 std::string hostname;
6763 std::string agentInfo;
6764 std::string replPolicy;
6765 std::vector<int64_t> replSrcTxnIds;
6770 TxnType::type txn_type;
6771
6772 _OpenTxnRequest__isset __isset;
6773
6774 void __set_num_txns(const int32_t val);
6775
6776 void __set_user(const std::string& val);
6777
6778 void __set_hostname(const std::string& val);
6779
6780 void __set_agentInfo(const std::string& val);
6781
6782 void __set_replPolicy(const std::string& val);
6783
6784 void __set_replSrcTxnIds(const std::vector<int64_t> & val);
6785
6786 void __set_txn_type(const TxnType::type val);
6787
6788 bool operator == (const OpenTxnRequest & rhs) const;
6789 bool operator != (const OpenTxnRequest &rhs) const {
6790 return !(*this == rhs);
6791 }
6792
6793 bool operator < (const OpenTxnRequest & ) const;
6794
6795 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6796 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6797
6798 virtual void printTo(std::ostream& out) const;
6799};
6800
6801void swap(OpenTxnRequest &a, OpenTxnRequest &b) noexcept;
6802
6803std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj);
6804
6805
6806class OpenTxnsResponse : public virtual ::apache::thrift::TBase {
6807 public:
6808
6810 OpenTxnsResponse& operator=(const OpenTxnsResponse&);
6811 OpenTxnsResponse() noexcept;
6812
6813 virtual ~OpenTxnsResponse() noexcept;
6814 std::vector<int64_t> txn_ids;
6815
6816 void __set_txn_ids(const std::vector<int64_t> & val);
6817
6818 bool operator == (const OpenTxnsResponse & rhs) const;
6819 bool operator != (const OpenTxnsResponse &rhs) const {
6820 return !(*this == rhs);
6821 }
6822
6823 bool operator < (const OpenTxnsResponse & ) const;
6824
6825 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6826 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6827
6828 virtual void printTo(std::ostream& out) const;
6829};
6830
6831void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) noexcept;
6832
6833std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj);
6834
6836 _AbortTxnRequest__isset() : replPolicy(false), txn_type(false), errorCode(false) {}
6837 bool replPolicy :1;
6838 bool txn_type :1;
6839 bool errorCode :1;
6841
6842class AbortTxnRequest : public virtual ::apache::thrift::TBase {
6843 public:
6844
6846 AbortTxnRequest& operator=(const AbortTxnRequest&);
6847 AbortTxnRequest() noexcept;
6848
6849 virtual ~AbortTxnRequest() noexcept;
6850 int64_t txnid;
6851 std::string replPolicy;
6856 TxnType::type txn_type;
6857 int64_t errorCode;
6858
6860
6861 void __set_txnid(const int64_t val);
6862
6863 void __set_replPolicy(const std::string& val);
6864
6865 void __set_txn_type(const TxnType::type val);
6866
6867 void __set_errorCode(const int64_t val);
6868
6869 bool operator == (const AbortTxnRequest & rhs) const;
6870 bool operator != (const AbortTxnRequest &rhs) const {
6871 return !(*this == rhs);
6872 }
6873
6874 bool operator < (const AbortTxnRequest & ) const;
6875
6876 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6877 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6878
6879 virtual void printTo(std::ostream& out) const;
6880};
6881
6882void swap(AbortTxnRequest &a, AbortTxnRequest &b) noexcept;
6883
6884std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj);
6885
6887 _AbortTxnsRequest__isset() : errorCode(false) {}
6888 bool errorCode :1;
6890
6891class AbortTxnsRequest : public virtual ::apache::thrift::TBase {
6892 public:
6893
6895 AbortTxnsRequest& operator=(const AbortTxnsRequest&);
6896 AbortTxnsRequest() noexcept;
6897
6898 virtual ~AbortTxnsRequest() noexcept;
6899 std::vector<int64_t> txn_ids;
6900 int64_t errorCode;
6901
6903
6904 void __set_txn_ids(const std::vector<int64_t> & val);
6905
6906 void __set_errorCode(const int64_t val);
6907
6908 bool operator == (const AbortTxnsRequest & rhs) const;
6909 bool operator != (const AbortTxnsRequest &rhs) const {
6910 return !(*this == rhs);
6911 }
6912
6913 bool operator < (const AbortTxnsRequest & ) const;
6914
6915 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6916 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6917
6918 virtual void printTo(std::ostream& out) const;
6919};
6920
6921void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) noexcept;
6922
6923std::ostream& operator<<(std::ostream& out, const AbortTxnsRequest& obj);
6924
6925
6926class CommitTxnKeyValue : public virtual ::apache::thrift::TBase {
6927 public:
6928
6930 CommitTxnKeyValue& operator=(const CommitTxnKeyValue&);
6931 CommitTxnKeyValue() noexcept;
6932
6933 virtual ~CommitTxnKeyValue() noexcept;
6934 int64_t tableId;
6935 std::string key;
6936 std::string value;
6937
6938 void __set_tableId(const int64_t val);
6939
6940 void __set_key(const std::string& val);
6941
6942 void __set_value(const std::string& val);
6943
6944 bool operator == (const CommitTxnKeyValue & rhs) const;
6945 bool operator != (const CommitTxnKeyValue &rhs) const {
6946 return !(*this == rhs);
6947 }
6948
6949 bool operator < (const CommitTxnKeyValue & ) const;
6950
6951 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
6952 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
6953
6954 virtual void printTo(std::ostream& out) const;
6955};
6956
6957void swap(CommitTxnKeyValue &a, CommitTxnKeyValue &b) noexcept;
6958
6959std::ostream& operator<<(std::ostream& out, const CommitTxnKeyValue& obj);
6960
6962 _WriteEventInfo__isset() : partition(false), tableObj(false), partitionObj(false) {}
6963 bool partition :1;
6964 bool tableObj :1;
6965 bool partitionObj :1;
6967
6968class WriteEventInfo : public virtual ::apache::thrift::TBase {
6969 public:
6970
6972 WriteEventInfo& operator=(const WriteEventInfo&);
6973 WriteEventInfo() noexcept;
6974
6975 virtual ~WriteEventInfo() noexcept;
6976 int64_t writeId;
6977 std::string database;
6978 std::string table;
6979 std::string files;
6980 std::string partition;
6981 std::string tableObj;
6982 std::string partitionObj;
6983
6984 _WriteEventInfo__isset __isset;
6985
6986 void __set_writeId(const int64_t val);
6987
6988 void __set_database(const std::string& val);
6989
6990 void __set_table(const std::string& val);
6991
6992 void __set_files(const std::string& val);
6993
6994 void __set_partition(const std::string& val);
6995
6996 void __set_tableObj(const std::string& val);
6997
6998 void __set_partitionObj(const std::string& val);
6999
7000 bool operator == (const WriteEventInfo & rhs) const;
7001 bool operator != (const WriteEventInfo &rhs) const {
7002 return !(*this == rhs);
7003 }
7004
7005 bool operator < (const WriteEventInfo & ) const;
7006
7007 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7008 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7009
7010 virtual void printTo(std::ostream& out) const;
7011};
7012
7013void swap(WriteEventInfo &a, WriteEventInfo &b) noexcept;
7014
7015std::ostream& operator<<(std::ostream& out, const WriteEventInfo& obj);
7016
7018 _ReplLastIdInfo__isset() : table(false), catalog(false), partitionList(false) {}
7019 bool table :1;
7020 bool catalog :1;
7021 bool partitionList :1;
7023
7024class ReplLastIdInfo : public virtual ::apache::thrift::TBase {
7025 public:
7026
7028 ReplLastIdInfo& operator=(const ReplLastIdInfo&);
7029 ReplLastIdInfo() noexcept;
7030
7031 virtual ~ReplLastIdInfo() noexcept;
7032 std::string database;
7033 int64_t lastReplId;
7034 std::string table;
7035 std::string catalog;
7036 std::vector<std::string> partitionList;
7037
7038 _ReplLastIdInfo__isset __isset;
7039
7040 void __set_database(const std::string& val);
7041
7042 void __set_lastReplId(const int64_t val);
7043
7044 void __set_table(const std::string& val);
7045
7046 void __set_catalog(const std::string& val);
7047
7048 void __set_partitionList(const std::vector<std::string> & val);
7049
7050 bool operator == (const ReplLastIdInfo & rhs) const;
7051 bool operator != (const ReplLastIdInfo &rhs) const {
7052 return !(*this == rhs);
7053 }
7054
7055 bool operator < (const ReplLastIdInfo & ) const;
7056
7057 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7058 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7059
7060 virtual void printTo(std::ostream& out) const;
7061};
7062
7063void swap(ReplLastIdInfo &a, ReplLastIdInfo &b) noexcept;
7064
7065std::ostream& operator<<(std::ostream& out, const ReplLastIdInfo& obj);
7066
7067
7068class UpdateTransactionalStatsRequest : public virtual ::apache::thrift::TBase {
7069 public:
7070
7074
7075 virtual ~UpdateTransactionalStatsRequest() noexcept;
7076 int64_t tableId;
7077 int64_t insertCount;
7078 int64_t updatedCount;
7079 int64_t deletedCount;
7080
7081 void __set_tableId(const int64_t val);
7082
7083 void __set_insertCount(const int64_t val);
7084
7085 void __set_updatedCount(const int64_t val);
7086
7087 void __set_deletedCount(const int64_t val);
7088
7089 bool operator == (const UpdateTransactionalStatsRequest & rhs) const;
7090 bool operator != (const UpdateTransactionalStatsRequest &rhs) const {
7091 return !(*this == rhs);
7092 }
7093
7094 bool operator < (const UpdateTransactionalStatsRequest & ) const;
7095
7096 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7097 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7098
7099 virtual void printTo(std::ostream& out) const;
7100};
7101
7103
7104std::ostream& operator<<(std::ostream& out, const UpdateTransactionalStatsRequest& obj);
7105
7107 _CommitTxnRequest__isset() : replPolicy(false), writeEventInfos(false), replLastIdInfo(false), keyValue(false), exclWriteEnabled(true), txn_type(false) {}
7108 bool replPolicy :1;
7109 bool writeEventInfos :1;
7110 bool replLastIdInfo :1;
7111 bool keyValue :1;
7112 bool exclWriteEnabled :1;
7113 bool txn_type :1;
7115
7116class CommitTxnRequest : public virtual ::apache::thrift::TBase {
7117 public:
7118
7120 CommitTxnRequest& operator=(const CommitTxnRequest&);
7121 CommitTxnRequest() noexcept;
7122
7123 virtual ~CommitTxnRequest() noexcept;
7124 int64_t txnid;
7125 std::string replPolicy;
7126 std::vector<WriteEventInfo> writeEventInfos;
7127 ReplLastIdInfo replLastIdInfo;
7128 CommitTxnKeyValue keyValue;
7129 bool exclWriteEnabled;
7134 TxnType::type txn_type;
7135
7137
7138 void __set_txnid(const int64_t val);
7139
7140 void __set_replPolicy(const std::string& val);
7141
7142 void __set_writeEventInfos(const std::vector<WriteEventInfo> & val);
7143
7144 void __set_replLastIdInfo(const ReplLastIdInfo& val);
7145
7146 void __set_keyValue(const CommitTxnKeyValue& val);
7147
7148 void __set_exclWriteEnabled(const bool val);
7149
7150 void __set_txn_type(const TxnType::type val);
7151
7152 bool operator == (const CommitTxnRequest & rhs) const;
7153 bool operator != (const CommitTxnRequest &rhs) const {
7154 return !(*this == rhs);
7155 }
7156
7157 bool operator < (const CommitTxnRequest & ) const;
7158
7159 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7160 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7161
7162 virtual void printTo(std::ostream& out) const;
7163};
7164
7165void swap(CommitTxnRequest &a, CommitTxnRequest &b) noexcept;
7166
7167std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj);
7168
7170 _ReplTblWriteIdStateRequest__isset() : partNames(false) {}
7171 bool partNames :1;
7173
7174class ReplTblWriteIdStateRequest : public virtual ::apache::thrift::TBase {
7175 public:
7176
7179 ReplTblWriteIdStateRequest() noexcept;
7180
7181 virtual ~ReplTblWriteIdStateRequest() noexcept;
7182 std::string validWriteIdlist;
7183 std::string user;
7184 std::string hostName;
7185 std::string dbName;
7186 std::string tableName;
7187 std::vector<std::string> partNames;
7188
7190
7191 void __set_validWriteIdlist(const std::string& val);
7192
7193 void __set_user(const std::string& val);
7194
7195 void __set_hostName(const std::string& val);
7196
7197 void __set_dbName(const std::string& val);
7198
7199 void __set_tableName(const std::string& val);
7200
7201 void __set_partNames(const std::vector<std::string> & val);
7202
7203 bool operator == (const ReplTblWriteIdStateRequest & rhs) const;
7204 bool operator != (const ReplTblWriteIdStateRequest &rhs) const {
7205 return !(*this == rhs);
7206 }
7207
7208 bool operator < (const ReplTblWriteIdStateRequest & ) const;
7209
7210 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7211 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7212
7213 virtual void printTo(std::ostream& out) const;
7214};
7215
7217
7218std::ostream& operator<<(std::ostream& out, const ReplTblWriteIdStateRequest& obj);
7219
7221 _GetValidWriteIdsRequest__isset() : validTxnList(false), writeId(false) {}
7222 bool validTxnList :1;
7223 bool writeId :1;
7225
7226class GetValidWriteIdsRequest : public virtual ::apache::thrift::TBase {
7227 public:
7228
7231 GetValidWriteIdsRequest() noexcept;
7232
7233 virtual ~GetValidWriteIdsRequest() noexcept;
7234 std::vector<std::string> fullTableNames;
7235 std::string validTxnList;
7236 int64_t writeId;
7237
7239
7240 void __set_fullTableNames(const std::vector<std::string> & val);
7241
7242 void __set_validTxnList(const std::string& val);
7243
7244 void __set_writeId(const int64_t val);
7245
7246 bool operator == (const GetValidWriteIdsRequest & rhs) const;
7247 bool operator != (const GetValidWriteIdsRequest &rhs) const {
7248 return !(*this == rhs);
7249 }
7250
7251 bool operator < (const GetValidWriteIdsRequest & ) const;
7252
7253 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7254 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7255
7256 virtual void printTo(std::ostream& out) const;
7257};
7258
7259void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) noexcept;
7260
7261std::ostream& operator<<(std::ostream& out, const GetValidWriteIdsRequest& obj);
7262
7264 _TableValidWriteIds__isset() : minOpenWriteId(false) {}
7265 bool minOpenWriteId :1;
7267
7268class TableValidWriteIds : public virtual ::apache::thrift::TBase {
7269 public:
7270
7272 TableValidWriteIds& operator=(const TableValidWriteIds&);
7273 TableValidWriteIds() noexcept;
7274
7275 virtual ~TableValidWriteIds() noexcept;
7276 std::string fullTableName;
7277 int64_t writeIdHighWaterMark;
7278 std::vector<int64_t> invalidWriteIds;
7279 int64_t minOpenWriteId;
7280 std::string abortedBits;
7281
7283
7284 void __set_fullTableName(const std::string& val);
7285
7286 void __set_writeIdHighWaterMark(const int64_t val);
7287
7288 void __set_invalidWriteIds(const std::vector<int64_t> & val);
7289
7290 void __set_minOpenWriteId(const int64_t val);
7291
7292 void __set_abortedBits(const std::string& val);
7293
7294 bool operator == (const TableValidWriteIds & rhs) const;
7295 bool operator != (const TableValidWriteIds &rhs) const {
7296 return !(*this == rhs);
7297 }
7298
7299 bool operator < (const TableValidWriteIds & ) const;
7300
7301 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7302 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7303
7304 virtual void printTo(std::ostream& out) const;
7305};
7306
7307void swap(TableValidWriteIds &a, TableValidWriteIds &b) noexcept;
7308
7309std::ostream& operator<<(std::ostream& out, const TableValidWriteIds& obj);
7310
7311
7312class GetValidWriteIdsResponse : public virtual ::apache::thrift::TBase {
7313 public:
7314
7317 GetValidWriteIdsResponse() noexcept;
7318
7319 virtual ~GetValidWriteIdsResponse() noexcept;
7320 std::vector<TableValidWriteIds> tblValidWriteIds;
7321
7322 void __set_tblValidWriteIds(const std::vector<TableValidWriteIds> & val);
7323
7324 bool operator == (const GetValidWriteIdsResponse & rhs) const;
7325 bool operator != (const GetValidWriteIdsResponse &rhs) const {
7326 return !(*this == rhs);
7327 }
7328
7329 bool operator < (const GetValidWriteIdsResponse & ) const;
7330
7331 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7332 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7333
7334 virtual void printTo(std::ostream& out) const;
7335};
7336
7337void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) noexcept;
7338
7339std::ostream& operator<<(std::ostream& out, const GetValidWriteIdsResponse& obj);
7340
7341
7342class TxnToWriteId : public virtual ::apache::thrift::TBase {
7343 public:
7344
7345 TxnToWriteId(const TxnToWriteId&) noexcept;
7346 TxnToWriteId& operator=(const TxnToWriteId&) noexcept;
7347 TxnToWriteId() noexcept;
7348
7349 virtual ~TxnToWriteId() noexcept;
7350 int64_t txnId;
7351 int64_t writeId;
7352
7353 void __set_txnId(const int64_t val);
7354
7355 void __set_writeId(const int64_t val);
7356
7357 bool operator == (const TxnToWriteId & rhs) const;
7358 bool operator != (const TxnToWriteId &rhs) const {
7359 return !(*this == rhs);
7360 }
7361
7362 bool operator < (const TxnToWriteId & ) const;
7363
7364 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7365 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7366
7367 virtual void printTo(std::ostream& out) const;
7368};
7369
7370void swap(TxnToWriteId &a, TxnToWriteId &b) noexcept;
7371
7372std::ostream& operator<<(std::ostream& out, const TxnToWriteId& obj);
7373
7375 _AllocateTableWriteIdsRequest__isset() : txnIds(false), replPolicy(false), srcTxnToWriteIdList(false), reallocate(true) {}
7376 bool txnIds :1;
7377 bool replPolicy :1;
7378 bool srcTxnToWriteIdList :1;
7379 bool reallocate :1;
7381
7382class AllocateTableWriteIdsRequest : public virtual ::apache::thrift::TBase {
7383 public:
7384
7388
7389 virtual ~AllocateTableWriteIdsRequest() noexcept;
7390 std::string dbName;
7391 std::string tableName;
7392 std::vector<int64_t> txnIds;
7393 std::string replPolicy;
7394 std::vector<TxnToWriteId> srcTxnToWriteIdList;
7395 bool reallocate;
7396
7398
7399 void __set_dbName(const std::string& val);
7400
7401 void __set_tableName(const std::string& val);
7402
7403 void __set_txnIds(const std::vector<int64_t> & val);
7404
7405 void __set_replPolicy(const std::string& val);
7406
7407 void __set_srcTxnToWriteIdList(const std::vector<TxnToWriteId> & val);
7408
7409 void __set_reallocate(const bool val);
7410
7411 bool operator == (const AllocateTableWriteIdsRequest & rhs) const;
7412 bool operator != (const AllocateTableWriteIdsRequest &rhs) const {
7413 return !(*this == rhs);
7414 }
7415
7416 bool operator < (const AllocateTableWriteIdsRequest & ) const;
7417
7418 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7419 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7420
7421 virtual void printTo(std::ostream& out) const;
7422};
7423
7425
7426std::ostream& operator<<(std::ostream& out, const AllocateTableWriteIdsRequest& obj);
7427
7428
7429class AllocateTableWriteIdsResponse : public virtual ::apache::thrift::TBase {
7430 public:
7431
7435
7436 virtual ~AllocateTableWriteIdsResponse() noexcept;
7437 std::vector<TxnToWriteId> txnToWriteIds;
7438
7439 void __set_txnToWriteIds(const std::vector<TxnToWriteId> & val);
7440
7441 bool operator == (const AllocateTableWriteIdsResponse & rhs) const;
7442 bool operator != (const AllocateTableWriteIdsResponse &rhs) const {
7443 return !(*this == rhs);
7444 }
7445
7446 bool operator < (const AllocateTableWriteIdsResponse & ) const;
7447
7448 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7449 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7450
7451 virtual void printTo(std::ostream& out) const;
7452};
7453
7455
7456std::ostream& operator<<(std::ostream& out, const AllocateTableWriteIdsResponse& obj);
7457
7458
7459class MaxAllocatedTableWriteIdRequest : public virtual ::apache::thrift::TBase {
7460 public:
7461
7465
7466 virtual ~MaxAllocatedTableWriteIdRequest() noexcept;
7467 std::string dbName;
7468 std::string tableName;
7469
7470 void __set_dbName(const std::string& val);
7471
7472 void __set_tableName(const std::string& val);
7473
7474 bool operator == (const MaxAllocatedTableWriteIdRequest & rhs) const;
7475 bool operator != (const MaxAllocatedTableWriteIdRequest &rhs) const {
7476 return !(*this == rhs);
7477 }
7478
7479 bool operator < (const MaxAllocatedTableWriteIdRequest & ) const;
7480
7481 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7482 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7483
7484 virtual void printTo(std::ostream& out) const;
7485};
7486
7488
7489std::ostream& operator<<(std::ostream& out, const MaxAllocatedTableWriteIdRequest& obj);
7490
7491
7492class MaxAllocatedTableWriteIdResponse : public virtual ::apache::thrift::TBase {
7493 public:
7494
7498
7499 virtual ~MaxAllocatedTableWriteIdResponse() noexcept;
7500 int64_t maxWriteId;
7501
7502 void __set_maxWriteId(const int64_t val);
7503
7504 bool operator == (const MaxAllocatedTableWriteIdResponse & rhs) const;
7505 bool operator != (const MaxAllocatedTableWriteIdResponse &rhs) const {
7506 return !(*this == rhs);
7507 }
7508
7509 bool operator < (const MaxAllocatedTableWriteIdResponse & ) const;
7510
7511 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7512 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7513
7514 virtual void printTo(std::ostream& out) const;
7515};
7516
7518
7519std::ostream& operator<<(std::ostream& out, const MaxAllocatedTableWriteIdResponse& obj);
7520
7521
7522class SeedTableWriteIdsRequest : public virtual ::apache::thrift::TBase {
7523 public:
7524
7527 SeedTableWriteIdsRequest() noexcept;
7528
7529 virtual ~SeedTableWriteIdsRequest() noexcept;
7530 std::string dbName;
7531 std::string tableName;
7532 int64_t seedWriteId;
7533
7534 void __set_dbName(const std::string& val);
7535
7536 void __set_tableName(const std::string& val);
7537
7538 void __set_seedWriteId(const int64_t val);
7539
7540 bool operator == (const SeedTableWriteIdsRequest & rhs) const;
7541 bool operator != (const SeedTableWriteIdsRequest &rhs) const {
7542 return !(*this == rhs);
7543 }
7544
7545 bool operator < (const SeedTableWriteIdsRequest & ) const;
7546
7547 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7548 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7549
7550 virtual void printTo(std::ostream& out) const;
7551};
7552
7553void swap(SeedTableWriteIdsRequest &a, SeedTableWriteIdsRequest &b) noexcept;
7554
7555std::ostream& operator<<(std::ostream& out, const SeedTableWriteIdsRequest& obj);
7556
7557
7558class SeedTxnIdRequest : public virtual ::apache::thrift::TBase {
7559 public:
7560
7561 SeedTxnIdRequest(const SeedTxnIdRequest&) noexcept;
7562 SeedTxnIdRequest& operator=(const SeedTxnIdRequest&) noexcept;
7563 SeedTxnIdRequest() noexcept;
7564
7565 virtual ~SeedTxnIdRequest() noexcept;
7566 int64_t seedTxnId;
7567
7568 void __set_seedTxnId(const int64_t val);
7569
7570 bool operator == (const SeedTxnIdRequest & rhs) const;
7571 bool operator != (const SeedTxnIdRequest &rhs) const {
7572 return !(*this == rhs);
7573 }
7574
7575 bool operator < (const SeedTxnIdRequest & ) const;
7576
7577 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7578 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7579
7580 virtual void printTo(std::ostream& out) const;
7581};
7582
7583void swap(SeedTxnIdRequest &a, SeedTxnIdRequest &b) noexcept;
7584
7585std::ostream& operator<<(std::ostream& out, const SeedTxnIdRequest& obj);
7586
7588 _LockComponent__isset() : tablename(false), partitionname(false), operationType(true), isTransactional(true), isDynamicPartitionWrite(true) {}
7589 bool tablename :1;
7590 bool partitionname :1;
7591 bool operationType :1;
7592 bool isTransactional :1;
7593 bool isDynamicPartitionWrite :1;
7595
7596class LockComponent : public virtual ::apache::thrift::TBase {
7597 public:
7598
7600 LockComponent& operator=(const LockComponent&);
7601 LockComponent() noexcept;
7602
7603 virtual ~LockComponent() noexcept;
7608 LockType::type type;
7613 LockLevel::type level;
7614 std::string dbname;
7615 std::string tablename;
7616 std::string partitionname;
7621 DataOperationType::type operationType;
7622 bool isTransactional;
7623 bool isDynamicPartitionWrite;
7624
7625 _LockComponent__isset __isset;
7626
7627 void __set_type(const LockType::type val);
7628
7629 void __set_level(const LockLevel::type val);
7630
7631 void __set_dbname(const std::string& val);
7632
7633 void __set_tablename(const std::string& val);
7634
7635 void __set_partitionname(const std::string& val);
7636
7637 void __set_operationType(const DataOperationType::type val);
7638
7639 void __set_isTransactional(const bool val);
7640
7641 void __set_isDynamicPartitionWrite(const bool val);
7642
7643 bool operator == (const LockComponent & rhs) const;
7644 bool operator != (const LockComponent &rhs) const {
7645 return !(*this == rhs);
7646 }
7647
7648 bool operator < (const LockComponent & ) const;
7649
7650 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7651 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7652
7653 virtual void printTo(std::ostream& out) const;
7654};
7655
7656void swap(LockComponent &a, LockComponent &b) noexcept;
7657
7658std::ostream& operator<<(std::ostream& out, const LockComponent& obj);
7659
7660typedef struct _LockRequest__isset {
7661 _LockRequest__isset() : txnid(false), agentInfo(true), zeroWaitReadEnabled(true), exclusiveCTAS(true), locklessReadsEnabled(true) {}
7662 bool txnid :1;
7663 bool agentInfo :1;
7664 bool zeroWaitReadEnabled :1;
7665 bool exclusiveCTAS :1;
7666 bool locklessReadsEnabled :1;
7668
7669class LockRequest : public virtual ::apache::thrift::TBase {
7670 public:
7671
7672 LockRequest(const LockRequest&);
7673 LockRequest& operator=(const LockRequest&);
7674 LockRequest();
7675
7676 virtual ~LockRequest() noexcept;
7677 std::vector<LockComponent> component;
7678 int64_t txnid;
7679 std::string user;
7680 std::string hostname;
7681 std::string agentInfo;
7682 bool zeroWaitReadEnabled;
7683 bool exclusiveCTAS;
7684 bool locklessReadsEnabled;
7685
7686 _LockRequest__isset __isset;
7687
7688 void __set_component(const std::vector<LockComponent> & val);
7689
7690 void __set_txnid(const int64_t val);
7691
7692 void __set_user(const std::string& val);
7693
7694 void __set_hostname(const std::string& val);
7695
7696 void __set_agentInfo(const std::string& val);
7697
7698 void __set_zeroWaitReadEnabled(const bool val);
7699
7700 void __set_exclusiveCTAS(const bool val);
7701
7702 void __set_locklessReadsEnabled(const bool val);
7703
7704 bool operator == (const LockRequest & rhs) const;
7705 bool operator != (const LockRequest &rhs) const {
7706 return !(*this == rhs);
7707 }
7708
7709 bool operator < (const LockRequest & ) const;
7710
7711 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7712 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7713
7714 virtual void printTo(std::ostream& out) const;
7715};
7716
7717void swap(LockRequest &a, LockRequest &b) noexcept;
7718
7719std::ostream& operator<<(std::ostream& out, const LockRequest& obj);
7720
7721typedef struct _LockResponse__isset {
7722 _LockResponse__isset() : errorMessage(false) {}
7723 bool errorMessage :1;
7725
7726class LockResponse : public virtual ::apache::thrift::TBase {
7727 public:
7728
7729 LockResponse(const LockResponse&);
7730 LockResponse& operator=(const LockResponse&);
7731 LockResponse() noexcept;
7732
7733 virtual ~LockResponse() noexcept;
7734 int64_t lockid;
7739 LockState::type state;
7740 std::string errorMessage;
7741
7742 _LockResponse__isset __isset;
7743
7744 void __set_lockid(const int64_t val);
7745
7746 void __set_state(const LockState::type val);
7747
7748 void __set_errorMessage(const std::string& val);
7749
7750 bool operator == (const LockResponse & rhs) const;
7751 bool operator != (const LockResponse &rhs) const {
7752 return !(*this == rhs);
7753 }
7754
7755 bool operator < (const LockResponse & ) const;
7756
7757 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7758 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7759
7760 virtual void printTo(std::ostream& out) const;
7761};
7762
7763void swap(LockResponse &a, LockResponse &b) noexcept;
7764
7765std::ostream& operator<<(std::ostream& out, const LockResponse& obj);
7766
7768 _CheckLockRequest__isset() : txnid(false), elapsed_ms(false) {}
7769 bool txnid :1;
7770 bool elapsed_ms :1;
7772
7773class CheckLockRequest : public virtual ::apache::thrift::TBase {
7774 public:
7775
7776 CheckLockRequest(const CheckLockRequest&) noexcept;
7777 CheckLockRequest& operator=(const CheckLockRequest&) noexcept;
7778 CheckLockRequest() noexcept;
7779
7780 virtual ~CheckLockRequest() noexcept;
7781 int64_t lockid;
7782 int64_t txnid;
7783 int64_t elapsed_ms;
7784
7786
7787 void __set_lockid(const int64_t val);
7788
7789 void __set_txnid(const int64_t val);
7790
7791 void __set_elapsed_ms(const int64_t val);
7792
7793 bool operator == (const CheckLockRequest & rhs) const;
7794 bool operator != (const CheckLockRequest &rhs) const {
7795 return !(*this == rhs);
7796 }
7797
7798 bool operator < (const CheckLockRequest & ) const;
7799
7800 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7801 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7802
7803 virtual void printTo(std::ostream& out) const;
7804};
7805
7806void swap(CheckLockRequest &a, CheckLockRequest &b) noexcept;
7807
7808std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj);
7809
7810
7811class UnlockRequest : public virtual ::apache::thrift::TBase {
7812 public:
7813
7814 UnlockRequest(const UnlockRequest&) noexcept;
7815 UnlockRequest& operator=(const UnlockRequest&) noexcept;
7816 UnlockRequest() noexcept;
7817
7818 virtual ~UnlockRequest() noexcept;
7819 int64_t lockid;
7820
7821 void __set_lockid(const int64_t val);
7822
7823 bool operator == (const UnlockRequest & rhs) const;
7824 bool operator != (const UnlockRequest &rhs) const {
7825 return !(*this == rhs);
7826 }
7827
7828 bool operator < (const UnlockRequest & ) const;
7829
7830 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7831 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7832
7833 virtual void printTo(std::ostream& out) const;
7834};
7835
7836void swap(UnlockRequest &a, UnlockRequest &b) noexcept;
7837
7838std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj);
7839
7841 _ShowLocksRequest__isset() : dbname(false), tablename(false), partname(false), isExtended(true), txnid(false) {}
7842 bool dbname :1;
7843 bool tablename :1;
7844 bool partname :1;
7845 bool isExtended :1;
7846 bool txnid :1;
7848
7849class ShowLocksRequest : public virtual ::apache::thrift::TBase {
7850 public:
7851
7853 ShowLocksRequest& operator=(const ShowLocksRequest&);
7854 ShowLocksRequest() noexcept;
7855
7856 virtual ~ShowLocksRequest() noexcept;
7857 std::string dbname;
7858 std::string tablename;
7859 std::string partname;
7860 bool isExtended;
7861 int64_t txnid;
7862
7864
7865 void __set_dbname(const std::string& val);
7866
7867 void __set_tablename(const std::string& val);
7868
7869 void __set_partname(const std::string& val);
7870
7871 void __set_isExtended(const bool val);
7872
7873 void __set_txnid(const int64_t val);
7874
7875 bool operator == (const ShowLocksRequest & rhs) const;
7876 bool operator != (const ShowLocksRequest &rhs) const {
7877 return !(*this == rhs);
7878 }
7879
7880 bool operator < (const ShowLocksRequest & ) const;
7881
7882 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7883 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7884
7885 virtual void printTo(std::ostream& out) const;
7886};
7887
7888void swap(ShowLocksRequest &a, ShowLocksRequest &b) noexcept;
7889
7890std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj);
7891
7893 _ShowLocksResponseElement__isset() : tablename(false), partname(false), txnid(false), acquiredat(false), heartbeatCount(true), agentInfo(false), blockedByExtId(false), blockedByIntId(false), lockIdInternal(false) {}
7894 bool tablename :1;
7895 bool partname :1;
7896 bool txnid :1;
7897 bool acquiredat :1;
7898 bool heartbeatCount :1;
7899 bool agentInfo :1;
7900 bool blockedByExtId :1;
7901 bool blockedByIntId :1;
7902 bool lockIdInternal :1;
7904
7905class ShowLocksResponseElement : public virtual ::apache::thrift::TBase {
7906 public:
7907
7910 ShowLocksResponseElement() noexcept;
7911
7912 virtual ~ShowLocksResponseElement() noexcept;
7913 int64_t lockid;
7914 std::string dbname;
7915 std::string tablename;
7916 std::string partname;
7921 LockState::type state;
7926 LockType::type type;
7927 int64_t txnid;
7928 int64_t lastheartbeat;
7929 int64_t acquiredat;
7930 std::string user;
7931 std::string hostname;
7932 int32_t heartbeatCount;
7933 std::string agentInfo;
7934 int64_t blockedByExtId;
7935 int64_t blockedByIntId;
7936 int64_t lockIdInternal;
7937
7939
7940 void __set_lockid(const int64_t val);
7941
7942 void __set_dbname(const std::string& val);
7943
7944 void __set_tablename(const std::string& val);
7945
7946 void __set_partname(const std::string& val);
7947
7948 void __set_state(const LockState::type val);
7949
7950 void __set_type(const LockType::type val);
7951
7952 void __set_txnid(const int64_t val);
7953
7954 void __set_lastheartbeat(const int64_t val);
7955
7956 void __set_acquiredat(const int64_t val);
7957
7958 void __set_user(const std::string& val);
7959
7960 void __set_hostname(const std::string& val);
7961
7962 void __set_heartbeatCount(const int32_t val);
7963
7964 void __set_agentInfo(const std::string& val);
7965
7966 void __set_blockedByExtId(const int64_t val);
7967
7968 void __set_blockedByIntId(const int64_t val);
7969
7970 void __set_lockIdInternal(const int64_t val);
7971
7972 bool operator == (const ShowLocksResponseElement & rhs) const;
7973 bool operator != (const ShowLocksResponseElement &rhs) const {
7974 return !(*this == rhs);
7975 }
7976
7977 bool operator < (const ShowLocksResponseElement & ) const;
7978
7979 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
7980 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
7981
7982 virtual void printTo(std::ostream& out) const;
7983};
7984
7985void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) noexcept;
7986
7987std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj);
7988
7990 _ShowLocksResponse__isset() : locks(false) {}
7991 bool locks :1;
7993
7994class ShowLocksResponse : public virtual ::apache::thrift::TBase {
7995 public:
7996
7998 ShowLocksResponse& operator=(const ShowLocksResponse&);
7999 ShowLocksResponse() noexcept;
8000
8001 virtual ~ShowLocksResponse() noexcept;
8002 std::vector<ShowLocksResponseElement> locks;
8003
8005
8006 void __set_locks(const std::vector<ShowLocksResponseElement> & val);
8007
8008 bool operator == (const ShowLocksResponse & rhs) const;
8009 bool operator != (const ShowLocksResponse &rhs) const {
8010 return !(*this == rhs);
8011 }
8012
8013 bool operator < (const ShowLocksResponse & ) const;
8014
8015 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8016 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8017
8018 virtual void printTo(std::ostream& out) const;
8019};
8020
8021void swap(ShowLocksResponse &a, ShowLocksResponse &b) noexcept;
8022
8023std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj);
8024
8026 _HeartbeatRequest__isset() : lockid(false), txnid(false) {}
8027 bool lockid :1;
8028 bool txnid :1;
8030
8031class HeartbeatRequest : public virtual ::apache::thrift::TBase {
8032 public:
8033
8034 HeartbeatRequest(const HeartbeatRequest&) noexcept;
8035 HeartbeatRequest& operator=(const HeartbeatRequest&) noexcept;
8036 HeartbeatRequest() noexcept;
8037
8038 virtual ~HeartbeatRequest() noexcept;
8039 int64_t lockid;
8040 int64_t txnid;
8041
8043
8044 void __set_lockid(const int64_t val);
8045
8046 void __set_txnid(const int64_t val);
8047
8048 bool operator == (const HeartbeatRequest & rhs) const;
8049 bool operator != (const HeartbeatRequest &rhs) const {
8050 return !(*this == rhs);
8051 }
8052
8053 bool operator < (const HeartbeatRequest & ) const;
8054
8055 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8056 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8057
8058 virtual void printTo(std::ostream& out) const;
8059};
8060
8061void swap(HeartbeatRequest &a, HeartbeatRequest &b) noexcept;
8062
8063std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj);
8064
8065
8066class HeartbeatTxnRangeRequest : public virtual ::apache::thrift::TBase {
8067 public:
8068
8070 HeartbeatTxnRangeRequest& operator=(const HeartbeatTxnRangeRequest&) noexcept;
8071 HeartbeatTxnRangeRequest() noexcept;
8072
8073 virtual ~HeartbeatTxnRangeRequest() noexcept;
8074 int64_t min;
8075 int64_t max;
8076
8077 void __set_min(const int64_t val);
8078
8079 void __set_max(const int64_t val);
8080
8081 bool operator == (const HeartbeatTxnRangeRequest & rhs) const;
8082 bool operator != (const HeartbeatTxnRangeRequest &rhs) const {
8083 return !(*this == rhs);
8084 }
8085
8086 bool operator < (const HeartbeatTxnRangeRequest & ) const;
8087
8088 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8089 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8090
8091 virtual void printTo(std::ostream& out) const;
8092};
8093
8094void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) noexcept;
8095
8096std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj);
8097
8098
8099class HeartbeatTxnRangeResponse : public virtual ::apache::thrift::TBase {
8100 public:
8101
8104 HeartbeatTxnRangeResponse() noexcept;
8105
8106 virtual ~HeartbeatTxnRangeResponse() noexcept;
8107 std::set<int64_t> aborted;
8108 std::set<int64_t> nosuch;
8109
8110 void __set_aborted(const std::set<int64_t> & val);
8111
8112 void __set_nosuch(const std::set<int64_t> & val);
8113
8114 bool operator == (const HeartbeatTxnRangeResponse & rhs) const;
8115 bool operator != (const HeartbeatTxnRangeResponse &rhs) const {
8116 return !(*this == rhs);
8117 }
8118
8119 bool operator < (const HeartbeatTxnRangeResponse & ) const;
8120
8121 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8122 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8123
8124 virtual void printTo(std::ostream& out) const;
8125};
8126
8127void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) noexcept;
8128
8129std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj);
8130
8132 _CompactionRequest__isset() : partitionname(false), runas(false), properties(false), initiatorId(false), initiatorVersion(false), poolName(false), numberOfBuckets(false), orderByClause(false) {}
8133 bool partitionname :1;
8134 bool runas :1;
8135 bool properties :1;
8136 bool initiatorId :1;
8137 bool initiatorVersion :1;
8138 bool poolName :1;
8139 bool numberOfBuckets :1;
8140 bool orderByClause :1;
8142
8143class CompactionRequest : public virtual ::apache::thrift::TBase {
8144 public:
8145
8147 CompactionRequest& operator=(const CompactionRequest&);
8148 CompactionRequest() noexcept;
8149
8150 virtual ~CompactionRequest() noexcept;
8151 std::string dbname;
8152 std::string tablename;
8153 std::string partitionname;
8158 CompactionType::type type;
8159 std::string runas;
8160 std::map<std::string, std::string> properties;
8161 std::string initiatorId;
8162 std::string initiatorVersion;
8163 std::string poolName;
8164 int32_t numberOfBuckets;
8165 std::string orderByClause;
8166
8168
8169 void __set_dbname(const std::string& val);
8170
8171 void __set_tablename(const std::string& val);
8172
8173 void __set_partitionname(const std::string& val);
8174
8175 void __set_type(const CompactionType::type val);
8176
8177 void __set_runas(const std::string& val);
8178
8179 void __set_properties(const std::map<std::string, std::string> & val);
8180
8181 void __set_initiatorId(const std::string& val);
8182
8183 void __set_initiatorVersion(const std::string& val);
8184
8185 void __set_poolName(const std::string& val);
8186
8187 void __set_numberOfBuckets(const int32_t val);
8188
8189 void __set_orderByClause(const std::string& val);
8190
8191 bool operator == (const CompactionRequest & rhs) const;
8192 bool operator != (const CompactionRequest &rhs) const {
8193 return !(*this == rhs);
8194 }
8195
8196 bool operator < (const CompactionRequest & ) const;
8197
8198 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8199 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8200
8201 virtual void printTo(std::ostream& out) const;
8202};
8203
8204void swap(CompactionRequest &a, CompactionRequest &b) noexcept;
8205
8206std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj);
8207
8209 _CompactionInfoStruct__isset() : partitionname(false), runas(false), properties(false), toomanyaborts(false), state(false), workerId(false), start(false), highestWriteId(false), errorMessage(false), hasoldabort(false), enqueueTime(false), retryRetention(false), poolname(false), numberOfBuckets(false), orderByClause(false) {}
8210 bool partitionname :1;
8211 bool runas :1;
8212 bool properties :1;
8213 bool toomanyaborts :1;
8214 bool state :1;
8215 bool workerId :1;
8216 bool start :1;
8217 bool highestWriteId :1;
8218 bool errorMessage :1;
8219 bool hasoldabort :1;
8220 bool enqueueTime :1;
8221 bool retryRetention :1;
8222 bool poolname :1;
8223 bool numberOfBuckets :1;
8224 bool orderByClause :1;
8226
8227class CompactionInfoStruct : public virtual ::apache::thrift::TBase {
8228 public:
8229
8231 CompactionInfoStruct& operator=(const CompactionInfoStruct&);
8232 CompactionInfoStruct() noexcept;
8233
8234 virtual ~CompactionInfoStruct() noexcept;
8235 int64_t id;
8236 std::string dbname;
8237 std::string tablename;
8238 std::string partitionname;
8243 CompactionType::type type;
8244 std::string runas;
8245 std::string properties;
8246 bool toomanyaborts;
8247 std::string state;
8248 std::string workerId;
8249 int64_t start;
8250 int64_t highestWriteId;
8251 std::string errorMessage;
8252 bool hasoldabort;
8253 int64_t enqueueTime;
8254 int64_t retryRetention;
8255 std::string poolname;
8256 int32_t numberOfBuckets;
8257 std::string orderByClause;
8258
8260
8261 void __set_id(const int64_t val);
8262
8263 void __set_dbname(const std::string& val);
8264
8265 void __set_tablename(const std::string& val);
8266
8267 void __set_partitionname(const std::string& val);
8268
8269 void __set_type(const CompactionType::type val);
8270
8271 void __set_runas(const std::string& val);
8272
8273 void __set_properties(const std::string& val);
8274
8275 void __set_toomanyaborts(const bool val);
8276
8277 void __set_state(const std::string& val);
8278
8279 void __set_workerId(const std::string& val);
8280
8281 void __set_start(const int64_t val);
8282
8283 void __set_highestWriteId(const int64_t val);
8284
8285 void __set_errorMessage(const std::string& val);
8286
8287 void __set_hasoldabort(const bool val);
8288
8289 void __set_enqueueTime(const int64_t val);
8290
8291 void __set_retryRetention(const int64_t val);
8292
8293 void __set_poolname(const std::string& val);
8294
8295 void __set_numberOfBuckets(const int32_t val);
8296
8297 void __set_orderByClause(const std::string& val);
8298
8299 bool operator == (const CompactionInfoStruct & rhs) const;
8300 bool operator != (const CompactionInfoStruct &rhs) const {
8301 return !(*this == rhs);
8302 }
8303
8304 bool operator < (const CompactionInfoStruct & ) const;
8305
8306 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8307 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8308
8309 virtual void printTo(std::ostream& out) const;
8310};
8311
8312void swap(CompactionInfoStruct &a, CompactionInfoStruct &b) noexcept;
8313
8314std::ostream& operator<<(std::ostream& out, const CompactionInfoStruct& obj);
8315
8320
8321class OptionalCompactionInfoStruct : public virtual ::apache::thrift::TBase {
8322 public:
8323
8327
8328 virtual ~OptionalCompactionInfoStruct() noexcept;
8330
8332
8333 void __set_ci(const CompactionInfoStruct& val);
8334
8335 bool operator == (const OptionalCompactionInfoStruct & rhs) const;
8336 bool operator != (const OptionalCompactionInfoStruct &rhs) const {
8337 return !(*this == rhs);
8338 }
8339
8340 bool operator < (const OptionalCompactionInfoStruct & ) const;
8341
8342 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8343 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8344
8345 virtual void printTo(std::ostream& out) const;
8346};
8347
8349
8350std::ostream& operator<<(std::ostream& out, const OptionalCompactionInfoStruct& obj);
8351
8353 _CompactionMetricsDataStruct__isset() : partitionname(false) {}
8354 bool partitionname :1;
8356
8357class CompactionMetricsDataStruct : public virtual ::apache::thrift::TBase {
8358 public:
8359
8362 CompactionMetricsDataStruct() noexcept;
8363
8364 virtual ~CompactionMetricsDataStruct() noexcept;
8365 std::string dbname;
8366 std::string tblname;
8367 std::string partitionname;
8372 CompactionMetricsMetricType::type type;
8373 int32_t metricvalue;
8374 int32_t version;
8375 int32_t threshold;
8376
8378
8379 void __set_dbname(const std::string& val);
8380
8381 void __set_tblname(const std::string& val);
8382
8383 void __set_partitionname(const std::string& val);
8384
8385 void __set_type(const CompactionMetricsMetricType::type val);
8386
8387 void __set_metricvalue(const int32_t val);
8388
8389 void __set_version(const int32_t val);
8390
8391 void __set_threshold(const int32_t val);
8392
8393 bool operator == (const CompactionMetricsDataStruct & rhs) const;
8394 bool operator != (const CompactionMetricsDataStruct &rhs) const {
8395 return !(*this == rhs);
8396 }
8397
8398 bool operator < (const CompactionMetricsDataStruct & ) const;
8399
8400 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8401 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8402
8403 virtual void printTo(std::ostream& out) const;
8404};
8405
8406void swap(CompactionMetricsDataStruct &a, CompactionMetricsDataStruct &b) noexcept;
8407
8408std::ostream& operator<<(std::ostream& out, const CompactionMetricsDataStruct& obj);
8409
8414
8415class CompactionMetricsDataResponse : public virtual ::apache::thrift::TBase {
8416 public:
8417
8421
8422 virtual ~CompactionMetricsDataResponse() noexcept;
8424
8426
8427 void __set_data(const CompactionMetricsDataStruct& val);
8428
8429 bool operator == (const CompactionMetricsDataResponse & rhs) const;
8430 bool operator != (const CompactionMetricsDataResponse &rhs) const {
8431 return !(*this == rhs);
8432 }
8433
8434 bool operator < (const CompactionMetricsDataResponse & ) const;
8435
8436 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8437 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8438
8439 virtual void printTo(std::ostream& out) const;
8440};
8441
8443
8444std::ostream& operator<<(std::ostream& out, const CompactionMetricsDataResponse& obj);
8445
8447 _CompactionMetricsDataRequest__isset() : partitionName(false) {}
8448 bool partitionName :1;
8450
8451class CompactionMetricsDataRequest : public virtual ::apache::thrift::TBase {
8452 public:
8453
8457
8458 virtual ~CompactionMetricsDataRequest() noexcept;
8459 std::string dbName;
8460 std::string tblName;
8461 std::string partitionName;
8466 CompactionMetricsMetricType::type type;
8467
8469
8470 void __set_dbName(const std::string& val);
8471
8472 void __set_tblName(const std::string& val);
8473
8474 void __set_partitionName(const std::string& val);
8475
8476 void __set_type(const CompactionMetricsMetricType::type val);
8477
8478 bool operator == (const CompactionMetricsDataRequest & rhs) const;
8479 bool operator != (const CompactionMetricsDataRequest &rhs) const {
8480 return !(*this == rhs);
8481 }
8482
8483 bool operator < (const CompactionMetricsDataRequest & ) const;
8484
8485 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8486 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8487
8488 virtual void printTo(std::ostream& out) const;
8489};
8490
8491void swap(CompactionMetricsDataRequest &a, CompactionMetricsDataRequest &b) noexcept;
8492
8493std::ostream& operator<<(std::ostream& out, const CompactionMetricsDataRequest& obj);
8494
8496 _CompactionResponse__isset() : errormessage(false) {}
8497 bool errormessage :1;
8499
8500class CompactionResponse : public virtual ::apache::thrift::TBase {
8501 public:
8502
8504 CompactionResponse& operator=(const CompactionResponse&);
8505 CompactionResponse() noexcept;
8506
8507 virtual ~CompactionResponse() noexcept;
8508 int64_t id;
8509 std::string state;
8510 bool accepted;
8511 std::string errormessage;
8512
8514
8515 void __set_id(const int64_t val);
8516
8517 void __set_state(const std::string& val);
8518
8519 void __set_accepted(const bool val);
8520
8521 void __set_errormessage(const std::string& val);
8522
8523 bool operator == (const CompactionResponse & rhs) const;
8524 bool operator != (const CompactionResponse &rhs) const {
8525 return !(*this == rhs);
8526 }
8527
8528 bool operator < (const CompactionResponse & ) const;
8529
8530 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8531 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8532
8533 virtual void printTo(std::ostream& out) const;
8534};
8535
8536void swap(CompactionResponse &a, CompactionResponse &b) noexcept;
8537
8538std::ostream& operator<<(std::ostream& out, const CompactionResponse& obj);
8539
8541 _ShowCompactRequest__isset() : id(false), poolName(false), dbName(false), tbName(false), partName(false), type(false), state(false), limit(false), order(false) {}
8542 bool id :1;
8543 bool poolName :1;
8544 bool dbName :1;
8545 bool tbName :1;
8546 bool partName :1;
8547 bool type :1;
8548 bool state :1;
8549 bool limit :1;
8550 bool order :1;
8552
8553class ShowCompactRequest : public virtual ::apache::thrift::TBase {
8554 public:
8555
8557 ShowCompactRequest& operator=(const ShowCompactRequest&);
8558 ShowCompactRequest() noexcept;
8559
8560 virtual ~ShowCompactRequest() noexcept;
8561 int64_t id;
8562 std::string poolName;
8563 std::string dbName;
8564 std::string tbName;
8565 std::string partName;
8570 CompactionType::type type;
8571 std::string state;
8572 int64_t limit;
8573 std::string order;
8574
8576
8577 void __set_id(const int64_t val);
8578
8579 void __set_poolName(const std::string& val);
8580
8581 void __set_dbName(const std::string& val);
8582
8583 void __set_tbName(const std::string& val);
8584
8585 void __set_partName(const std::string& val);
8586
8587 void __set_type(const CompactionType::type val);
8588
8589 void __set_state(const std::string& val);
8590
8591 void __set_limit(const int64_t val);
8592
8593 void __set_order(const std::string& val);
8594
8595 bool operator == (const ShowCompactRequest & rhs) const;
8596 bool operator != (const ShowCompactRequest &rhs) const {
8597 return !(*this == rhs);
8598 }
8599
8600 bool operator < (const ShowCompactRequest & ) const;
8601
8602 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8603 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8604
8605 virtual void printTo(std::ostream& out) const;
8606};
8607
8608void swap(ShowCompactRequest &a, ShowCompactRequest &b) noexcept;
8609
8610std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj);
8611
8613 _ShowCompactResponseElement__isset() : partitionname(false), workerid(false), start(false), runAs(false), hightestTxnId(false), metaInfo(false), endTime(false), hadoopJobId(true), id(false), errorMessage(false), enqueueTime(false), workerVersion(false), initiatorId(false), initiatorVersion(false), cleanerStart(false), poolName(false), nextTxnId(false), txnId(false), commitTime(false), hightestWriteId(false) {}
8614 bool partitionname :1;
8615 bool workerid :1;
8616 bool start :1;
8617 bool runAs :1;
8618 bool hightestTxnId :1;
8619 bool metaInfo :1;
8620 bool endTime :1;
8621 bool hadoopJobId :1;
8622 bool id :1;
8623 bool errorMessage :1;
8624 bool enqueueTime :1;
8625 bool workerVersion :1;
8626 bool initiatorId :1;
8627 bool initiatorVersion :1;
8628 bool cleanerStart :1;
8629 bool poolName :1;
8630 bool nextTxnId :1;
8631 bool txnId :1;
8632 bool commitTime :1;
8633 bool hightestWriteId :1;
8635
8636class ShowCompactResponseElement : public virtual ::apache::thrift::TBase {
8637 public:
8638
8642
8643 virtual ~ShowCompactResponseElement() noexcept;
8644 std::string dbname;
8645 std::string tablename;
8646 std::string partitionname;
8651 CompactionType::type type;
8652 std::string state;
8653 std::string workerid;
8654 int64_t start;
8655 std::string runAs;
8656 int64_t hightestTxnId;
8657 std::string metaInfo;
8658 int64_t endTime;
8659 std::string hadoopJobId;
8660 int64_t id;
8661 std::string errorMessage;
8662 int64_t enqueueTime;
8663 std::string workerVersion;
8664 std::string initiatorId;
8665 std::string initiatorVersion;
8666 int64_t cleanerStart;
8667 std::string poolName;
8668 int64_t nextTxnId;
8669 int64_t txnId;
8670 int64_t commitTime;
8671 int64_t hightestWriteId;
8672
8674
8675 void __set_dbname(const std::string& val);
8676
8677 void __set_tablename(const std::string& val);
8678
8679 void __set_partitionname(const std::string& val);
8680
8681 void __set_type(const CompactionType::type val);
8682
8683 void __set_state(const std::string& val);
8684
8685 void __set_workerid(const std::string& val);
8686
8687 void __set_start(const int64_t val);
8688
8689 void __set_runAs(const std::string& val);
8690
8691 void __set_hightestTxnId(const int64_t val);
8692
8693 void __set_metaInfo(const std::string& val);
8694
8695 void __set_endTime(const int64_t val);
8696
8697 void __set_hadoopJobId(const std::string& val);
8698
8699 void __set_id(const int64_t val);
8700
8701 void __set_errorMessage(const std::string& val);
8702
8703 void __set_enqueueTime(const int64_t val);
8704
8705 void __set_workerVersion(const std::string& val);
8706
8707 void __set_initiatorId(const std::string& val);
8708
8709 void __set_initiatorVersion(const std::string& val);
8710
8711 void __set_cleanerStart(const int64_t val);
8712
8713 void __set_poolName(const std::string& val);
8714
8715 void __set_nextTxnId(const int64_t val);
8716
8717 void __set_txnId(const int64_t val);
8718
8719 void __set_commitTime(const int64_t val);
8720
8721 void __set_hightestWriteId(const int64_t val);
8722
8723 bool operator == (const ShowCompactResponseElement & rhs) const;
8724 bool operator != (const ShowCompactResponseElement &rhs) const {
8725 return !(*this == rhs);
8726 }
8727
8728 bool operator < (const ShowCompactResponseElement & ) const;
8729
8730 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8731 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8732
8733 virtual void printTo(std::ostream& out) const;
8734};
8735
8736void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) noexcept;
8737
8738std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj);
8739
8740
8741class ShowCompactResponse : public virtual ::apache::thrift::TBase {
8742 public:
8743
8745 ShowCompactResponse& operator=(const ShowCompactResponse&);
8746 ShowCompactResponse() noexcept;
8747
8748 virtual ~ShowCompactResponse() noexcept;
8749 std::vector<ShowCompactResponseElement> compacts;
8750
8751 void __set_compacts(const std::vector<ShowCompactResponseElement> & val);
8752
8753 bool operator == (const ShowCompactResponse & rhs) const;
8754 bool operator != (const ShowCompactResponse &rhs) const {
8755 return !(*this == rhs);
8756 }
8757
8758 bool operator < (const ShowCompactResponse & ) const;
8759
8760 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8761 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8762
8763 virtual void printTo(std::ostream& out) const;
8764};
8765
8766void swap(ShowCompactResponse &a, ShowCompactResponse &b) noexcept;
8767
8768std::ostream& operator<<(std::ostream& out, const ShowCompactResponse& obj);
8769
8771 _AbortCompactionRequest__isset() : type(false), poolName(false) {}
8772 bool type :1;
8773 bool poolName :1;
8775
8776class AbortCompactionRequest : public virtual ::apache::thrift::TBase {
8777 public:
8778
8781 AbortCompactionRequest() noexcept;
8782
8783 virtual ~AbortCompactionRequest() noexcept;
8784 std::vector<int64_t> compactionIds;
8785 std::string type;
8786 std::string poolName;
8787
8789
8790 void __set_compactionIds(const std::vector<int64_t> & val);
8791
8792 void __set_type(const std::string& val);
8793
8794 void __set_poolName(const std::string& val);
8795
8796 bool operator == (const AbortCompactionRequest & rhs) const;
8797 bool operator != (const AbortCompactionRequest &rhs) const {
8798 return !(*this == rhs);
8799 }
8800
8801 bool operator < (const AbortCompactionRequest & ) const;
8802
8803 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8804 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8805
8806 virtual void printTo(std::ostream& out) const;
8807};
8808
8809void swap(AbortCompactionRequest &a, AbortCompactionRequest &b) noexcept;
8810
8811std::ostream& operator<<(std::ostream& out, const AbortCompactionRequest& obj);
8812
8814 _AbortCompactionResponseElement__isset() : status(false), message(false) {}
8815 bool status :1;
8816 bool message :1;
8818
8819class AbortCompactionResponseElement : public virtual ::apache::thrift::TBase {
8820 public:
8821
8825
8826 virtual ~AbortCompactionResponseElement() noexcept;
8827 int64_t compactionId;
8828 std::string status;
8829 std::string message;
8830
8832
8833 void __set_compactionId(const int64_t val);
8834
8835 void __set_status(const std::string& val);
8836
8837 void __set_message(const std::string& val);
8838
8839 bool operator == (const AbortCompactionResponseElement & rhs) const;
8840 bool operator != (const AbortCompactionResponseElement &rhs) const {
8841 return !(*this == rhs);
8842 }
8843
8844 bool operator < (const AbortCompactionResponseElement & ) const;
8845
8846 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8847 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8848
8849 virtual void printTo(std::ostream& out) const;
8850};
8851
8853
8854std::ostream& operator<<(std::ostream& out, const AbortCompactionResponseElement& obj);
8855
8856
8857class AbortCompactResponse : public virtual ::apache::thrift::TBase {
8858 public:
8859
8861 AbortCompactResponse& operator=(const AbortCompactResponse&);
8862 AbortCompactResponse() noexcept;
8863
8864 virtual ~AbortCompactResponse() noexcept;
8865 std::map<int64_t, AbortCompactionResponseElement> abortedcompacts;
8866
8867 void __set_abortedcompacts(const std::map<int64_t, AbortCompactionResponseElement> & val);
8868
8869 bool operator == (const AbortCompactResponse & rhs) const;
8870 bool operator != (const AbortCompactResponse &rhs) const {
8871 return !(*this == rhs);
8872 }
8873
8874 bool operator < (const AbortCompactResponse & ) const;
8875
8876 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8877 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8878
8879 virtual void printTo(std::ostream& out) const;
8880};
8881
8882void swap(AbortCompactResponse &a, AbortCompactResponse &b) noexcept;
8883
8884std::ostream& operator<<(std::ostream& out, const AbortCompactResponse& obj);
8885
8887 _GetLatestCommittedCompactionInfoRequest__isset() : partitionnames(false), lastCompactionId(false) {}
8888 bool partitionnames :1;
8889 bool lastCompactionId :1;
8891
8892class GetLatestCommittedCompactionInfoRequest : public virtual ::apache::thrift::TBase {
8893 public:
8894
8898
8900 std::string dbname;
8901 std::string tablename;
8902 std::vector<std::string> partitionnames;
8903 int64_t lastCompactionId;
8904
8906
8907 void __set_dbname(const std::string& val);
8908
8909 void __set_tablename(const std::string& val);
8910
8911 void __set_partitionnames(const std::vector<std::string> & val);
8912
8913 void __set_lastCompactionId(const int64_t val);
8914
8915 bool operator == (const GetLatestCommittedCompactionInfoRequest & rhs) const;
8916 bool operator != (const GetLatestCommittedCompactionInfoRequest &rhs) const {
8917 return !(*this == rhs);
8918 }
8919
8920 bool operator < (const GetLatestCommittedCompactionInfoRequest & ) const;
8921
8922 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8923 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8924
8925 virtual void printTo(std::ostream& out) const;
8926};
8927
8929
8930std::ostream& operator<<(std::ostream& out, const GetLatestCommittedCompactionInfoRequest& obj);
8931
8932
8933class GetLatestCommittedCompactionInfoResponse : public virtual ::apache::thrift::TBase {
8934 public:
8935
8939
8941 std::vector<CompactionInfoStruct> compactions;
8942
8943 void __set_compactions(const std::vector<CompactionInfoStruct> & val);
8944
8945 bool operator == (const GetLatestCommittedCompactionInfoResponse & rhs) const;
8946 bool operator != (const GetLatestCommittedCompactionInfoResponse &rhs) const {
8947 return !(*this == rhs);
8948 }
8949
8950 bool operator < (const GetLatestCommittedCompactionInfoResponse & ) const;
8951
8952 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8953 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8954
8955 virtual void printTo(std::ostream& out) const;
8956};
8957
8959
8960std::ostream& operator<<(std::ostream& out, const GetLatestCommittedCompactionInfoResponse& obj);
8961
8963 _FindNextCompactRequest__isset() : workerId(false), workerVersion(false), poolName(false) {}
8964 bool workerId :1;
8965 bool workerVersion :1;
8966 bool poolName :1;
8968
8969class FindNextCompactRequest : public virtual ::apache::thrift::TBase {
8970 public:
8971
8974 FindNextCompactRequest() noexcept;
8975
8976 virtual ~FindNextCompactRequest() noexcept;
8977 std::string workerId;
8978 std::string workerVersion;
8979 std::string poolName;
8980
8982
8983 void __set_workerId(const std::string& val);
8984
8985 void __set_workerVersion(const std::string& val);
8986
8987 void __set_poolName(const std::string& val);
8988
8989 bool operator == (const FindNextCompactRequest & rhs) const;
8990 bool operator != (const FindNextCompactRequest &rhs) const {
8991 return !(*this == rhs);
8992 }
8993
8994 bool operator < (const FindNextCompactRequest & ) const;
8995
8996 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
8997 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
8998
8999 virtual void printTo(std::ostream& out) const;
9000};
9001
9002void swap(FindNextCompactRequest &a, FindNextCompactRequest &b) noexcept;
9003
9004std::ostream& operator<<(std::ostream& out, const FindNextCompactRequest& obj);
9005
9007 _AddDynamicPartitions__isset() : operationType(true) {}
9008 bool operationType :1;
9010
9011class AddDynamicPartitions : public virtual ::apache::thrift::TBase {
9012 public:
9013
9015 AddDynamicPartitions& operator=(const AddDynamicPartitions&);
9016 AddDynamicPartitions() noexcept;
9017
9018 virtual ~AddDynamicPartitions() noexcept;
9019 int64_t txnid;
9020 int64_t writeid;
9021 std::string dbname;
9022 std::string tablename;
9023 std::vector<std::string> partitionnames;
9028 DataOperationType::type operationType;
9029
9031
9032 void __set_txnid(const int64_t val);
9033
9034 void __set_writeid(const int64_t val);
9035
9036 void __set_dbname(const std::string& val);
9037
9038 void __set_tablename(const std::string& val);
9039
9040 void __set_partitionnames(const std::vector<std::string> & val);
9041
9042 void __set_operationType(const DataOperationType::type val);
9043
9044 bool operator == (const AddDynamicPartitions & rhs) const;
9045 bool operator != (const AddDynamicPartitions &rhs) const {
9046 return !(*this == rhs);
9047 }
9048
9049 bool operator < (const AddDynamicPartitions & ) const;
9050
9051 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9052 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9053
9054 virtual void printTo(std::ostream& out) const;
9055};
9056
9057void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) noexcept;
9058
9059std::ostream& operator<<(std::ostream& out, const AddDynamicPartitions& obj);
9060
9061typedef struct _BasicTxnInfo__isset {
9062 _BasicTxnInfo__isset() : time(false), txnid(false), dbname(false), tablename(false), partitionname(false) {}
9063 bool time :1;
9064 bool txnid :1;
9065 bool dbname :1;
9066 bool tablename :1;
9067 bool partitionname :1;
9069
9070class BasicTxnInfo : public virtual ::apache::thrift::TBase {
9071 public:
9072
9073 BasicTxnInfo(const BasicTxnInfo&);
9074 BasicTxnInfo& operator=(const BasicTxnInfo&);
9075 BasicTxnInfo() noexcept;
9076
9077 virtual ~BasicTxnInfo() noexcept;
9078 bool isnull;
9079 int64_t time;
9080 int64_t txnid;
9081 std::string dbname;
9082 std::string tablename;
9083 std::string partitionname;
9084
9085 _BasicTxnInfo__isset __isset;
9086
9087 void __set_isnull(const bool val);
9088
9089 void __set_time(const int64_t val);
9090
9091 void __set_txnid(const int64_t val);
9092
9093 void __set_dbname(const std::string& val);
9094
9095 void __set_tablename(const std::string& val);
9096
9097 void __set_partitionname(const std::string& val);
9098
9099 bool operator == (const BasicTxnInfo & rhs) const;
9100 bool operator != (const BasicTxnInfo &rhs) const {
9101 return !(*this == rhs);
9102 }
9103
9104 bool operator < (const BasicTxnInfo & ) const;
9105
9106 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9107 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9108
9109 virtual void printTo(std::ostream& out) const;
9110};
9111
9112void swap(BasicTxnInfo &a, BasicTxnInfo &b) noexcept;
9113
9114std::ostream& operator<<(std::ostream& out, const BasicTxnInfo& obj);
9115
9117 _NotificationEventRequest__isset() : maxEvents(false), eventTypeSkipList(false), catName(false), dbName(false), tableNames(false) {}
9118 bool maxEvents :1;
9119 bool eventTypeSkipList :1;
9120 bool catName :1;
9121 bool dbName :1;
9122 bool tableNames :1;
9124
9125class NotificationEventRequest : public virtual ::apache::thrift::TBase {
9126 public:
9127
9130 NotificationEventRequest() noexcept;
9131
9132 virtual ~NotificationEventRequest() noexcept;
9133 int64_t lastEvent;
9134 int32_t maxEvents;
9135 std::vector<std::string> eventTypeSkipList;
9136 std::string catName;
9137 std::string dbName;
9138 std::vector<std::string> tableNames;
9139
9141
9142 void __set_lastEvent(const int64_t val);
9143
9144 void __set_maxEvents(const int32_t val);
9145
9146 void __set_eventTypeSkipList(const std::vector<std::string> & val);
9147
9148 void __set_catName(const std::string& val);
9149
9150 void __set_dbName(const std::string& val);
9151
9152 void __set_tableNames(const std::vector<std::string> & val);
9153
9154 bool operator == (const NotificationEventRequest & rhs) const;
9155 bool operator != (const NotificationEventRequest &rhs) const {
9156 return !(*this == rhs);
9157 }
9158
9159 bool operator < (const NotificationEventRequest & ) const;
9160
9161 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9162 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9163
9164 virtual void printTo(std::ostream& out) const;
9165};
9166
9167void swap(NotificationEventRequest &a, NotificationEventRequest &b) noexcept;
9168
9169std::ostream& operator<<(std::ostream& out, const NotificationEventRequest& obj);
9170
9172 _NotificationEvent__isset() : dbName(false), tableName(false), messageFormat(false), catName(false) {}
9173 bool dbName :1;
9174 bool tableName :1;
9175 bool messageFormat :1;
9176 bool catName :1;
9178
9179class NotificationEvent : public virtual ::apache::thrift::TBase {
9180 public:
9181
9183 NotificationEvent& operator=(const NotificationEvent&);
9184 NotificationEvent() noexcept;
9185
9186 virtual ~NotificationEvent() noexcept;
9187 int64_t eventId;
9188 int32_t eventTime;
9189 std::string eventType;
9190 std::string dbName;
9191 std::string tableName;
9192 std::string message;
9193 std::string messageFormat;
9194 std::string catName;
9195
9197
9198 void __set_eventId(const int64_t val);
9199
9200 void __set_eventTime(const int32_t val);
9201
9202 void __set_eventType(const std::string& val);
9203
9204 void __set_dbName(const std::string& val);
9205
9206 void __set_tableName(const std::string& val);
9207
9208 void __set_message(const std::string& val);
9209
9210 void __set_messageFormat(const std::string& val);
9211
9212 void __set_catName(const std::string& val);
9213
9214 bool operator == (const NotificationEvent & rhs) const;
9215 bool operator != (const NotificationEvent &rhs) const {
9216 return !(*this == rhs);
9217 }
9218
9219 bool operator < (const NotificationEvent & ) const;
9220
9221 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9222 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9223
9224 virtual void printTo(std::ostream& out) const;
9225};
9226
9227void swap(NotificationEvent &a, NotificationEvent &b) noexcept;
9228
9229std::ostream& operator<<(std::ostream& out, const NotificationEvent& obj);
9230
9231
9232class NotificationEventResponse : public virtual ::apache::thrift::TBase {
9233 public:
9234
9237 NotificationEventResponse() noexcept;
9238
9239 virtual ~NotificationEventResponse() noexcept;
9240 std::vector<NotificationEvent> events;
9241
9242 void __set_events(const std::vector<NotificationEvent> & val);
9243
9244 bool operator == (const NotificationEventResponse & rhs) const;
9245 bool operator != (const NotificationEventResponse &rhs) const {
9246 return !(*this == rhs);
9247 }
9248
9249 bool operator < (const NotificationEventResponse & ) const;
9250
9251 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9252 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9253
9254 virtual void printTo(std::ostream& out) const;
9255};
9256
9257void swap(NotificationEventResponse &a, NotificationEventResponse &b) noexcept;
9258
9259std::ostream& operator<<(std::ostream& out, const NotificationEventResponse& obj);
9260
9261
9262class CurrentNotificationEventId : public virtual ::apache::thrift::TBase {
9263 public:
9264
9266 CurrentNotificationEventId& operator=(const CurrentNotificationEventId&) noexcept;
9267 CurrentNotificationEventId() noexcept;
9268
9269 virtual ~CurrentNotificationEventId() noexcept;
9270 int64_t eventId;
9271
9272 void __set_eventId(const int64_t val);
9273
9274 bool operator == (const CurrentNotificationEventId & rhs) const;
9275 bool operator != (const CurrentNotificationEventId &rhs) const {
9276 return !(*this == rhs);
9277 }
9278
9279 bool operator < (const CurrentNotificationEventId & ) const;
9280
9281 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9282 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9283
9284 virtual void printTo(std::ostream& out) const;
9285};
9286
9288
9289std::ostream& operator<<(std::ostream& out, const CurrentNotificationEventId& obj);
9290
9292 _NotificationEventsCountRequest__isset() : catName(false), toEventId(false), limit(false), tableNames(false) {}
9293 bool catName :1;
9294 bool toEventId :1;
9295 bool limit :1;
9296 bool tableNames :1;
9298
9299class NotificationEventsCountRequest : public virtual ::apache::thrift::TBase {
9300 public:
9301
9305
9306 virtual ~NotificationEventsCountRequest() noexcept;
9307 int64_t fromEventId;
9308 std::string dbName;
9309 std::string catName;
9310 int64_t toEventId;
9311 int64_t limit;
9312 std::vector<std::string> tableNames;
9313
9315
9316 void __set_fromEventId(const int64_t val);
9317
9318 void __set_dbName(const std::string& val);
9319
9320 void __set_catName(const std::string& val);
9321
9322 void __set_toEventId(const int64_t val);
9323
9324 void __set_limit(const int64_t val);
9325
9326 void __set_tableNames(const std::vector<std::string> & val);
9327
9328 bool operator == (const NotificationEventsCountRequest & rhs) const;
9329 bool operator != (const NotificationEventsCountRequest &rhs) const {
9330 return !(*this == rhs);
9331 }
9332
9333 bool operator < (const NotificationEventsCountRequest & ) const;
9334
9335 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9336 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9337
9338 virtual void printTo(std::ostream& out) const;
9339};
9340
9342
9343std::ostream& operator<<(std::ostream& out, const NotificationEventsCountRequest& obj);
9344
9345
9346class NotificationEventsCountResponse : public virtual ::apache::thrift::TBase {
9347 public:
9348
9352
9353 virtual ~NotificationEventsCountResponse() noexcept;
9354 int64_t eventsCount;
9355
9356 void __set_eventsCount(const int64_t val);
9357
9358 bool operator == (const NotificationEventsCountResponse & rhs) const;
9359 bool operator != (const NotificationEventsCountResponse &rhs) const {
9360 return !(*this == rhs);
9361 }
9362
9363 bool operator < (const NotificationEventsCountResponse & ) const;
9364
9365 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9366 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9367
9368 virtual void printTo(std::ostream& out) const;
9369};
9370
9372
9373std::ostream& operator<<(std::ostream& out, const NotificationEventsCountResponse& obj);
9374
9376 _InsertEventRequestData__isset() : replace(false), filesAddedChecksum(false), subDirectoryList(false), partitionVal(false) {}
9377 bool replace :1;
9378 bool filesAddedChecksum :1;
9379 bool subDirectoryList :1;
9380 bool partitionVal :1;
9382
9383class InsertEventRequestData : public virtual ::apache::thrift::TBase {
9384 public:
9385
9388 InsertEventRequestData() noexcept;
9389
9390 virtual ~InsertEventRequestData() noexcept;
9391 bool replace;
9392 std::vector<std::string> filesAdded;
9393 std::vector<std::string> filesAddedChecksum;
9394 std::vector<std::string> subDirectoryList;
9395 std::vector<std::string> partitionVal;
9396
9398
9399 void __set_replace(const bool val);
9400
9401 void __set_filesAdded(const std::vector<std::string> & val);
9402
9403 void __set_filesAddedChecksum(const std::vector<std::string> & val);
9404
9405 void __set_subDirectoryList(const std::vector<std::string> & val);
9406
9407 void __set_partitionVal(const std::vector<std::string> & val);
9408
9409 bool operator == (const InsertEventRequestData & rhs) const;
9410 bool operator != (const InsertEventRequestData &rhs) const {
9411 return !(*this == rhs);
9412 }
9413
9414 bool operator < (const InsertEventRequestData & ) const;
9415
9416 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9417 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9418
9419 virtual void printTo(std::ostream& out) const;
9420};
9421
9422void swap(InsertEventRequestData &a, InsertEventRequestData &b) noexcept;
9423
9424std::ostream& operator<<(std::ostream& out, const InsertEventRequestData& obj);
9425
9427 _FireEventRequestData__isset() : insertData(false), insertDatas(false), refreshEvent(false) {}
9428 bool insertData :1;
9429 bool insertDatas :1;
9430 bool refreshEvent :1;
9432
9433class FireEventRequestData : public virtual ::apache::thrift::TBase {
9434 public:
9435
9437 FireEventRequestData& operator=(const FireEventRequestData&);
9438 FireEventRequestData() noexcept;
9439
9440 virtual ~FireEventRequestData() noexcept;
9441 InsertEventRequestData insertData;
9442 std::vector<InsertEventRequestData> insertDatas;
9443 bool refreshEvent;
9444
9446
9447 void __set_insertData(const InsertEventRequestData& val);
9448
9449 void __set_insertDatas(const std::vector<InsertEventRequestData> & val);
9450
9451 void __set_refreshEvent(const bool val);
9452
9453 bool operator == (const FireEventRequestData & rhs) const;
9454 bool operator != (const FireEventRequestData &rhs) const {
9455 return !(*this == rhs);
9456 }
9457
9458 bool operator < (const FireEventRequestData & ) const;
9459
9460 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9461 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9462
9463 virtual void printTo(std::ostream& out) const;
9464};
9465
9466void swap(FireEventRequestData &a, FireEventRequestData &b) noexcept;
9467
9468std::ostream& operator<<(std::ostream& out, const FireEventRequestData& obj);
9469
9471 _FireEventRequest__isset() : dbName(false), tableName(false), partitionVals(false), catName(false), tblParams(false) {}
9472 bool dbName :1;
9473 bool tableName :1;
9474 bool partitionVals :1;
9475 bool catName :1;
9476 bool tblParams :1;
9478
9479class FireEventRequest : public virtual ::apache::thrift::TBase {
9480 public:
9481
9483 FireEventRequest& operator=(const FireEventRequest&);
9484 FireEventRequest() noexcept;
9485
9486 virtual ~FireEventRequest() noexcept;
9487 bool successful;
9489 std::string dbName;
9490 std::string tableName;
9491 std::vector<std::string> partitionVals;
9492 std::string catName;
9493 std::map<std::string, std::string> tblParams;
9494
9496
9497 void __set_successful(const bool val);
9498
9499 void __set_data(const FireEventRequestData& val);
9500
9501 void __set_dbName(const std::string& val);
9502
9503 void __set_tableName(const std::string& val);
9504
9505 void __set_partitionVals(const std::vector<std::string> & val);
9506
9507 void __set_catName(const std::string& val);
9508
9509 void __set_tblParams(const std::map<std::string, std::string> & val);
9510
9511 bool operator == (const FireEventRequest & rhs) const;
9512 bool operator != (const FireEventRequest &rhs) const {
9513 return !(*this == rhs);
9514 }
9515
9516 bool operator < (const FireEventRequest & ) const;
9517
9518 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9519 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9520
9521 virtual void printTo(std::ostream& out) const;
9522};
9523
9524void swap(FireEventRequest &a, FireEventRequest &b) noexcept;
9525
9526std::ostream& operator<<(std::ostream& out, const FireEventRequest& obj);
9527
9529 _FireEventResponse__isset() : eventIds(false) {}
9530 bool eventIds :1;
9532
9533class FireEventResponse : public virtual ::apache::thrift::TBase {
9534 public:
9535
9537 FireEventResponse& operator=(const FireEventResponse&);
9538 FireEventResponse() noexcept;
9539
9540 virtual ~FireEventResponse() noexcept;
9541 std::vector<int64_t> eventIds;
9542
9544
9545 void __set_eventIds(const std::vector<int64_t> & val);
9546
9547 bool operator == (const FireEventResponse & rhs) const;
9548 bool operator != (const FireEventResponse &rhs) const {
9549 return !(*this == rhs);
9550 }
9551
9552 bool operator < (const FireEventResponse & ) const;
9553
9554 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9555 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9556
9557 virtual void printTo(std::ostream& out) const;
9558};
9559
9560void swap(FireEventResponse &a, FireEventResponse &b) noexcept;
9561
9562std::ostream& operator<<(std::ostream& out, const FireEventResponse& obj);
9563
9565 _WriteNotificationLogRequest__isset() : partitionVals(false) {}
9566 bool partitionVals :1;
9568
9569class WriteNotificationLogRequest : public virtual ::apache::thrift::TBase {
9570 public:
9571
9574 WriteNotificationLogRequest() noexcept;
9575
9576 virtual ~WriteNotificationLogRequest() noexcept;
9577 int64_t txnId;
9578 int64_t writeId;
9579 std::string db;
9580 std::string table;
9581 InsertEventRequestData fileInfo;
9582 std::vector<std::string> partitionVals;
9583
9585
9586 void __set_txnId(const int64_t val);
9587
9588 void __set_writeId(const int64_t val);
9589
9590 void __set_db(const std::string& val);
9591
9592 void __set_table(const std::string& val);
9593
9594 void __set_fileInfo(const InsertEventRequestData& val);
9595
9596 void __set_partitionVals(const std::vector<std::string> & val);
9597
9598 bool operator == (const WriteNotificationLogRequest & rhs) const;
9599 bool operator != (const WriteNotificationLogRequest &rhs) const {
9600 return !(*this == rhs);
9601 }
9602
9603 bool operator < (const WriteNotificationLogRequest & ) const;
9604
9605 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9606 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9607
9608 virtual void printTo(std::ostream& out) const;
9609};
9610
9612
9613std::ostream& operator<<(std::ostream& out, const WriteNotificationLogRequest& obj);
9614
9615
9616class WriteNotificationLogResponse : public virtual ::apache::thrift::TBase {
9617 public:
9618
9622
9623 virtual ~WriteNotificationLogResponse() noexcept;
9624
9625 bool operator == (const WriteNotificationLogResponse & /* rhs */) const;
9626 bool operator != (const WriteNotificationLogResponse &rhs) const {
9627 return !(*this == rhs);
9628 }
9629
9630 bool operator < (const WriteNotificationLogResponse & ) const;
9631
9632 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9633 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9634
9635 virtual void printTo(std::ostream& out) const;
9636};
9637
9639
9640std::ostream& operator<<(std::ostream& out, const WriteNotificationLogResponse& obj);
9641
9642
9643class WriteNotificationLogBatchRequest : public virtual ::apache::thrift::TBase {
9644 public:
9645
9649
9650 virtual ~WriteNotificationLogBatchRequest() noexcept;
9651 std::string catalog;
9652 std::string db;
9653 std::string table;
9654 std::vector<WriteNotificationLogRequest> requestList;
9655
9656 void __set_catalog(const std::string& val);
9657
9658 void __set_db(const std::string& val);
9659
9660 void __set_table(const std::string& val);
9661
9662 void __set_requestList(const std::vector<WriteNotificationLogRequest> & val);
9663
9664 bool operator == (const WriteNotificationLogBatchRequest & rhs) const;
9665 bool operator != (const WriteNotificationLogBatchRequest &rhs) const {
9666 return !(*this == rhs);
9667 }
9668
9669 bool operator < (const WriteNotificationLogBatchRequest & ) const;
9670
9671 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9672 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9673
9674 virtual void printTo(std::ostream& out) const;
9675};
9676
9678
9679std::ostream& operator<<(std::ostream& out, const WriteNotificationLogBatchRequest& obj);
9680
9681
9682class WriteNotificationLogBatchResponse : public virtual ::apache::thrift::TBase {
9683 public:
9684
9688
9689 virtual ~WriteNotificationLogBatchResponse() noexcept;
9690
9691 bool operator == (const WriteNotificationLogBatchResponse & /* rhs */) const;
9692 bool operator != (const WriteNotificationLogBatchResponse &rhs) const {
9693 return !(*this == rhs);
9694 }
9695
9696 bool operator < (const WriteNotificationLogBatchResponse & ) const;
9697
9698 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9699 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9700
9701 virtual void printTo(std::ostream& out) const;
9702};
9703
9705
9706std::ostream& operator<<(std::ostream& out, const WriteNotificationLogBatchResponse& obj);
9707
9709 _MetadataPpdResult__isset() : metadata(false), includeBitset(false) {}
9710 bool metadata :1;
9711 bool includeBitset :1;
9713
9714class MetadataPpdResult : public virtual ::apache::thrift::TBase {
9715 public:
9716
9718 MetadataPpdResult& operator=(const MetadataPpdResult&);
9719 MetadataPpdResult() noexcept;
9720
9721 virtual ~MetadataPpdResult() noexcept;
9722 std::string metadata;
9723 std::string includeBitset;
9724
9726
9727 void __set_metadata(const std::string& val);
9728
9729 void __set_includeBitset(const std::string& val);
9730
9731 bool operator == (const MetadataPpdResult & rhs) const;
9732 bool operator != (const MetadataPpdResult &rhs) const {
9733 return !(*this == rhs);
9734 }
9735
9736 bool operator < (const MetadataPpdResult & ) const;
9737
9738 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9739 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9740
9741 virtual void printTo(std::ostream& out) const;
9742};
9743
9744void swap(MetadataPpdResult &a, MetadataPpdResult &b) noexcept;
9745
9746std::ostream& operator<<(std::ostream& out, const MetadataPpdResult& obj);
9747
9748
9749class GetFileMetadataByExprResult : public virtual ::apache::thrift::TBase {
9750 public:
9751
9754 GetFileMetadataByExprResult() noexcept;
9755
9756 virtual ~GetFileMetadataByExprResult() noexcept;
9757 std::map<int64_t, MetadataPpdResult> metadata;
9758 bool isSupported;
9759
9760 void __set_metadata(const std::map<int64_t, MetadataPpdResult> & val);
9761
9762 void __set_isSupported(const bool val);
9763
9764 bool operator == (const GetFileMetadataByExprResult & rhs) const;
9765 bool operator != (const GetFileMetadataByExprResult &rhs) const {
9766 return !(*this == rhs);
9767 }
9768
9769 bool operator < (const GetFileMetadataByExprResult & ) const;
9770
9771 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9772 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9773
9774 virtual void printTo(std::ostream& out) const;
9775};
9776
9778
9779std::ostream& operator<<(std::ostream& out, const GetFileMetadataByExprResult& obj);
9780
9782 _GetFileMetadataByExprRequest__isset() : doGetFooters(false), type(false) {}
9783 bool doGetFooters :1;
9784 bool type :1;
9786
9787class GetFileMetadataByExprRequest : public virtual ::apache::thrift::TBase {
9788 public:
9789
9793
9794 virtual ~GetFileMetadataByExprRequest() noexcept;
9795 std::vector<int64_t> fileIds;
9796 std::string expr;
9797 bool doGetFooters;
9802 FileMetadataExprType::type type;
9803
9805
9806 void __set_fileIds(const std::vector<int64_t> & val);
9807
9808 void __set_expr(const std::string& val);
9809
9810 void __set_doGetFooters(const bool val);
9811
9812 void __set_type(const FileMetadataExprType::type val);
9813
9814 bool operator == (const GetFileMetadataByExprRequest & rhs) const;
9815 bool operator != (const GetFileMetadataByExprRequest &rhs) const {
9816 return !(*this == rhs);
9817 }
9818
9819 bool operator < (const GetFileMetadataByExprRequest & ) const;
9820
9821 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9822 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9823
9824 virtual void printTo(std::ostream& out) const;
9825};
9826
9827void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) noexcept;
9828
9829std::ostream& operator<<(std::ostream& out, const GetFileMetadataByExprRequest& obj);
9830
9831
9832class GetFileMetadataResult : public virtual ::apache::thrift::TBase {
9833 public:
9834
9837 GetFileMetadataResult() noexcept;
9838
9839 virtual ~GetFileMetadataResult() noexcept;
9840 std::map<int64_t, std::string> metadata;
9841 bool isSupported;
9842
9843 void __set_metadata(const std::map<int64_t, std::string> & val);
9844
9845 void __set_isSupported(const bool val);
9846
9847 bool operator == (const GetFileMetadataResult & rhs) const;
9848 bool operator != (const GetFileMetadataResult &rhs) const {
9849 return !(*this == rhs);
9850 }
9851
9852 bool operator < (const GetFileMetadataResult & ) const;
9853
9854 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9855 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9856
9857 virtual void printTo(std::ostream& out) const;
9858};
9859
9860void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) noexcept;
9861
9862std::ostream& operator<<(std::ostream& out, const GetFileMetadataResult& obj);
9863
9864
9865class GetFileMetadataRequest : public virtual ::apache::thrift::TBase {
9866 public:
9867
9870 GetFileMetadataRequest() noexcept;
9871
9872 virtual ~GetFileMetadataRequest() noexcept;
9873 std::vector<int64_t> fileIds;
9874
9875 void __set_fileIds(const std::vector<int64_t> & val);
9876
9877 bool operator == (const GetFileMetadataRequest & rhs) const;
9878 bool operator != (const GetFileMetadataRequest &rhs) const {
9879 return !(*this == rhs);
9880 }
9881
9882 bool operator < (const GetFileMetadataRequest & ) const;
9883
9884 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9885 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9886
9887 virtual void printTo(std::ostream& out) const;
9888};
9889
9890void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) noexcept;
9891
9892std::ostream& operator<<(std::ostream& out, const GetFileMetadataRequest& obj);
9893
9894
9895class PutFileMetadataResult : public virtual ::apache::thrift::TBase {
9896 public:
9897
9899 PutFileMetadataResult& operator=(const PutFileMetadataResult&) noexcept;
9900 PutFileMetadataResult() noexcept;
9901
9902 virtual ~PutFileMetadataResult() noexcept;
9903
9904 bool operator == (const PutFileMetadataResult & /* rhs */) const;
9905 bool operator != (const PutFileMetadataResult &rhs) const {
9906 return !(*this == rhs);
9907 }
9908
9909 bool operator < (const PutFileMetadataResult & ) const;
9910
9911 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9912 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9913
9914 virtual void printTo(std::ostream& out) const;
9915};
9916
9917void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) noexcept;
9918
9919std::ostream& operator<<(std::ostream& out, const PutFileMetadataResult& obj);
9920
9922 _PutFileMetadataRequest__isset() : type(false) {}
9923 bool type :1;
9925
9926class PutFileMetadataRequest : public virtual ::apache::thrift::TBase {
9927 public:
9928
9931 PutFileMetadataRequest() noexcept;
9932
9933 virtual ~PutFileMetadataRequest() noexcept;
9934 std::vector<int64_t> fileIds;
9935 std::vector<std::string> metadata;
9940 FileMetadataExprType::type type;
9941
9943
9944 void __set_fileIds(const std::vector<int64_t> & val);
9945
9946 void __set_metadata(const std::vector<std::string> & val);
9947
9948 void __set_type(const FileMetadataExprType::type val);
9949
9950 bool operator == (const PutFileMetadataRequest & rhs) const;
9951 bool operator != (const PutFileMetadataRequest &rhs) const {
9952 return !(*this == rhs);
9953 }
9954
9955 bool operator < (const PutFileMetadataRequest & ) const;
9956
9957 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9958 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9959
9960 virtual void printTo(std::ostream& out) const;
9961};
9962
9963void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) noexcept;
9964
9965std::ostream& operator<<(std::ostream& out, const PutFileMetadataRequest& obj);
9966
9967
9968class ClearFileMetadataResult : public virtual ::apache::thrift::TBase {
9969 public:
9970
9972 ClearFileMetadataResult& operator=(const ClearFileMetadataResult&) noexcept;
9973 ClearFileMetadataResult() noexcept;
9974
9975 virtual ~ClearFileMetadataResult() noexcept;
9976
9977 bool operator == (const ClearFileMetadataResult & /* rhs */) const;
9978 bool operator != (const ClearFileMetadataResult &rhs) const {
9979 return !(*this == rhs);
9980 }
9981
9982 bool operator < (const ClearFileMetadataResult & ) const;
9983
9984 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
9985 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
9986
9987 virtual void printTo(std::ostream& out) const;
9988};
9989
9990void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) noexcept;
9991
9992std::ostream& operator<<(std::ostream& out, const ClearFileMetadataResult& obj);
9993
9994
9995class ClearFileMetadataRequest : public virtual ::apache::thrift::TBase {
9996 public:
9997
10000 ClearFileMetadataRequest() noexcept;
10001
10002 virtual ~ClearFileMetadataRequest() noexcept;
10003 std::vector<int64_t> fileIds;
10004
10005 void __set_fileIds(const std::vector<int64_t> & val);
10006
10007 bool operator == (const ClearFileMetadataRequest & rhs) const;
10008 bool operator != (const ClearFileMetadataRequest &rhs) const {
10009 return !(*this == rhs);
10010 }
10011
10012 bool operator < (const ClearFileMetadataRequest & ) const;
10013
10014 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10015 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10016
10017 virtual void printTo(std::ostream& out) const;
10018};
10019
10020void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) noexcept;
10021
10022std::ostream& operator<<(std::ostream& out, const ClearFileMetadataRequest& obj);
10023
10024
10025class CacheFileMetadataResult : public virtual ::apache::thrift::TBase {
10026 public:
10027
10029 CacheFileMetadataResult& operator=(const CacheFileMetadataResult&) noexcept;
10030 CacheFileMetadataResult() noexcept;
10031
10032 virtual ~CacheFileMetadataResult() noexcept;
10033 bool isSupported;
10034
10035 void __set_isSupported(const bool val);
10036
10037 bool operator == (const CacheFileMetadataResult & rhs) const;
10038 bool operator != (const CacheFileMetadataResult &rhs) const {
10039 return !(*this == rhs);
10040 }
10041
10042 bool operator < (const CacheFileMetadataResult & ) const;
10043
10044 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10045 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10046
10047 virtual void printTo(std::ostream& out) const;
10048};
10049
10050void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) noexcept;
10051
10052std::ostream& operator<<(std::ostream& out, const CacheFileMetadataResult& obj);
10053
10055 _CacheFileMetadataRequest__isset() : partName(false), isAllParts(false) {}
10056 bool partName :1;
10057 bool isAllParts :1;
10059
10060class CacheFileMetadataRequest : public virtual ::apache::thrift::TBase {
10061 public:
10062
10065 CacheFileMetadataRequest() noexcept;
10066
10067 virtual ~CacheFileMetadataRequest() noexcept;
10068 std::string dbName;
10069 std::string tblName;
10070 std::string partName;
10071 bool isAllParts;
10072
10074
10075 void __set_dbName(const std::string& val);
10076
10077 void __set_tblName(const std::string& val);
10078
10079 void __set_partName(const std::string& val);
10080
10081 void __set_isAllParts(const bool val);
10082
10083 bool operator == (const CacheFileMetadataRequest & rhs) const;
10084 bool operator != (const CacheFileMetadataRequest &rhs) const {
10085 return !(*this == rhs);
10086 }
10087
10088 bool operator < (const CacheFileMetadataRequest & ) const;
10089
10090 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10091 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10092
10093 virtual void printTo(std::ostream& out) const;
10094};
10095
10096void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) noexcept;
10097
10098std::ostream& operator<<(std::ostream& out, const CacheFileMetadataRequest& obj);
10099
10101 _GetAllFunctionsResponse__isset() : functions(false) {}
10102 bool functions :1;
10104
10105class GetAllFunctionsResponse : public virtual ::apache::thrift::TBase {
10106 public:
10107
10110 GetAllFunctionsResponse() noexcept;
10111
10112 virtual ~GetAllFunctionsResponse() noexcept;
10113 std::vector<Function> functions;
10114
10116
10117 void __set_functions(const std::vector<Function> & val);
10118
10119 bool operator == (const GetAllFunctionsResponse & rhs) const;
10120 bool operator != (const GetAllFunctionsResponse &rhs) const {
10121 return !(*this == rhs);
10122 }
10123
10124 bool operator < (const GetAllFunctionsResponse & ) const;
10125
10126 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10127 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10128
10129 virtual void printTo(std::ostream& out) const;
10130};
10131
10132void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) noexcept;
10133
10134std::ostream& operator<<(std::ostream& out, const GetAllFunctionsResponse& obj);
10135
10136
10137class ClientCapabilities : public virtual ::apache::thrift::TBase {
10138 public:
10139
10141 ClientCapabilities& operator=(const ClientCapabilities&);
10142 ClientCapabilities() noexcept;
10143
10144 virtual ~ClientCapabilities() noexcept;
10145 std::vector<ClientCapability::type> values;
10146
10147 void __set_values(const std::vector<ClientCapability::type> & val);
10148
10149 bool operator == (const ClientCapabilities & rhs) const;
10150 bool operator != (const ClientCapabilities &rhs) const {
10151 return !(*this == rhs);
10152 }
10153
10154 bool operator < (const ClientCapabilities & ) const;
10155
10156 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10157 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10158
10159 virtual void printTo(std::ostream& out) const;
10160};
10161
10162void swap(ClientCapabilities &a, ClientCapabilities &b) noexcept;
10163
10164std::ostream& operator<<(std::ostream& out, const ClientCapabilities& obj);
10165
10167 _GetProjectionsSpec__isset() : fieldList(false), includeParamKeyPattern(false), excludeParamKeyPattern(false) {}
10168 bool fieldList :1;
10169 bool includeParamKeyPattern :1;
10170 bool excludeParamKeyPattern :1;
10172
10173class GetProjectionsSpec : public virtual ::apache::thrift::TBase {
10174 public:
10175
10177 GetProjectionsSpec& operator=(const GetProjectionsSpec&);
10178 GetProjectionsSpec() noexcept;
10179
10180 virtual ~GetProjectionsSpec() noexcept;
10181 std::vector<std::string> fieldList;
10182 std::string includeParamKeyPattern;
10183 std::string excludeParamKeyPattern;
10184
10186
10187 void __set_fieldList(const std::vector<std::string> & val);
10188
10189 void __set_includeParamKeyPattern(const std::string& val);
10190
10191 void __set_excludeParamKeyPattern(const std::string& val);
10192
10193 bool operator == (const GetProjectionsSpec & rhs) const;
10194 bool operator != (const GetProjectionsSpec &rhs) const {
10195 return !(*this == rhs);
10196 }
10197
10198 bool operator < (const GetProjectionsSpec & ) const;
10199
10200 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10201 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10202
10203 virtual void printTo(std::ostream& out) const;
10204};
10205
10206void swap(GetProjectionsSpec &a, GetProjectionsSpec &b) noexcept;
10207
10208std::ostream& operator<<(std::ostream& out, const GetProjectionsSpec& obj);
10209
10211 _GetTableRequest__isset() : capabilities(false), catName(false), validWriteIdList(false), getColumnStats(false), processorCapabilities(false), processorIdentifier(false), engine(true), id(true) {}
10212 bool capabilities :1;
10213 bool catName :1;
10214 bool validWriteIdList :1;
10215 bool getColumnStats :1;
10216 bool processorCapabilities :1;
10217 bool processorIdentifier :1;
10218 bool engine :1;
10219 bool id :1;
10221
10222class GetTableRequest : public virtual ::apache::thrift::TBase {
10223 public:
10224
10226 GetTableRequest& operator=(const GetTableRequest&);
10228
10229 virtual ~GetTableRequest() noexcept;
10230 std::string dbName;
10231 std::string tblName;
10232 ClientCapabilities capabilities;
10233 std::string catName;
10234 std::string validWriteIdList;
10235 bool getColumnStats;
10236 std::vector<std::string> processorCapabilities;
10237 std::string processorIdentifier;
10238 std::string engine;
10239 int64_t id;
10240
10242
10243 void __set_dbName(const std::string& val);
10244
10245 void __set_tblName(const std::string& val);
10246
10247 void __set_capabilities(const ClientCapabilities& val);
10248
10249 void __set_catName(const std::string& val);
10250
10251 void __set_validWriteIdList(const std::string& val);
10252
10253 void __set_getColumnStats(const bool val);
10254
10255 void __set_processorCapabilities(const std::vector<std::string> & val);
10256
10257 void __set_processorIdentifier(const std::string& val);
10258
10259 void __set_engine(const std::string& val);
10260
10261 void __set_id(const int64_t val);
10262
10263 bool operator == (const GetTableRequest & rhs) const;
10264 bool operator != (const GetTableRequest &rhs) const {
10265 return !(*this == rhs);
10266 }
10267
10268 bool operator < (const GetTableRequest & ) const;
10269
10270 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10271 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10272
10273 virtual void printTo(std::ostream& out) const;
10274};
10275
10276void swap(GetTableRequest &a, GetTableRequest &b) noexcept;
10277
10278std::ostream& operator<<(std::ostream& out, const GetTableRequest& obj);
10279
10281 _GetTableResult__isset() : isStatsCompliant(false) {}
10282 bool isStatsCompliant :1;
10284
10285class GetTableResult : public virtual ::apache::thrift::TBase {
10286 public:
10287
10289 GetTableResult& operator=(const GetTableResult&);
10290 GetTableResult() noexcept;
10291
10292 virtual ~GetTableResult() noexcept;
10293 Table table;
10294 bool isStatsCompliant;
10295
10296 _GetTableResult__isset __isset;
10297
10298 void __set_table(const Table& val);
10299
10300 void __set_isStatsCompliant(const bool val);
10301
10302 bool operator == (const GetTableResult & rhs) const;
10303 bool operator != (const GetTableResult &rhs) const {
10304 return !(*this == rhs);
10305 }
10306
10307 bool operator < (const GetTableResult & ) const;
10308
10309 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10310 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10311
10312 virtual void printTo(std::ostream& out) const;
10313};
10314
10315void swap(GetTableResult &a, GetTableResult &b) noexcept;
10316
10317std::ostream& operator<<(std::ostream& out, const GetTableResult& obj);
10318
10320 _GetTablesRequest__isset() : tblNames(false), capabilities(false), catName(false), processorCapabilities(false), processorIdentifier(false), projectionSpec(false), tablesPattern(false) {}
10321 bool tblNames :1;
10322 bool capabilities :1;
10323 bool catName :1;
10324 bool processorCapabilities :1;
10325 bool processorIdentifier :1;
10326 bool projectionSpec :1;
10327 bool tablesPattern :1;
10329
10330class GetTablesRequest : public virtual ::apache::thrift::TBase {
10331 public:
10332
10334 GetTablesRequest& operator=(const GetTablesRequest&);
10335 GetTablesRequest() noexcept;
10336
10337 virtual ~GetTablesRequest() noexcept;
10338 std::string dbName;
10339 std::vector<std::string> tblNames;
10340 ClientCapabilities capabilities;
10341 std::string catName;
10342 std::vector<std::string> processorCapabilities;
10343 std::string processorIdentifier;
10344 GetProjectionsSpec projectionSpec;
10345 std::string tablesPattern;
10346
10348
10349 void __set_dbName(const std::string& val);
10350
10351 void __set_tblNames(const std::vector<std::string> & val);
10352
10353 void __set_capabilities(const ClientCapabilities& val);
10354
10355 void __set_catName(const std::string& val);
10356
10357 void __set_processorCapabilities(const std::vector<std::string> & val);
10358
10359 void __set_processorIdentifier(const std::string& val);
10360
10361 void __set_projectionSpec(const GetProjectionsSpec& val);
10362
10363 void __set_tablesPattern(const std::string& val);
10364
10365 bool operator == (const GetTablesRequest & rhs) const;
10366 bool operator != (const GetTablesRequest &rhs) const {
10367 return !(*this == rhs);
10368 }
10369
10370 bool operator < (const GetTablesRequest & ) const;
10371
10372 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10373 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10374
10375 virtual void printTo(std::ostream& out) const;
10376};
10377
10378void swap(GetTablesRequest &a, GetTablesRequest &b) noexcept;
10379
10380std::ostream& operator<<(std::ostream& out, const GetTablesRequest& obj);
10381
10382
10383class GetTablesResult : public virtual ::apache::thrift::TBase {
10384 public:
10385
10387 GetTablesResult& operator=(const GetTablesResult&);
10388 GetTablesResult() noexcept;
10389
10390 virtual ~GetTablesResult() noexcept;
10391 std::vector<Table> tables;
10392
10393 void __set_tables(const std::vector<Table> & val);
10394
10395 bool operator == (const GetTablesResult & rhs) const;
10396 bool operator != (const GetTablesResult &rhs) const {
10397 return !(*this == rhs);
10398 }
10399
10400 bool operator < (const GetTablesResult & ) const;
10401
10402 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10403 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10404
10405 virtual void printTo(std::ostream& out) const;
10406};
10407
10408void swap(GetTablesResult &a, GetTablesResult &b) noexcept;
10409
10410std::ostream& operator<<(std::ostream& out, const GetTablesResult& obj);
10411
10413 _GetTablesExtRequest__isset() : limit(false), processorCapabilities(false), processorIdentifier(false) {}
10414 bool limit :1;
10415 bool processorCapabilities :1;
10416 bool processorIdentifier :1;
10418
10419class GetTablesExtRequest : public virtual ::apache::thrift::TBase {
10420 public:
10421
10423 GetTablesExtRequest& operator=(const GetTablesExtRequest&);
10424 GetTablesExtRequest() noexcept;
10425
10426 virtual ~GetTablesExtRequest() noexcept;
10427 std::string catalog;
10428 std::string database;
10429 std::string tableNamePattern;
10430 int32_t requestedFields;
10431 int32_t limit;
10432 std::vector<std::string> processorCapabilities;
10433 std::string processorIdentifier;
10434
10436
10437 void __set_catalog(const std::string& val);
10438
10439 void __set_database(const std::string& val);
10440
10441 void __set_tableNamePattern(const std::string& val);
10442
10443 void __set_requestedFields(const int32_t val);
10444
10445 void __set_limit(const int32_t val);
10446
10447 void __set_processorCapabilities(const std::vector<std::string> & val);
10448
10449 void __set_processorIdentifier(const std::string& val);
10450
10451 bool operator == (const GetTablesExtRequest & rhs) const;
10452 bool operator != (const GetTablesExtRequest &rhs) const {
10453 return !(*this == rhs);
10454 }
10455
10456 bool operator < (const GetTablesExtRequest & ) const;
10457
10458 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10459 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10460
10461 virtual void printTo(std::ostream& out) const;
10462};
10463
10464void swap(GetTablesExtRequest &a, GetTablesExtRequest &b) noexcept;
10465
10466std::ostream& operator<<(std::ostream& out, const GetTablesExtRequest& obj);
10467
10469 _ExtendedTableInfo__isset() : accessType(false), requiredReadCapabilities(false), requiredWriteCapabilities(false) {}
10470 bool accessType :1;
10471 bool requiredReadCapabilities :1;
10472 bool requiredWriteCapabilities :1;
10474
10475class ExtendedTableInfo : public virtual ::apache::thrift::TBase {
10476 public:
10477
10479 ExtendedTableInfo& operator=(const ExtendedTableInfo&);
10480 ExtendedTableInfo() noexcept;
10481
10482 virtual ~ExtendedTableInfo() noexcept;
10483 std::string tblName;
10484 int32_t accessType;
10485 std::vector<std::string> requiredReadCapabilities;
10486 std::vector<std::string> requiredWriteCapabilities;
10487
10489
10490 void __set_tblName(const std::string& val);
10491
10492 void __set_accessType(const int32_t val);
10493
10494 void __set_requiredReadCapabilities(const std::vector<std::string> & val);
10495
10496 void __set_requiredWriteCapabilities(const std::vector<std::string> & val);
10497
10498 bool operator == (const ExtendedTableInfo & rhs) const;
10499 bool operator != (const ExtendedTableInfo &rhs) const {
10500 return !(*this == rhs);
10501 }
10502
10503 bool operator < (const ExtendedTableInfo & ) const;
10504
10505 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10506 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10507
10508 virtual void printTo(std::ostream& out) const;
10509};
10510
10511void swap(ExtendedTableInfo &a, ExtendedTableInfo &b) noexcept;
10512
10513std::ostream& operator<<(std::ostream& out, const ExtendedTableInfo& obj);
10514
10516 _DropTableRequest__isset() : catalogName(false), deleteData(false), envContext(false), dropPartitions(false) {}
10517 bool catalogName :1;
10518 bool deleteData :1;
10519 bool envContext :1;
10520 bool dropPartitions :1;
10522
10523class DropTableRequest : public virtual ::apache::thrift::TBase {
10524 public:
10525
10527 DropTableRequest& operator=(const DropTableRequest&);
10528 DropTableRequest() noexcept;
10529
10530 virtual ~DropTableRequest() noexcept;
10531 std::string catalogName;
10532 std::string dbName;
10533 std::string tableName;
10534 bool deleteData;
10535 EnvironmentContext envContext;
10536 bool dropPartitions;
10537
10539
10540 void __set_catalogName(const std::string& val);
10541
10542 void __set_dbName(const std::string& val);
10543
10544 void __set_tableName(const std::string& val);
10545
10546 void __set_deleteData(const bool val);
10547
10548 void __set_envContext(const EnvironmentContext& val);
10549
10550 void __set_dropPartitions(const bool val);
10551
10552 bool operator == (const DropTableRequest & rhs) const;
10553 bool operator != (const DropTableRequest &rhs) const {
10554 return !(*this == rhs);
10555 }
10556
10557 bool operator < (const DropTableRequest & ) const;
10558
10559 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10560 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10561
10562 virtual void printTo(std::ostream& out) const;
10563};
10564
10565void swap(DropTableRequest &a, DropTableRequest &b) noexcept;
10566
10567std::ostream& operator<<(std::ostream& out, const DropTableRequest& obj);
10568
10570 _GetDatabaseRequest__isset() : name(false), catalogName(false), processorCapabilities(false), processorIdentifier(false) {}
10571 bool name :1;
10572 bool catalogName :1;
10573 bool processorCapabilities :1;
10574 bool processorIdentifier :1;
10576
10577class GetDatabaseRequest : public virtual ::apache::thrift::TBase {
10578 public:
10579
10581 GetDatabaseRequest& operator=(const GetDatabaseRequest&);
10582 GetDatabaseRequest() noexcept;
10583
10584 virtual ~GetDatabaseRequest() noexcept;
10585 std::string name;
10586 std::string catalogName;
10587 std::vector<std::string> processorCapabilities;
10588 std::string processorIdentifier;
10589
10591
10592 void __set_name(const std::string& val);
10593
10594 void __set_catalogName(const std::string& val);
10595
10596 void __set_processorCapabilities(const std::vector<std::string> & val);
10597
10598 void __set_processorIdentifier(const std::string& val);
10599
10600 bool operator == (const GetDatabaseRequest & rhs) const;
10601 bool operator != (const GetDatabaseRequest &rhs) const {
10602 return !(*this == rhs);
10603 }
10604
10605 bool operator < (const GetDatabaseRequest & ) const;
10606
10607 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10608 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10609
10610 virtual void printTo(std::ostream& out) const;
10611};
10612
10613void swap(GetDatabaseRequest &a, GetDatabaseRequest &b) noexcept;
10614
10615std::ostream& operator<<(std::ostream& out, const GetDatabaseRequest& obj);
10616
10617
10618class AlterDatabaseRequest : public virtual ::apache::thrift::TBase {
10619 public:
10620
10622 AlterDatabaseRequest& operator=(const AlterDatabaseRequest&);
10623 AlterDatabaseRequest() noexcept;
10624
10625 virtual ~AlterDatabaseRequest() noexcept;
10626 std::string oldDbName;
10627 Database newDb;
10628
10629 void __set_oldDbName(const std::string& val);
10630
10631 void __set_newDb(const Database& val);
10632
10633 bool operator == (const AlterDatabaseRequest & rhs) const;
10634 bool operator != (const AlterDatabaseRequest &rhs) const {
10635 return !(*this == rhs);
10636 }
10637
10638 bool operator < (const AlterDatabaseRequest & ) const;
10639
10640 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10641 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10642
10643 virtual void printTo(std::ostream& out) const;
10644};
10645
10646void swap(AlterDatabaseRequest &a, AlterDatabaseRequest &b) noexcept;
10647
10648std::ostream& operator<<(std::ostream& out, const AlterDatabaseRequest& obj);
10649
10651 _DropDatabaseRequest__isset() : catalogName(false), softDelete(true), txnId(true), deleteManagedDir(true) {}
10652 bool catalogName :1;
10653 bool softDelete :1;
10654 bool txnId :1;
10655 bool deleteManagedDir :1;
10657
10658class DropDatabaseRequest : public virtual ::apache::thrift::TBase {
10659 public:
10660
10662 DropDatabaseRequest& operator=(const DropDatabaseRequest&);
10663 DropDatabaseRequest() noexcept;
10664
10665 virtual ~DropDatabaseRequest() noexcept;
10666 std::string name;
10667 std::string catalogName;
10668 bool ignoreUnknownDb;
10669 bool deleteData;
10670 bool cascade;
10671 bool softDelete;
10672 int64_t txnId;
10673 bool deleteManagedDir;
10674
10676
10677 void __set_name(const std::string& val);
10678
10679 void __set_catalogName(const std::string& val);
10680
10681 void __set_ignoreUnknownDb(const bool val);
10682
10683 void __set_deleteData(const bool val);
10684
10685 void __set_cascade(const bool val);
10686
10687 void __set_softDelete(const bool val);
10688
10689 void __set_txnId(const int64_t val);
10690
10691 void __set_deleteManagedDir(const bool val);
10692
10693 bool operator == (const DropDatabaseRequest & rhs) const;
10694 bool operator != (const DropDatabaseRequest &rhs) const {
10695 return !(*this == rhs);
10696 }
10697
10698 bool operator < (const DropDatabaseRequest & ) const;
10699
10700 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10701 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10702
10703 virtual void printTo(std::ostream& out) const;
10704};
10705
10706void swap(DropDatabaseRequest &a, DropDatabaseRequest &b) noexcept;
10707
10708std::ostream& operator<<(std::ostream& out, const DropDatabaseRequest& obj);
10709
10710
10711class CmRecycleRequest : public virtual ::apache::thrift::TBase {
10712 public:
10713
10715 CmRecycleRequest& operator=(const CmRecycleRequest&);
10716 CmRecycleRequest() noexcept;
10717
10718 virtual ~CmRecycleRequest() noexcept;
10719 std::string dataPath;
10720 bool purge;
10721
10722 void __set_dataPath(const std::string& val);
10723
10724 void __set_purge(const bool val);
10725
10726 bool operator == (const CmRecycleRequest & rhs) const;
10727 bool operator != (const CmRecycleRequest &rhs) const {
10728 return !(*this == rhs);
10729 }
10730
10731 bool operator < (const CmRecycleRequest & ) const;
10732
10733 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10734 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10735
10736 virtual void printTo(std::ostream& out) const;
10737};
10738
10739void swap(CmRecycleRequest &a, CmRecycleRequest &b) noexcept;
10740
10741std::ostream& operator<<(std::ostream& out, const CmRecycleRequest& obj);
10742
10743
10744class CmRecycleResponse : public virtual ::apache::thrift::TBase {
10745 public:
10746
10747 CmRecycleResponse(const CmRecycleResponse&) noexcept;
10748 CmRecycleResponse& operator=(const CmRecycleResponse&) noexcept;
10749 CmRecycleResponse() noexcept;
10750
10751 virtual ~CmRecycleResponse() noexcept;
10752
10753 bool operator == (const CmRecycleResponse & /* rhs */) const;
10754 bool operator != (const CmRecycleResponse &rhs) const {
10755 return !(*this == rhs);
10756 }
10757
10758 bool operator < (const CmRecycleResponse & ) const;
10759
10760 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10761 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10762
10763 virtual void printTo(std::ostream& out) const;
10764};
10765
10766void swap(CmRecycleResponse &a, CmRecycleResponse &b) noexcept;
10767
10768std::ostream& operator<<(std::ostream& out, const CmRecycleResponse& obj);
10769
10770typedef struct _TableMeta__isset {
10771 _TableMeta__isset() : comments(false), catName(false), ownerName(false), ownerType(false) {}
10772 bool comments :1;
10773 bool catName :1;
10774 bool ownerName :1;
10775 bool ownerType :1;
10777
10778class TableMeta : public virtual ::apache::thrift::TBase {
10779 public:
10780
10781 TableMeta(const TableMeta&);
10782 TableMeta& operator=(const TableMeta&);
10783 TableMeta() noexcept;
10784
10785 virtual ~TableMeta() noexcept;
10786 std::string dbName;
10787 std::string tableName;
10788 std::string tableType;
10789 std::string comments;
10790 std::string catName;
10791 std::string ownerName;
10796 PrincipalType::type ownerType;
10797
10798 _TableMeta__isset __isset;
10799
10800 void __set_dbName(const std::string& val);
10801
10802 void __set_tableName(const std::string& val);
10803
10804 void __set_tableType(const std::string& val);
10805
10806 void __set_comments(const std::string& val);
10807
10808 void __set_catName(const std::string& val);
10809
10810 void __set_ownerName(const std::string& val);
10811
10812 void __set_ownerType(const PrincipalType::type val);
10813
10814 bool operator == (const TableMeta & rhs) const;
10815 bool operator != (const TableMeta &rhs) const {
10816 return !(*this == rhs);
10817 }
10818
10819 bool operator < (const TableMeta & ) const;
10820
10821 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10822 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10823
10824 virtual void printTo(std::ostream& out) const;
10825};
10826
10827void swap(TableMeta &a, TableMeta &b) noexcept;
10828
10829std::ostream& operator<<(std::ostream& out, const TableMeta& obj);
10830
10831
10832class Materialization : public virtual ::apache::thrift::TBase {
10833 public:
10834
10835 Materialization(const Materialization&) noexcept;
10836 Materialization& operator=(const Materialization&) noexcept;
10837 Materialization() noexcept;
10838
10839 virtual ~Materialization() noexcept;
10840 bool sourceTablesUpdateDeleteModified;
10841 bool sourceTablesCompacted;
10842
10843 void __set_sourceTablesUpdateDeleteModified(const bool val);
10844
10845 void __set_sourceTablesCompacted(const bool val);
10846
10847 bool operator == (const Materialization & rhs) const;
10848 bool operator != (const Materialization &rhs) const {
10849 return !(*this == rhs);
10850 }
10851
10852 bool operator < (const Materialization & ) const;
10853
10854 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10855 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10856
10857 virtual void printTo(std::ostream& out) const;
10858};
10859
10860void swap(Materialization &a, Materialization &b) noexcept;
10861
10862std::ostream& operator<<(std::ostream& out, const Materialization& obj);
10863
10865 _WMResourcePlan__isset() : status(false), queryParallelism(false), defaultPoolPath(false), ns(false) {}
10866 bool status :1;
10867 bool queryParallelism :1;
10868 bool defaultPoolPath :1;
10869 bool ns :1;
10871
10872class WMResourcePlan : public virtual ::apache::thrift::TBase {
10873 public:
10874
10876 WMResourcePlan& operator=(const WMResourcePlan&);
10877 WMResourcePlan() noexcept;
10878
10879 virtual ~WMResourcePlan() noexcept;
10880 std::string name;
10885 WMResourcePlanStatus::type status;
10886 int32_t queryParallelism;
10887 std::string defaultPoolPath;
10888 std::string ns;
10889
10890 _WMResourcePlan__isset __isset;
10891
10892 void __set_name(const std::string& val);
10893
10894 void __set_status(const WMResourcePlanStatus::type val);
10895
10896 void __set_queryParallelism(const int32_t val);
10897
10898 void __set_defaultPoolPath(const std::string& val);
10899
10900 void __set_ns(const std::string& val);
10901
10902 bool operator == (const WMResourcePlan & rhs) const;
10903 bool operator != (const WMResourcePlan &rhs) const {
10904 return !(*this == rhs);
10905 }
10906
10907 bool operator < (const WMResourcePlan & ) const;
10908
10909 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10910 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10911
10912 virtual void printTo(std::ostream& out) const;
10913};
10914
10915void swap(WMResourcePlan &a, WMResourcePlan &b) noexcept;
10916
10917std::ostream& operator<<(std::ostream& out, const WMResourcePlan& obj);
10918
10920 _WMNullableResourcePlan__isset() : name(false), status(false), queryParallelism(false), isSetQueryParallelism(false), defaultPoolPath(false), isSetDefaultPoolPath(false), ns(false) {}
10921 bool name :1;
10922 bool status :1;
10923 bool queryParallelism :1;
10924 bool isSetQueryParallelism :1;
10925 bool defaultPoolPath :1;
10926 bool isSetDefaultPoolPath :1;
10927 bool ns :1;
10929
10930class WMNullableResourcePlan : public virtual ::apache::thrift::TBase {
10931 public:
10932
10935 WMNullableResourcePlan() noexcept;
10936
10937 virtual ~WMNullableResourcePlan() noexcept;
10938 std::string name;
10943 WMResourcePlanStatus::type status;
10944 int32_t queryParallelism;
10945 bool isSetQueryParallelism;
10946 std::string defaultPoolPath;
10947 bool isSetDefaultPoolPath;
10948 std::string ns;
10949
10951
10952 void __set_name(const std::string& val);
10953
10954 void __set_status(const WMResourcePlanStatus::type val);
10955
10956 void __set_queryParallelism(const int32_t val);
10957
10958 void __set_isSetQueryParallelism(const bool val);
10959
10960 void __set_defaultPoolPath(const std::string& val);
10961
10962 void __set_isSetDefaultPoolPath(const bool val);
10963
10964 void __set_ns(const std::string& val);
10965
10966 bool operator == (const WMNullableResourcePlan & rhs) const;
10967 bool operator != (const WMNullableResourcePlan &rhs) const {
10968 return !(*this == rhs);
10969 }
10970
10971 bool operator < (const WMNullableResourcePlan & ) const;
10972
10973 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
10974 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
10975
10976 virtual void printTo(std::ostream& out) const;
10977};
10978
10979void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) noexcept;
10980
10981std::ostream& operator<<(std::ostream& out, const WMNullableResourcePlan& obj);
10982
10983typedef struct _WMPool__isset {
10984 _WMPool__isset() : allocFraction(false), queryParallelism(false), schedulingPolicy(false), ns(false) {}
10985 bool allocFraction :1;
10986 bool queryParallelism :1;
10987 bool schedulingPolicy :1;
10988 bool ns :1;
10990
10991class WMPool : public virtual ::apache::thrift::TBase {
10992 public:
10993
10994 WMPool(const WMPool&);
10995 WMPool& operator=(const WMPool&);
10996 WMPool() noexcept;
10997
10998 virtual ~WMPool() noexcept;
10999 std::string resourcePlanName;
11000 std::string poolPath;
11001 double allocFraction;
11002 int32_t queryParallelism;
11003 std::string schedulingPolicy;
11004 std::string ns;
11005
11006 _WMPool__isset __isset;
11007
11008 void __set_resourcePlanName(const std::string& val);
11009
11010 void __set_poolPath(const std::string& val);
11011
11012 void __set_allocFraction(const double val);
11013
11014 void __set_queryParallelism(const int32_t val);
11015
11016 void __set_schedulingPolicy(const std::string& val);
11017
11018 void __set_ns(const std::string& val);
11019
11020 bool operator == (const WMPool & rhs) const;
11021 bool operator != (const WMPool &rhs) const {
11022 return !(*this == rhs);
11023 }
11024
11025 bool operator < (const WMPool & ) const;
11026
11027 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11028 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11029
11030 virtual void printTo(std::ostream& out) const;
11031};
11032
11033void swap(WMPool &a, WMPool &b) noexcept;
11034
11035std::ostream& operator<<(std::ostream& out, const WMPool& obj);
11036
11038 _WMNullablePool__isset() : allocFraction(false), queryParallelism(false), schedulingPolicy(false), isSetSchedulingPolicy(false), ns(false) {}
11039 bool allocFraction :1;
11040 bool queryParallelism :1;
11041 bool schedulingPolicy :1;
11042 bool isSetSchedulingPolicy :1;
11043 bool ns :1;
11045
11046class WMNullablePool : public virtual ::apache::thrift::TBase {
11047 public:
11048
11050 WMNullablePool& operator=(const WMNullablePool&);
11051 WMNullablePool() noexcept;
11052
11053 virtual ~WMNullablePool() noexcept;
11054 std::string resourcePlanName;
11055 std::string poolPath;
11056 double allocFraction;
11057 int32_t queryParallelism;
11058 std::string schedulingPolicy;
11059 bool isSetSchedulingPolicy;
11060 std::string ns;
11061
11062 _WMNullablePool__isset __isset;
11063
11064 void __set_resourcePlanName(const std::string& val);
11065
11066 void __set_poolPath(const std::string& val);
11067
11068 void __set_allocFraction(const double val);
11069
11070 void __set_queryParallelism(const int32_t val);
11071
11072 void __set_schedulingPolicy(const std::string& val);
11073
11074 void __set_isSetSchedulingPolicy(const bool val);
11075
11076 void __set_ns(const std::string& val);
11077
11078 bool operator == (const WMNullablePool & rhs) const;
11079 bool operator != (const WMNullablePool &rhs) const {
11080 return !(*this == rhs);
11081 }
11082
11083 bool operator < (const WMNullablePool & ) const;
11084
11085 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11086 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11087
11088 virtual void printTo(std::ostream& out) const;
11089};
11090
11091void swap(WMNullablePool &a, WMNullablePool &b) noexcept;
11092
11093std::ostream& operator<<(std::ostream& out, const WMNullablePool& obj);
11094
11095typedef struct _WMTrigger__isset {
11096 _WMTrigger__isset() : triggerExpression(false), actionExpression(false), isInUnmanaged(false), ns(false) {}
11097 bool triggerExpression :1;
11098 bool actionExpression :1;
11099 bool isInUnmanaged :1;
11100 bool ns :1;
11102
11103class WMTrigger : public virtual ::apache::thrift::TBase {
11104 public:
11105
11106 WMTrigger(const WMTrigger&);
11107 WMTrigger& operator=(const WMTrigger&);
11108 WMTrigger() noexcept;
11109
11110 virtual ~WMTrigger() noexcept;
11111 std::string resourcePlanName;
11112 std::string triggerName;
11113 std::string triggerExpression;
11114 std::string actionExpression;
11115 bool isInUnmanaged;
11116 std::string ns;
11117
11118 _WMTrigger__isset __isset;
11119
11120 void __set_resourcePlanName(const std::string& val);
11121
11122 void __set_triggerName(const std::string& val);
11123
11124 void __set_triggerExpression(const std::string& val);
11125
11126 void __set_actionExpression(const std::string& val);
11127
11128 void __set_isInUnmanaged(const bool val);
11129
11130 void __set_ns(const std::string& val);
11131
11132 bool operator == (const WMTrigger & rhs) const;
11133 bool operator != (const WMTrigger &rhs) const {
11134 return !(*this == rhs);
11135 }
11136
11137 bool operator < (const WMTrigger & ) const;
11138
11139 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11140 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11141
11142 virtual void printTo(std::ostream& out) const;
11143};
11144
11145void swap(WMTrigger &a, WMTrigger &b) noexcept;
11146
11147std::ostream& operator<<(std::ostream& out, const WMTrigger& obj);
11148
11149typedef struct _WMMapping__isset {
11150 _WMMapping__isset() : poolPath(false), ordering(false), ns(false) {}
11151 bool poolPath :1;
11152 bool ordering :1;
11153 bool ns :1;
11155
11156class WMMapping : public virtual ::apache::thrift::TBase {
11157 public:
11158
11159 WMMapping(const WMMapping&);
11160 WMMapping& operator=(const WMMapping&);
11161 WMMapping() noexcept;
11162
11163 virtual ~WMMapping() noexcept;
11164 std::string resourcePlanName;
11165 std::string entityType;
11166 std::string entityName;
11167 std::string poolPath;
11168 int32_t ordering;
11169 std::string ns;
11170
11171 _WMMapping__isset __isset;
11172
11173 void __set_resourcePlanName(const std::string& val);
11174
11175 void __set_entityType(const std::string& val);
11176
11177 void __set_entityName(const std::string& val);
11178
11179 void __set_poolPath(const std::string& val);
11180
11181 void __set_ordering(const int32_t val);
11182
11183 void __set_ns(const std::string& val);
11184
11185 bool operator == (const WMMapping & rhs) const;
11186 bool operator != (const WMMapping &rhs) const {
11187 return !(*this == rhs);
11188 }
11189
11190 bool operator < (const WMMapping & ) const;
11191
11192 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11193 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11194
11195 virtual void printTo(std::ostream& out) const;
11196};
11197
11198void swap(WMMapping &a, WMMapping &b) noexcept;
11199
11200std::ostream& operator<<(std::ostream& out, const WMMapping& obj);
11201
11203 _WMPoolTrigger__isset() : ns(false) {}
11204 bool ns :1;
11206
11207class WMPoolTrigger : public virtual ::apache::thrift::TBase {
11208 public:
11209
11211 WMPoolTrigger& operator=(const WMPoolTrigger&);
11212 WMPoolTrigger() noexcept;
11213
11214 virtual ~WMPoolTrigger() noexcept;
11215 std::string pool;
11216 std::string trigger;
11217 std::string ns;
11218
11219 _WMPoolTrigger__isset __isset;
11220
11221 void __set_pool(const std::string& val);
11222
11223 void __set_trigger(const std::string& val);
11224
11225 void __set_ns(const std::string& val);
11226
11227 bool operator == (const WMPoolTrigger & rhs) const;
11228 bool operator != (const WMPoolTrigger &rhs) const {
11229 return !(*this == rhs);
11230 }
11231
11232 bool operator < (const WMPoolTrigger & ) const;
11233
11234 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11235 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11236
11237 virtual void printTo(std::ostream& out) const;
11238};
11239
11240void swap(WMPoolTrigger &a, WMPoolTrigger &b) noexcept;
11241
11242std::ostream& operator<<(std::ostream& out, const WMPoolTrigger& obj);
11243
11245 _WMFullResourcePlan__isset() : mappings(false), triggers(false), poolTriggers(false) {}
11246 bool mappings :1;
11247 bool triggers :1;
11248 bool poolTriggers :1;
11250
11251class WMFullResourcePlan : public virtual ::apache::thrift::TBase {
11252 public:
11253
11255 WMFullResourcePlan& operator=(const WMFullResourcePlan&);
11256 WMFullResourcePlan() noexcept;
11257
11258 virtual ~WMFullResourcePlan() noexcept;
11259 WMResourcePlan plan;
11260 std::vector<WMPool> pools;
11261 std::vector<WMMapping> mappings;
11262 std::vector<WMTrigger> triggers;
11263 std::vector<WMPoolTrigger> poolTriggers;
11264
11266
11267 void __set_plan(const WMResourcePlan& val);
11268
11269 void __set_pools(const std::vector<WMPool> & val);
11270
11271 void __set_mappings(const std::vector<WMMapping> & val);
11272
11273 void __set_triggers(const std::vector<WMTrigger> & val);
11274
11275 void __set_poolTriggers(const std::vector<WMPoolTrigger> & val);
11276
11277 bool operator == (const WMFullResourcePlan & rhs) const;
11278 bool operator != (const WMFullResourcePlan &rhs) const {
11279 return !(*this == rhs);
11280 }
11281
11282 bool operator < (const WMFullResourcePlan & ) const;
11283
11284 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11285 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11286
11287 virtual void printTo(std::ostream& out) const;
11288};
11289
11290void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) noexcept;
11291
11292std::ostream& operator<<(std::ostream& out, const WMFullResourcePlan& obj);
11293
11295 _WMCreateResourcePlanRequest__isset() : resourcePlan(false), copyFrom(false) {}
11296 bool resourcePlan :1;
11297 bool copyFrom :1;
11299
11300class WMCreateResourcePlanRequest : public virtual ::apache::thrift::TBase {
11301 public:
11302
11305 WMCreateResourcePlanRequest() noexcept;
11306
11307 virtual ~WMCreateResourcePlanRequest() noexcept;
11308 WMResourcePlan resourcePlan;
11309 std::string copyFrom;
11310
11312
11313 void __set_resourcePlan(const WMResourcePlan& val);
11314
11315 void __set_copyFrom(const std::string& val);
11316
11317 bool operator == (const WMCreateResourcePlanRequest & rhs) const;
11318 bool operator != (const WMCreateResourcePlanRequest &rhs) const {
11319 return !(*this == rhs);
11320 }
11321
11322 bool operator < (const WMCreateResourcePlanRequest & ) const;
11323
11324 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11325 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11326
11327 virtual void printTo(std::ostream& out) const;
11328};
11329
11331
11332std::ostream& operator<<(std::ostream& out, const WMCreateResourcePlanRequest& obj);
11333
11334
11335class WMCreateResourcePlanResponse : public virtual ::apache::thrift::TBase {
11336 public:
11337
11341
11342 virtual ~WMCreateResourcePlanResponse() noexcept;
11343
11344 bool operator == (const WMCreateResourcePlanResponse & /* rhs */) const;
11345 bool operator != (const WMCreateResourcePlanResponse &rhs) const {
11346 return !(*this == rhs);
11347 }
11348
11349 bool operator < (const WMCreateResourcePlanResponse & ) const;
11350
11351 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11352 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11353
11354 virtual void printTo(std::ostream& out) const;
11355};
11356
11358
11359std::ostream& operator<<(std::ostream& out, const WMCreateResourcePlanResponse& obj);
11360
11365
11366class WMGetActiveResourcePlanRequest : public virtual ::apache::thrift::TBase {
11367 public:
11368
11372
11373 virtual ~WMGetActiveResourcePlanRequest() noexcept;
11374 std::string ns;
11375
11377
11378 void __set_ns(const std::string& val);
11379
11380 bool operator == (const WMGetActiveResourcePlanRequest & rhs) const;
11381 bool operator != (const WMGetActiveResourcePlanRequest &rhs) const {
11382 return !(*this == rhs);
11383 }
11384
11385 bool operator < (const WMGetActiveResourcePlanRequest & ) const;
11386
11387 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11388 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11389
11390 virtual void printTo(std::ostream& out) const;
11391};
11392
11394
11395std::ostream& operator<<(std::ostream& out, const WMGetActiveResourcePlanRequest& obj);
11396
11398 _WMGetActiveResourcePlanResponse__isset() : resourcePlan(false) {}
11399 bool resourcePlan :1;
11401
11402class WMGetActiveResourcePlanResponse : public virtual ::apache::thrift::TBase {
11403 public:
11404
11408
11409 virtual ~WMGetActiveResourcePlanResponse() noexcept;
11410 WMFullResourcePlan resourcePlan;
11411
11413
11414 void __set_resourcePlan(const WMFullResourcePlan& val);
11415
11416 bool operator == (const WMGetActiveResourcePlanResponse & rhs) const;
11417 bool operator != (const WMGetActiveResourcePlanResponse &rhs) const {
11418 return !(*this == rhs);
11419 }
11420
11421 bool operator < (const WMGetActiveResourcePlanResponse & ) const;
11422
11423 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11424 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11425
11426 virtual void printTo(std::ostream& out) const;
11427};
11428
11430
11431std::ostream& operator<<(std::ostream& out, const WMGetActiveResourcePlanResponse& obj);
11432
11434 _WMGetResourcePlanRequest__isset() : resourcePlanName(false), ns(false) {}
11435 bool resourcePlanName :1;
11436 bool ns :1;
11438
11439class WMGetResourcePlanRequest : public virtual ::apache::thrift::TBase {
11440 public:
11441
11444 WMGetResourcePlanRequest() noexcept;
11445
11446 virtual ~WMGetResourcePlanRequest() noexcept;
11447 std::string resourcePlanName;
11448 std::string ns;
11449
11451
11452 void __set_resourcePlanName(const std::string& val);
11453
11454 void __set_ns(const std::string& val);
11455
11456 bool operator == (const WMGetResourcePlanRequest & rhs) const;
11457 bool operator != (const WMGetResourcePlanRequest &rhs) const {
11458 return !(*this == rhs);
11459 }
11460
11461 bool operator < (const WMGetResourcePlanRequest & ) const;
11462
11463 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11464 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11465
11466 virtual void printTo(std::ostream& out) const;
11467};
11468
11469void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) noexcept;
11470
11471std::ostream& operator<<(std::ostream& out, const WMGetResourcePlanRequest& obj);
11472
11474 _WMGetResourcePlanResponse__isset() : resourcePlan(false) {}
11475 bool resourcePlan :1;
11477
11478class WMGetResourcePlanResponse : public virtual ::apache::thrift::TBase {
11479 public:
11480
11483 WMGetResourcePlanResponse() noexcept;
11484
11485 virtual ~WMGetResourcePlanResponse() noexcept;
11486 WMFullResourcePlan resourcePlan;
11487
11489
11490 void __set_resourcePlan(const WMFullResourcePlan& val);
11491
11492 bool operator == (const WMGetResourcePlanResponse & rhs) const;
11493 bool operator != (const WMGetResourcePlanResponse &rhs) const {
11494 return !(*this == rhs);
11495 }
11496
11497 bool operator < (const WMGetResourcePlanResponse & ) const;
11498
11499 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11500 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11501
11502 virtual void printTo(std::ostream& out) const;
11503};
11504
11505void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) noexcept;
11506
11507std::ostream& operator<<(std::ostream& out, const WMGetResourcePlanResponse& obj);
11508
11513
11514class WMGetAllResourcePlanRequest : public virtual ::apache::thrift::TBase {
11515 public:
11516
11519 WMGetAllResourcePlanRequest() noexcept;
11520
11521 virtual ~WMGetAllResourcePlanRequest() noexcept;
11522 std::string ns;
11523
11525
11526 void __set_ns(const std::string& val);
11527
11528 bool operator == (const WMGetAllResourcePlanRequest & rhs) const;
11529 bool operator != (const WMGetAllResourcePlanRequest &rhs) const {
11530 return !(*this == rhs);
11531 }
11532
11533 bool operator < (const WMGetAllResourcePlanRequest & ) const;
11534
11535 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11536 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11537
11538 virtual void printTo(std::ostream& out) const;
11539};
11540
11542
11543std::ostream& operator<<(std::ostream& out, const WMGetAllResourcePlanRequest& obj);
11544
11546 _WMGetAllResourcePlanResponse__isset() : resourcePlans(false) {}
11547 bool resourcePlans :1;
11549
11550class WMGetAllResourcePlanResponse : public virtual ::apache::thrift::TBase {
11551 public:
11552
11556
11557 virtual ~WMGetAllResourcePlanResponse() noexcept;
11558 std::vector<WMResourcePlan> resourcePlans;
11559
11561
11562 void __set_resourcePlans(const std::vector<WMResourcePlan> & val);
11563
11564 bool operator == (const WMGetAllResourcePlanResponse & rhs) const;
11565 bool operator != (const WMGetAllResourcePlanResponse &rhs) const {
11566 return !(*this == rhs);
11567 }
11568
11569 bool operator < (const WMGetAllResourcePlanResponse & ) const;
11570
11571 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11572 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11573
11574 virtual void printTo(std::ostream& out) const;
11575};
11576
11578
11579std::ostream& operator<<(std::ostream& out, const WMGetAllResourcePlanResponse& obj);
11580
11582 _WMAlterResourcePlanRequest__isset() : resourcePlanName(false), resourcePlan(false), isEnableAndActivate(false), isForceDeactivate(false), isReplace(false), ns(false) {}
11583 bool resourcePlanName :1;
11584 bool resourcePlan :1;
11585 bool isEnableAndActivate :1;
11586 bool isForceDeactivate :1;
11587 bool isReplace :1;
11588 bool ns :1;
11590
11591class WMAlterResourcePlanRequest : public virtual ::apache::thrift::TBase {
11592 public:
11593
11596 WMAlterResourcePlanRequest() noexcept;
11597
11598 virtual ~WMAlterResourcePlanRequest() noexcept;
11599 std::string resourcePlanName;
11600 WMNullableResourcePlan resourcePlan;
11601 bool isEnableAndActivate;
11602 bool isForceDeactivate;
11603 bool isReplace;
11604 std::string ns;
11605
11607
11608 void __set_resourcePlanName(const std::string& val);
11609
11610 void __set_resourcePlan(const WMNullableResourcePlan& val);
11611
11612 void __set_isEnableAndActivate(const bool val);
11613
11614 void __set_isForceDeactivate(const bool val);
11615
11616 void __set_isReplace(const bool val);
11617
11618 void __set_ns(const std::string& val);
11619
11620 bool operator == (const WMAlterResourcePlanRequest & rhs) const;
11621 bool operator != (const WMAlterResourcePlanRequest &rhs) const {
11622 return !(*this == rhs);
11623 }
11624
11625 bool operator < (const WMAlterResourcePlanRequest & ) const;
11626
11627 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11628 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11629
11630 virtual void printTo(std::ostream& out) const;
11631};
11632
11634
11635std::ostream& operator<<(std::ostream& out, const WMAlterResourcePlanRequest& obj);
11636
11638 _WMAlterResourcePlanResponse__isset() : fullResourcePlan(false) {}
11639 bool fullResourcePlan :1;
11641
11642class WMAlterResourcePlanResponse : public virtual ::apache::thrift::TBase {
11643 public:
11644
11647 WMAlterResourcePlanResponse() noexcept;
11648
11649 virtual ~WMAlterResourcePlanResponse() noexcept;
11650 WMFullResourcePlan fullResourcePlan;
11651
11653
11654 void __set_fullResourcePlan(const WMFullResourcePlan& val);
11655
11656 bool operator == (const WMAlterResourcePlanResponse & rhs) const;
11657 bool operator != (const WMAlterResourcePlanResponse &rhs) const {
11658 return !(*this == rhs);
11659 }
11660
11661 bool operator < (const WMAlterResourcePlanResponse & ) const;
11662
11663 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11664 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11665
11666 virtual void printTo(std::ostream& out) const;
11667};
11668
11670
11671std::ostream& operator<<(std::ostream& out, const WMAlterResourcePlanResponse& obj);
11672
11674 _WMValidateResourcePlanRequest__isset() : resourcePlanName(false), ns(false) {}
11675 bool resourcePlanName :1;
11676 bool ns :1;
11678
11679class WMValidateResourcePlanRequest : public virtual ::apache::thrift::TBase {
11680 public:
11681
11685
11686 virtual ~WMValidateResourcePlanRequest() noexcept;
11687 std::string resourcePlanName;
11688 std::string ns;
11689
11691
11692 void __set_resourcePlanName(const std::string& val);
11693
11694 void __set_ns(const std::string& val);
11695
11696 bool operator == (const WMValidateResourcePlanRequest & rhs) const;
11697 bool operator != (const WMValidateResourcePlanRequest &rhs) const {
11698 return !(*this == rhs);
11699 }
11700
11701 bool operator < (const WMValidateResourcePlanRequest & ) const;
11702
11703 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11704 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11705
11706 virtual void printTo(std::ostream& out) const;
11707};
11708
11710
11711std::ostream& operator<<(std::ostream& out, const WMValidateResourcePlanRequest& obj);
11712
11714 _WMValidateResourcePlanResponse__isset() : errors(false), warnings(false) {}
11715 bool errors :1;
11716 bool warnings :1;
11718
11719class WMValidateResourcePlanResponse : public virtual ::apache::thrift::TBase {
11720 public:
11721
11725
11726 virtual ~WMValidateResourcePlanResponse() noexcept;
11727 std::vector<std::string> errors;
11728 std::vector<std::string> warnings;
11729
11731
11732 void __set_errors(const std::vector<std::string> & val);
11733
11734 void __set_warnings(const std::vector<std::string> & val);
11735
11736 bool operator == (const WMValidateResourcePlanResponse & rhs) const;
11737 bool operator != (const WMValidateResourcePlanResponse &rhs) const {
11738 return !(*this == rhs);
11739 }
11740
11741 bool operator < (const WMValidateResourcePlanResponse & ) const;
11742
11743 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11744 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11745
11746 virtual void printTo(std::ostream& out) const;
11747};
11748
11750
11751std::ostream& operator<<(std::ostream& out, const WMValidateResourcePlanResponse& obj);
11752
11754 _WMDropResourcePlanRequest__isset() : resourcePlanName(false), ns(false) {}
11755 bool resourcePlanName :1;
11756 bool ns :1;
11758
11759class WMDropResourcePlanRequest : public virtual ::apache::thrift::TBase {
11760 public:
11761
11764 WMDropResourcePlanRequest() noexcept;
11765
11766 virtual ~WMDropResourcePlanRequest() noexcept;
11767 std::string resourcePlanName;
11768 std::string ns;
11769
11771
11772 void __set_resourcePlanName(const std::string& val);
11773
11774 void __set_ns(const std::string& val);
11775
11776 bool operator == (const WMDropResourcePlanRequest & rhs) const;
11777 bool operator != (const WMDropResourcePlanRequest &rhs) const {
11778 return !(*this == rhs);
11779 }
11780
11781 bool operator < (const WMDropResourcePlanRequest & ) const;
11782
11783 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11784 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11785
11786 virtual void printTo(std::ostream& out) const;
11787};
11788
11789void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) noexcept;
11790
11791std::ostream& operator<<(std::ostream& out, const WMDropResourcePlanRequest& obj);
11792
11793
11794class WMDropResourcePlanResponse : public virtual ::apache::thrift::TBase {
11795 public:
11796
11798 WMDropResourcePlanResponse& operator=(const WMDropResourcePlanResponse&) noexcept;
11799 WMDropResourcePlanResponse() noexcept;
11800
11801 virtual ~WMDropResourcePlanResponse() noexcept;
11802
11803 bool operator == (const WMDropResourcePlanResponse & /* rhs */) const;
11804 bool operator != (const WMDropResourcePlanResponse &rhs) const {
11805 return !(*this == rhs);
11806 }
11807
11808 bool operator < (const WMDropResourcePlanResponse & ) const;
11809
11810 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11811 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11812
11813 virtual void printTo(std::ostream& out) const;
11814};
11815
11817
11818std::ostream& operator<<(std::ostream& out, const WMDropResourcePlanResponse& obj);
11819
11821 _WMCreateTriggerRequest__isset() : trigger(false) {}
11822 bool trigger :1;
11824
11825class WMCreateTriggerRequest : public virtual ::apache::thrift::TBase {
11826 public:
11827
11830 WMCreateTriggerRequest() noexcept;
11831
11832 virtual ~WMCreateTriggerRequest() noexcept;
11833 WMTrigger trigger;
11834
11836
11837 void __set_trigger(const WMTrigger& val);
11838
11839 bool operator == (const WMCreateTriggerRequest & rhs) const;
11840 bool operator != (const WMCreateTriggerRequest &rhs) const {
11841 return !(*this == rhs);
11842 }
11843
11844 bool operator < (const WMCreateTriggerRequest & ) const;
11845
11846 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11847 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11848
11849 virtual void printTo(std::ostream& out) const;
11850};
11851
11852void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) noexcept;
11853
11854std::ostream& operator<<(std::ostream& out, const WMCreateTriggerRequest& obj);
11855
11856
11857class WMCreateTriggerResponse : public virtual ::apache::thrift::TBase {
11858 public:
11859
11861 WMCreateTriggerResponse& operator=(const WMCreateTriggerResponse&) noexcept;
11862 WMCreateTriggerResponse() noexcept;
11863
11864 virtual ~WMCreateTriggerResponse() noexcept;
11865
11866 bool operator == (const WMCreateTriggerResponse & /* rhs */) const;
11867 bool operator != (const WMCreateTriggerResponse &rhs) const {
11868 return !(*this == rhs);
11869 }
11870
11871 bool operator < (const WMCreateTriggerResponse & ) const;
11872
11873 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11874 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11875
11876 virtual void printTo(std::ostream& out) const;
11877};
11878
11879void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) noexcept;
11880
11881std::ostream& operator<<(std::ostream& out, const WMCreateTriggerResponse& obj);
11882
11884 _WMAlterTriggerRequest__isset() : trigger(false) {}
11885 bool trigger :1;
11887
11888class WMAlterTriggerRequest : public virtual ::apache::thrift::TBase {
11889 public:
11890
11893 WMAlterTriggerRequest() noexcept;
11894
11895 virtual ~WMAlterTriggerRequest() noexcept;
11896 WMTrigger trigger;
11897
11899
11900 void __set_trigger(const WMTrigger& val);
11901
11902 bool operator == (const WMAlterTriggerRequest & rhs) const;
11903 bool operator != (const WMAlterTriggerRequest &rhs) const {
11904 return !(*this == rhs);
11905 }
11906
11907 bool operator < (const WMAlterTriggerRequest & ) const;
11908
11909 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11910 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11911
11912 virtual void printTo(std::ostream& out) const;
11913};
11914
11915void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) noexcept;
11916
11917std::ostream& operator<<(std::ostream& out, const WMAlterTriggerRequest& obj);
11918
11919
11920class WMAlterTriggerResponse : public virtual ::apache::thrift::TBase {
11921 public:
11922
11924 WMAlterTriggerResponse& operator=(const WMAlterTriggerResponse&) noexcept;
11925 WMAlterTriggerResponse() noexcept;
11926
11927 virtual ~WMAlterTriggerResponse() noexcept;
11928
11929 bool operator == (const WMAlterTriggerResponse & /* rhs */) const;
11930 bool operator != (const WMAlterTriggerResponse &rhs) const {
11931 return !(*this == rhs);
11932 }
11933
11934 bool operator < (const WMAlterTriggerResponse & ) const;
11935
11936 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11937 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11938
11939 virtual void printTo(std::ostream& out) const;
11940};
11941
11942void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) noexcept;
11943
11944std::ostream& operator<<(std::ostream& out, const WMAlterTriggerResponse& obj);
11945
11947 _WMDropTriggerRequest__isset() : resourcePlanName(false), triggerName(false), ns(false) {}
11948 bool resourcePlanName :1;
11949 bool triggerName :1;
11950 bool ns :1;
11952
11953class WMDropTriggerRequest : public virtual ::apache::thrift::TBase {
11954 public:
11955
11957 WMDropTriggerRequest& operator=(const WMDropTriggerRequest&);
11958 WMDropTriggerRequest() noexcept;
11959
11960 virtual ~WMDropTriggerRequest() noexcept;
11961 std::string resourcePlanName;
11962 std::string triggerName;
11963 std::string ns;
11964
11966
11967 void __set_resourcePlanName(const std::string& val);
11968
11969 void __set_triggerName(const std::string& val);
11970
11971 void __set_ns(const std::string& val);
11972
11973 bool operator == (const WMDropTriggerRequest & rhs) const;
11974 bool operator != (const WMDropTriggerRequest &rhs) const {
11975 return !(*this == rhs);
11976 }
11977
11978 bool operator < (const WMDropTriggerRequest & ) const;
11979
11980 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
11981 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
11982
11983 virtual void printTo(std::ostream& out) const;
11984};
11985
11986void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) noexcept;
11987
11988std::ostream& operator<<(std::ostream& out, const WMDropTriggerRequest& obj);
11989
11990
11991class WMDropTriggerResponse : public virtual ::apache::thrift::TBase {
11992 public:
11993
11995 WMDropTriggerResponse& operator=(const WMDropTriggerResponse&) noexcept;
11996 WMDropTriggerResponse() noexcept;
11997
11998 virtual ~WMDropTriggerResponse() noexcept;
11999
12000 bool operator == (const WMDropTriggerResponse & /* rhs */) const;
12001 bool operator != (const WMDropTriggerResponse &rhs) const {
12002 return !(*this == rhs);
12003 }
12004
12005 bool operator < (const WMDropTriggerResponse & ) const;
12006
12007 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12008 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12009
12010 virtual void printTo(std::ostream& out) const;
12011};
12012
12013void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) noexcept;
12014
12015std::ostream& operator<<(std::ostream& out, const WMDropTriggerResponse& obj);
12016
12018 _WMGetTriggersForResourePlanRequest__isset() : resourcePlanName(false), ns(false) {}
12019 bool resourcePlanName :1;
12020 bool ns :1;
12022
12023class WMGetTriggersForResourePlanRequest : public virtual ::apache::thrift::TBase {
12024 public:
12025
12029
12030 virtual ~WMGetTriggersForResourePlanRequest() noexcept;
12031 std::string resourcePlanName;
12032 std::string ns;
12033
12035
12036 void __set_resourcePlanName(const std::string& val);
12037
12038 void __set_ns(const std::string& val);
12039
12040 bool operator == (const WMGetTriggersForResourePlanRequest & rhs) const;
12041 bool operator != (const WMGetTriggersForResourePlanRequest &rhs) const {
12042 return !(*this == rhs);
12043 }
12044
12045 bool operator < (const WMGetTriggersForResourePlanRequest & ) const;
12046
12047 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12048 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12049
12050 virtual void printTo(std::ostream& out) const;
12051};
12052
12054
12055std::ostream& operator<<(std::ostream& out, const WMGetTriggersForResourePlanRequest& obj);
12056
12061
12062class WMGetTriggersForResourePlanResponse : public virtual ::apache::thrift::TBase {
12063 public:
12064
12068
12069 virtual ~WMGetTriggersForResourePlanResponse() noexcept;
12070 std::vector<WMTrigger> triggers;
12071
12073
12074 void __set_triggers(const std::vector<WMTrigger> & val);
12075
12076 bool operator == (const WMGetTriggersForResourePlanResponse & rhs) const;
12077 bool operator != (const WMGetTriggersForResourePlanResponse &rhs) const {
12078 return !(*this == rhs);
12079 }
12080
12081 bool operator < (const WMGetTriggersForResourePlanResponse & ) const;
12082
12083 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12084 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12085
12086 virtual void printTo(std::ostream& out) const;
12087};
12088
12090
12091std::ostream& operator<<(std::ostream& out, const WMGetTriggersForResourePlanResponse& obj);
12092
12094 _WMCreatePoolRequest__isset() : pool(false) {}
12095 bool pool :1;
12097
12098class WMCreatePoolRequest : public virtual ::apache::thrift::TBase {
12099 public:
12100
12102 WMCreatePoolRequest& operator=(const WMCreatePoolRequest&);
12103 WMCreatePoolRequest() noexcept;
12104
12105 virtual ~WMCreatePoolRequest() noexcept;
12106 WMPool pool;
12107
12109
12110 void __set_pool(const WMPool& val);
12111
12112 bool operator == (const WMCreatePoolRequest & rhs) const;
12113 bool operator != (const WMCreatePoolRequest &rhs) const {
12114 return !(*this == rhs);
12115 }
12116
12117 bool operator < (const WMCreatePoolRequest & ) const;
12118
12119 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12120 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12121
12122 virtual void printTo(std::ostream& out) const;
12123};
12124
12125void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) noexcept;
12126
12127std::ostream& operator<<(std::ostream& out, const WMCreatePoolRequest& obj);
12128
12129
12130class WMCreatePoolResponse : public virtual ::apache::thrift::TBase {
12131 public:
12132
12134 WMCreatePoolResponse& operator=(const WMCreatePoolResponse&) noexcept;
12135 WMCreatePoolResponse() noexcept;
12136
12137 virtual ~WMCreatePoolResponse() noexcept;
12138
12139 bool operator == (const WMCreatePoolResponse & /* rhs */) const;
12140 bool operator != (const WMCreatePoolResponse &rhs) const {
12141 return !(*this == rhs);
12142 }
12143
12144 bool operator < (const WMCreatePoolResponse & ) const;
12145
12146 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12147 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12148
12149 virtual void printTo(std::ostream& out) const;
12150};
12151
12152void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) noexcept;
12153
12154std::ostream& operator<<(std::ostream& out, const WMCreatePoolResponse& obj);
12155
12157 _WMAlterPoolRequest__isset() : pool(false), poolPath(false) {}
12158 bool pool :1;
12159 bool poolPath :1;
12161
12162class WMAlterPoolRequest : public virtual ::apache::thrift::TBase {
12163 public:
12164
12166 WMAlterPoolRequest& operator=(const WMAlterPoolRequest&);
12167 WMAlterPoolRequest() noexcept;
12168
12169 virtual ~WMAlterPoolRequest() noexcept;
12170 WMNullablePool pool;
12171 std::string poolPath;
12172
12174
12175 void __set_pool(const WMNullablePool& val);
12176
12177 void __set_poolPath(const std::string& val);
12178
12179 bool operator == (const WMAlterPoolRequest & rhs) const;
12180 bool operator != (const WMAlterPoolRequest &rhs) const {
12181 return !(*this == rhs);
12182 }
12183
12184 bool operator < (const WMAlterPoolRequest & ) const;
12185
12186 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12187 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12188
12189 virtual void printTo(std::ostream& out) const;
12190};
12191
12192void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) noexcept;
12193
12194std::ostream& operator<<(std::ostream& out, const WMAlterPoolRequest& obj);
12195
12196
12197class WMAlterPoolResponse : public virtual ::apache::thrift::TBase {
12198 public:
12199
12201 WMAlterPoolResponse& operator=(const WMAlterPoolResponse&) noexcept;
12202 WMAlterPoolResponse() noexcept;
12203
12204 virtual ~WMAlterPoolResponse() noexcept;
12205
12206 bool operator == (const WMAlterPoolResponse & /* rhs */) const;
12207 bool operator != (const WMAlterPoolResponse &rhs) const {
12208 return !(*this == rhs);
12209 }
12210
12211 bool operator < (const WMAlterPoolResponse & ) const;
12212
12213 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12214 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12215
12216 virtual void printTo(std::ostream& out) const;
12217};
12218
12219void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) noexcept;
12220
12221std::ostream& operator<<(std::ostream& out, const WMAlterPoolResponse& obj);
12222
12224 _WMDropPoolRequest__isset() : resourcePlanName(false), poolPath(false), ns(false) {}
12225 bool resourcePlanName :1;
12226 bool poolPath :1;
12227 bool ns :1;
12229
12230class WMDropPoolRequest : public virtual ::apache::thrift::TBase {
12231 public:
12232
12234 WMDropPoolRequest& operator=(const WMDropPoolRequest&);
12235 WMDropPoolRequest() noexcept;
12236
12237 virtual ~WMDropPoolRequest() noexcept;
12238 std::string resourcePlanName;
12239 std::string poolPath;
12240 std::string ns;
12241
12243
12244 void __set_resourcePlanName(const std::string& val);
12245
12246 void __set_poolPath(const std::string& val);
12247
12248 void __set_ns(const std::string& val);
12249
12250 bool operator == (const WMDropPoolRequest & rhs) const;
12251 bool operator != (const WMDropPoolRequest &rhs) const {
12252 return !(*this == rhs);
12253 }
12254
12255 bool operator < (const WMDropPoolRequest & ) const;
12256
12257 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12258 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12259
12260 virtual void printTo(std::ostream& out) const;
12261};
12262
12263void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) noexcept;
12264
12265std::ostream& operator<<(std::ostream& out, const WMDropPoolRequest& obj);
12266
12267
12268class WMDropPoolResponse : public virtual ::apache::thrift::TBase {
12269 public:
12270
12271 WMDropPoolResponse(const WMDropPoolResponse&) noexcept;
12272 WMDropPoolResponse& operator=(const WMDropPoolResponse&) noexcept;
12273 WMDropPoolResponse() noexcept;
12274
12275 virtual ~WMDropPoolResponse() noexcept;
12276
12277 bool operator == (const WMDropPoolResponse & /* rhs */) const;
12278 bool operator != (const WMDropPoolResponse &rhs) const {
12279 return !(*this == rhs);
12280 }
12281
12282 bool operator < (const WMDropPoolResponse & ) const;
12283
12284 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12285 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12286
12287 virtual void printTo(std::ostream& out) const;
12288};
12289
12290void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) noexcept;
12291
12292std::ostream& operator<<(std::ostream& out, const WMDropPoolResponse& obj);
12293
12295 _WMCreateOrUpdateMappingRequest__isset() : mapping(false), update(false) {}
12296 bool mapping :1;
12297 bool update :1;
12299
12300class WMCreateOrUpdateMappingRequest : public virtual ::apache::thrift::TBase {
12301 public:
12302
12306
12307 virtual ~WMCreateOrUpdateMappingRequest() noexcept;
12308 WMMapping mapping;
12309 bool update;
12310
12312
12313 void __set_mapping(const WMMapping& val);
12314
12315 void __set_update(const bool val);
12316
12317 bool operator == (const WMCreateOrUpdateMappingRequest & rhs) const;
12318 bool operator != (const WMCreateOrUpdateMappingRequest &rhs) const {
12319 return !(*this == rhs);
12320 }
12321
12322 bool operator < (const WMCreateOrUpdateMappingRequest & ) const;
12323
12324 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12325 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12326
12327 virtual void printTo(std::ostream& out) const;
12328};
12329
12331
12332std::ostream& operator<<(std::ostream& out, const WMCreateOrUpdateMappingRequest& obj);
12333
12334
12335class WMCreateOrUpdateMappingResponse : public virtual ::apache::thrift::TBase {
12336 public:
12337
12341
12342 virtual ~WMCreateOrUpdateMappingResponse() noexcept;
12343
12344 bool operator == (const WMCreateOrUpdateMappingResponse & /* rhs */) const;
12345 bool operator != (const WMCreateOrUpdateMappingResponse &rhs) const {
12346 return !(*this == rhs);
12347 }
12348
12349 bool operator < (const WMCreateOrUpdateMappingResponse & ) const;
12350
12351 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12352 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12353
12354 virtual void printTo(std::ostream& out) const;
12355};
12356
12358
12359std::ostream& operator<<(std::ostream& out, const WMCreateOrUpdateMappingResponse& obj);
12360
12362 _WMDropMappingRequest__isset() : mapping(false) {}
12363 bool mapping :1;
12365
12366class WMDropMappingRequest : public virtual ::apache::thrift::TBase {
12367 public:
12368
12370 WMDropMappingRequest& operator=(const WMDropMappingRequest&);
12371 WMDropMappingRequest() noexcept;
12372
12373 virtual ~WMDropMappingRequest() noexcept;
12374 WMMapping mapping;
12375
12377
12378 void __set_mapping(const WMMapping& val);
12379
12380 bool operator == (const WMDropMappingRequest & rhs) const;
12381 bool operator != (const WMDropMappingRequest &rhs) const {
12382 return !(*this == rhs);
12383 }
12384
12385 bool operator < (const WMDropMappingRequest & ) const;
12386
12387 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12388 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12389
12390 virtual void printTo(std::ostream& out) const;
12391};
12392
12393void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) noexcept;
12394
12395std::ostream& operator<<(std::ostream& out, const WMDropMappingRequest& obj);
12396
12397
12398class WMDropMappingResponse : public virtual ::apache::thrift::TBase {
12399 public:
12400
12402 WMDropMappingResponse& operator=(const WMDropMappingResponse&) noexcept;
12403 WMDropMappingResponse() noexcept;
12404
12405 virtual ~WMDropMappingResponse() noexcept;
12406
12407 bool operator == (const WMDropMappingResponse & /* rhs */) const;
12408 bool operator != (const WMDropMappingResponse &rhs) const {
12409 return !(*this == rhs);
12410 }
12411
12412 bool operator < (const WMDropMappingResponse & ) const;
12413
12414 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12415 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12416
12417 virtual void printTo(std::ostream& out) const;
12418};
12419
12420void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) noexcept;
12421
12422std::ostream& operator<<(std::ostream& out, const WMDropMappingResponse& obj);
12423
12425 _WMCreateOrDropTriggerToPoolMappingRequest__isset() : resourcePlanName(false), triggerName(false), poolPath(false), drop(false), ns(false) {}
12426 bool resourcePlanName :1;
12427 bool triggerName :1;
12428 bool poolPath :1;
12429 bool drop :1;
12430 bool ns :1;
12432
12433class WMCreateOrDropTriggerToPoolMappingRequest : public virtual ::apache::thrift::TBase {
12434 public:
12435
12439
12441 std::string resourcePlanName;
12442 std::string triggerName;
12443 std::string poolPath;
12444 bool drop;
12445 std::string ns;
12446
12448
12449 void __set_resourcePlanName(const std::string& val);
12450
12451 void __set_triggerName(const std::string& val);
12452
12453 void __set_poolPath(const std::string& val);
12454
12455 void __set_drop(const bool val);
12456
12457 void __set_ns(const std::string& val);
12458
12459 bool operator == (const WMCreateOrDropTriggerToPoolMappingRequest & rhs) const;
12460 bool operator != (const WMCreateOrDropTriggerToPoolMappingRequest &rhs) const {
12461 return !(*this == rhs);
12462 }
12463
12464 bool operator < (const WMCreateOrDropTriggerToPoolMappingRequest & ) const;
12465
12466 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12467 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12468
12469 virtual void printTo(std::ostream& out) const;
12470};
12471
12473
12474std::ostream& operator<<(std::ostream& out, const WMCreateOrDropTriggerToPoolMappingRequest& obj);
12475
12476
12477class WMCreateOrDropTriggerToPoolMappingResponse : public virtual ::apache::thrift::TBase {
12478 public:
12479
12483
12485
12486 bool operator == (const WMCreateOrDropTriggerToPoolMappingResponse & /* rhs */) const;
12487 bool operator != (const WMCreateOrDropTriggerToPoolMappingResponse &rhs) const {
12488 return !(*this == rhs);
12489 }
12490
12491 bool operator < (const WMCreateOrDropTriggerToPoolMappingResponse & ) const;
12492
12493 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12494 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12495
12496 virtual void printTo(std::ostream& out) const;
12497};
12498
12500
12501std::ostream& operator<<(std::ostream& out, const WMCreateOrDropTriggerToPoolMappingResponse& obj);
12502
12503typedef struct _ISchema__isset {
12504 _ISchema__isset() : schemaType(false), name(false), catName(false), dbName(false), compatibility(false), validationLevel(false), canEvolve(false), schemaGroup(false), description(false) {}
12505 bool schemaType :1;
12506 bool name :1;
12507 bool catName :1;
12508 bool dbName :1;
12509 bool compatibility :1;
12510 bool validationLevel :1;
12511 bool canEvolve :1;
12512 bool schemaGroup :1;
12513 bool description :1;
12515
12516class ISchema : public virtual ::apache::thrift::TBase {
12517 public:
12518
12519 ISchema(const ISchema&);
12520 ISchema& operator=(const ISchema&);
12521 ISchema() noexcept;
12522
12523 virtual ~ISchema() noexcept;
12528 SchemaType::type schemaType;
12529 std::string name;
12530 std::string catName;
12531 std::string dbName;
12536 SchemaCompatibility::type compatibility;
12541 SchemaValidation::type validationLevel;
12542 bool canEvolve;
12543 std::string schemaGroup;
12544 std::string description;
12545
12546 _ISchema__isset __isset;
12547
12548 void __set_schemaType(const SchemaType::type val);
12549
12550 void __set_name(const std::string& val);
12551
12552 void __set_catName(const std::string& val);
12553
12554 void __set_dbName(const std::string& val);
12555
12556 void __set_compatibility(const SchemaCompatibility::type val);
12557
12558 void __set_validationLevel(const SchemaValidation::type val);
12559
12560 void __set_canEvolve(const bool val);
12561
12562 void __set_schemaGroup(const std::string& val);
12563
12564 void __set_description(const std::string& val);
12565
12566 bool operator == (const ISchema & rhs) const;
12567 bool operator != (const ISchema &rhs) const {
12568 return !(*this == rhs);
12569 }
12570
12571 bool operator < (const ISchema & ) const;
12572
12573 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12574 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12575
12576 virtual void printTo(std::ostream& out) const;
12577};
12578
12579void swap(ISchema &a, ISchema &b) noexcept;
12580
12581std::ostream& operator<<(std::ostream& out, const ISchema& obj);
12582
12583typedef struct _ISchemaName__isset {
12584 _ISchemaName__isset() : catName(false), dbName(false), schemaName(false) {}
12585 bool catName :1;
12586 bool dbName :1;
12587 bool schemaName :1;
12589
12590class ISchemaName : public virtual ::apache::thrift::TBase {
12591 public:
12592
12593 ISchemaName(const ISchemaName&);
12594 ISchemaName& operator=(const ISchemaName&);
12595 ISchemaName() noexcept;
12596
12597 virtual ~ISchemaName() noexcept;
12598 std::string catName;
12599 std::string dbName;
12600 std::string schemaName;
12601
12602 _ISchemaName__isset __isset;
12603
12604 void __set_catName(const std::string& val);
12605
12606 void __set_dbName(const std::string& val);
12607
12608 void __set_schemaName(const std::string& val);
12609
12610 bool operator == (const ISchemaName & rhs) const;
12611 bool operator != (const ISchemaName &rhs) const {
12612 return !(*this == rhs);
12613 }
12614
12615 bool operator < (const ISchemaName & ) const;
12616
12617 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12618 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12619
12620 virtual void printTo(std::ostream& out) const;
12621};
12622
12623void swap(ISchemaName &a, ISchemaName &b) noexcept;
12624
12625std::ostream& operator<<(std::ostream& out, const ISchemaName& obj);
12626
12628 _AlterISchemaRequest__isset() : name(false), newSchema(false) {}
12629 bool name :1;
12630 bool newSchema :1;
12632
12633class AlterISchemaRequest : public virtual ::apache::thrift::TBase {
12634 public:
12635
12637 AlterISchemaRequest& operator=(const AlterISchemaRequest&);
12638 AlterISchemaRequest() noexcept;
12639
12640 virtual ~AlterISchemaRequest() noexcept;
12641 ISchemaName name;
12642 ISchema newSchema;
12643
12645
12646 void __set_name(const ISchemaName& val);
12647
12648 void __set_newSchema(const ISchema& val);
12649
12650 bool operator == (const AlterISchemaRequest & rhs) const;
12651 bool operator != (const AlterISchemaRequest &rhs) const {
12652 return !(*this == rhs);
12653 }
12654
12655 bool operator < (const AlterISchemaRequest & ) const;
12656
12657 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12658 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12659
12660 virtual void printTo(std::ostream& out) const;
12661};
12662
12663void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) noexcept;
12664
12665std::ostream& operator<<(std::ostream& out, const AlterISchemaRequest& obj);
12666
12668 _SchemaVersion__isset() : schema(false), version(false), createdAt(false), cols(false), state(false), description(false), schemaText(false), fingerprint(false), name(false), serDe(false) {}
12669 bool schema :1;
12670 bool version :1;
12671 bool createdAt :1;
12672 bool cols :1;
12673 bool state :1;
12674 bool description :1;
12675 bool schemaText :1;
12676 bool fingerprint :1;
12677 bool name :1;
12678 bool serDe :1;
12680
12681class SchemaVersion : public virtual ::apache::thrift::TBase {
12682 public:
12683
12685 SchemaVersion& operator=(const SchemaVersion&);
12686 SchemaVersion() noexcept;
12687
12688 virtual ~SchemaVersion() noexcept;
12689 ISchemaName schema;
12690 int32_t version;
12691 int64_t createdAt;
12692 std::vector<FieldSchema> cols;
12697 SchemaVersionState::type state;
12698 std::string description;
12699 std::string schemaText;
12700 std::string fingerprint;
12701 std::string name;
12702 SerDeInfo serDe;
12703
12704 _SchemaVersion__isset __isset;
12705
12706 void __set_schema(const ISchemaName& val);
12707
12708 void __set_version(const int32_t val);
12709
12710 void __set_createdAt(const int64_t val);
12711
12712 void __set_cols(const std::vector<FieldSchema> & val);
12713
12714 void __set_state(const SchemaVersionState::type val);
12715
12716 void __set_description(const std::string& val);
12717
12718 void __set_schemaText(const std::string& val);
12719
12720 void __set_fingerprint(const std::string& val);
12721
12722 void __set_name(const std::string& val);
12723
12724 void __set_serDe(const SerDeInfo& val);
12725
12726 bool operator == (const SchemaVersion & rhs) const;
12727 bool operator != (const SchemaVersion &rhs) const {
12728 return !(*this == rhs);
12729 }
12730
12731 bool operator < (const SchemaVersion & ) const;
12732
12733 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12734 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12735
12736 virtual void printTo(std::ostream& out) const;
12737};
12738
12739void swap(SchemaVersion &a, SchemaVersion &b) noexcept;
12740
12741std::ostream& operator<<(std::ostream& out, const SchemaVersion& obj);
12742
12744 _SchemaVersionDescriptor__isset() : schema(false), version(false) {}
12745 bool schema :1;
12746 bool version :1;
12748
12749class SchemaVersionDescriptor : public virtual ::apache::thrift::TBase {
12750 public:
12751
12754 SchemaVersionDescriptor() noexcept;
12755
12756 virtual ~SchemaVersionDescriptor() noexcept;
12757 ISchemaName schema;
12758 int32_t version;
12759
12761
12762 void __set_schema(const ISchemaName& val);
12763
12764 void __set_version(const int32_t val);
12765
12766 bool operator == (const SchemaVersionDescriptor & rhs) const;
12767 bool operator != (const SchemaVersionDescriptor &rhs) const {
12768 return !(*this == rhs);
12769 }
12770
12771 bool operator < (const SchemaVersionDescriptor & ) const;
12772
12773 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12774 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12775
12776 virtual void printTo(std::ostream& out) const;
12777};
12778
12779void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) noexcept;
12780
12781std::ostream& operator<<(std::ostream& out, const SchemaVersionDescriptor& obj);
12782
12784 _FindSchemasByColsRqst__isset() : colName(false), colNamespace(false), type(false) {}
12785 bool colName :1;
12786 bool colNamespace :1;
12787 bool type :1;
12789
12790class FindSchemasByColsRqst : public virtual ::apache::thrift::TBase {
12791 public:
12792
12795 FindSchemasByColsRqst() noexcept;
12796
12797 virtual ~FindSchemasByColsRqst() noexcept;
12798 std::string colName;
12799 std::string colNamespace;
12800 std::string type;
12801
12803
12804 void __set_colName(const std::string& val);
12805
12806 void __set_colNamespace(const std::string& val);
12807
12808 void __set_type(const std::string& val);
12809
12810 bool operator == (const FindSchemasByColsRqst & rhs) const;
12811 bool operator != (const FindSchemasByColsRqst &rhs) const {
12812 return !(*this == rhs);
12813 }
12814
12815 bool operator < (const FindSchemasByColsRqst & ) const;
12816
12817 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12818 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12819
12820 virtual void printTo(std::ostream& out) const;
12821};
12822
12823void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) noexcept;
12824
12825std::ostream& operator<<(std::ostream& out, const FindSchemasByColsRqst& obj);
12826
12828 _FindSchemasByColsResp__isset() : schemaVersions(false) {}
12829 bool schemaVersions :1;
12831
12832class FindSchemasByColsResp : public virtual ::apache::thrift::TBase {
12833 public:
12834
12837 FindSchemasByColsResp() noexcept;
12838
12839 virtual ~FindSchemasByColsResp() noexcept;
12840 std::vector<SchemaVersionDescriptor> schemaVersions;
12841
12843
12844 void __set_schemaVersions(const std::vector<SchemaVersionDescriptor> & val);
12845
12846 bool operator == (const FindSchemasByColsResp & rhs) const;
12847 bool operator != (const FindSchemasByColsResp &rhs) const {
12848 return !(*this == rhs);
12849 }
12850
12851 bool operator < (const FindSchemasByColsResp & ) const;
12852
12853 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12854 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12855
12856 virtual void printTo(std::ostream& out) const;
12857};
12858
12859void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) noexcept;
12860
12861std::ostream& operator<<(std::ostream& out, const FindSchemasByColsResp& obj);
12862
12864 _MapSchemaVersionToSerdeRequest__isset() : schemaVersion(false), serdeName(false) {}
12865 bool schemaVersion :1;
12866 bool serdeName :1;
12868
12869class MapSchemaVersionToSerdeRequest : public virtual ::apache::thrift::TBase {
12870 public:
12871
12875
12876 virtual ~MapSchemaVersionToSerdeRequest() noexcept;
12877 SchemaVersionDescriptor schemaVersion;
12878 std::string serdeName;
12879
12881
12882 void __set_schemaVersion(const SchemaVersionDescriptor& val);
12883
12884 void __set_serdeName(const std::string& val);
12885
12886 bool operator == (const MapSchemaVersionToSerdeRequest & rhs) const;
12887 bool operator != (const MapSchemaVersionToSerdeRequest &rhs) const {
12888 return !(*this == rhs);
12889 }
12890
12891 bool operator < (const MapSchemaVersionToSerdeRequest & ) const;
12892
12893 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12894 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12895
12896 virtual void printTo(std::ostream& out) const;
12897};
12898
12900
12901std::ostream& operator<<(std::ostream& out, const MapSchemaVersionToSerdeRequest& obj);
12902
12904 _SetSchemaVersionStateRequest__isset() : schemaVersion(false), state(false) {}
12905 bool schemaVersion :1;
12906 bool state :1;
12908
12909class SetSchemaVersionStateRequest : public virtual ::apache::thrift::TBase {
12910 public:
12911
12915
12916 virtual ~SetSchemaVersionStateRequest() noexcept;
12917 SchemaVersionDescriptor schemaVersion;
12922 SchemaVersionState::type state;
12923
12925
12926 void __set_schemaVersion(const SchemaVersionDescriptor& val);
12927
12928 void __set_state(const SchemaVersionState::type val);
12929
12930 bool operator == (const SetSchemaVersionStateRequest & rhs) const;
12931 bool operator != (const SetSchemaVersionStateRequest &rhs) const {
12932 return !(*this == rhs);
12933 }
12934
12935 bool operator < (const SetSchemaVersionStateRequest & ) const;
12936
12937 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12938 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12939
12940 virtual void printTo(std::ostream& out) const;
12941};
12942
12943void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) noexcept;
12944
12945std::ostream& operator<<(std::ostream& out, const SetSchemaVersionStateRequest& obj);
12946
12948 _GetSerdeRequest__isset() : serdeName(false) {}
12949 bool serdeName :1;
12951
12952class GetSerdeRequest : public virtual ::apache::thrift::TBase {
12953 public:
12954
12956 GetSerdeRequest& operator=(const GetSerdeRequest&);
12957 GetSerdeRequest() noexcept;
12958
12959 virtual ~GetSerdeRequest() noexcept;
12960 std::string serdeName;
12961
12963
12964 void __set_serdeName(const std::string& val);
12965
12966 bool operator == (const GetSerdeRequest & rhs) const;
12967 bool operator != (const GetSerdeRequest &rhs) const {
12968 return !(*this == rhs);
12969 }
12970
12971 bool operator < (const GetSerdeRequest & ) const;
12972
12973 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
12974 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
12975
12976 virtual void printTo(std::ostream& out) const;
12977};
12978
12979void swap(GetSerdeRequest &a, GetSerdeRequest &b) noexcept;
12980
12981std::ostream& operator<<(std::ostream& out, const GetSerdeRequest& obj);
12982
12983typedef struct _RuntimeStat__isset {
12984 _RuntimeStat__isset() : createTime(false) {}
12985 bool createTime :1;
12987
12988class RuntimeStat : public virtual ::apache::thrift::TBase {
12989 public:
12990
12991 RuntimeStat(const RuntimeStat&);
12992 RuntimeStat& operator=(const RuntimeStat&);
12993 RuntimeStat() noexcept;
12994
12995 virtual ~RuntimeStat() noexcept;
12996 int32_t createTime;
12997 int32_t weight;
12998 std::string payload;
12999
13000 _RuntimeStat__isset __isset;
13001
13002 void __set_createTime(const int32_t val);
13003
13004 void __set_weight(const int32_t val);
13005
13006 void __set_payload(const std::string& val);
13007
13008 bool operator == (const RuntimeStat & rhs) const;
13009 bool operator != (const RuntimeStat &rhs) const {
13010 return !(*this == rhs);
13011 }
13012
13013 bool operator < (const RuntimeStat & ) const;
13014
13015 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13016 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13017
13018 virtual void printTo(std::ostream& out) const;
13019};
13020
13021void swap(RuntimeStat &a, RuntimeStat &b) noexcept;
13022
13023std::ostream& operator<<(std::ostream& out, const RuntimeStat& obj);
13024
13025
13026class GetRuntimeStatsRequest : public virtual ::apache::thrift::TBase {
13027 public:
13028
13030 GetRuntimeStatsRequest& operator=(const GetRuntimeStatsRequest&) noexcept;
13031 GetRuntimeStatsRequest() noexcept;
13032
13033 virtual ~GetRuntimeStatsRequest() noexcept;
13034 int32_t maxWeight;
13035 int32_t maxCreateTime;
13036
13037 void __set_maxWeight(const int32_t val);
13038
13039 void __set_maxCreateTime(const int32_t val);
13040
13041 bool operator == (const GetRuntimeStatsRequest & rhs) const;
13042 bool operator != (const GetRuntimeStatsRequest &rhs) const {
13043 return !(*this == rhs);
13044 }
13045
13046 bool operator < (const GetRuntimeStatsRequest & ) const;
13047
13048 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13049 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13050
13051 virtual void printTo(std::ostream& out) const;
13052};
13053
13054void swap(GetRuntimeStatsRequest &a, GetRuntimeStatsRequest &b) noexcept;
13055
13056std::ostream& operator<<(std::ostream& out, const GetRuntimeStatsRequest& obj);
13057
13059 _CreateTableRequest__isset() : envContext(false), primaryKeys(false), foreignKeys(false), uniqueConstraints(false), notNullConstraints(false), defaultConstraints(false), checkConstraints(false), processorCapabilities(false), processorIdentifier(false) {}
13060 bool envContext :1;
13061 bool primaryKeys :1;
13062 bool foreignKeys :1;
13063 bool uniqueConstraints :1;
13064 bool notNullConstraints :1;
13065 bool defaultConstraints :1;
13066 bool checkConstraints :1;
13067 bool processorCapabilities :1;
13068 bool processorIdentifier :1;
13070
13071class CreateTableRequest : public virtual ::apache::thrift::TBase {
13072 public:
13073
13075 CreateTableRequest& operator=(const CreateTableRequest&);
13076 CreateTableRequest() noexcept;
13077
13078 virtual ~CreateTableRequest() noexcept;
13079 Table table;
13080 EnvironmentContext envContext;
13081 std::vector<SQLPrimaryKey> primaryKeys;
13082 std::vector<SQLForeignKey> foreignKeys;
13083 std::vector<SQLUniqueConstraint> uniqueConstraints;
13084 std::vector<SQLNotNullConstraint> notNullConstraints;
13085 std::vector<SQLDefaultConstraint> defaultConstraints;
13086 std::vector<SQLCheckConstraint> checkConstraints;
13087 std::vector<std::string> processorCapabilities;
13088 std::string processorIdentifier;
13089
13091
13092 void __set_table(const Table& val);
13093
13094 void __set_envContext(const EnvironmentContext& val);
13095
13096 void __set_primaryKeys(const std::vector<SQLPrimaryKey> & val);
13097
13098 void __set_foreignKeys(const std::vector<SQLForeignKey> & val);
13099
13100 void __set_uniqueConstraints(const std::vector<SQLUniqueConstraint> & val);
13101
13102 void __set_notNullConstraints(const std::vector<SQLNotNullConstraint> & val);
13103
13104 void __set_defaultConstraints(const std::vector<SQLDefaultConstraint> & val);
13105
13106 void __set_checkConstraints(const std::vector<SQLCheckConstraint> & val);
13107
13108 void __set_processorCapabilities(const std::vector<std::string> & val);
13109
13110 void __set_processorIdentifier(const std::string& val);
13111
13112 bool operator == (const CreateTableRequest & rhs) const;
13113 bool operator != (const CreateTableRequest &rhs) const {
13114 return !(*this == rhs);
13115 }
13116
13117 bool operator < (const CreateTableRequest & ) const;
13118
13119 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13120 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13121
13122 virtual void printTo(std::ostream& out) const;
13123};
13124
13125void swap(CreateTableRequest &a, CreateTableRequest &b) noexcept;
13126
13127std::ostream& operator<<(std::ostream& out, const CreateTableRequest& obj);
13128
13130 _CreateDatabaseRequest__isset() : description(false), locationUri(false), parameters(false), privileges(false), ownerName(false), ownerType(false), catalogName(false), createTime(false), managedLocationUri(false), type(false), dataConnectorName(false), remote_dbname(false) {}
13131 bool description :1;
13132 bool locationUri :1;
13133 bool parameters :1;
13134 bool privileges :1;
13135 bool ownerName :1;
13136 bool ownerType :1;
13137 bool catalogName :1;
13138 bool createTime :1;
13139 bool managedLocationUri :1;
13140 bool type :1;
13141 bool dataConnectorName :1;
13142 bool remote_dbname :1;
13144
13145class CreateDatabaseRequest : public virtual ::apache::thrift::TBase {
13146 public:
13147
13150 CreateDatabaseRequest() noexcept;
13151
13152 virtual ~CreateDatabaseRequest() noexcept;
13153 std::string databaseName;
13154 std::string description;
13155 std::string locationUri;
13156 std::map<std::string, std::string> parameters;
13157 PrincipalPrivilegeSet privileges;
13158 std::string ownerName;
13163 PrincipalType::type ownerType;
13164 std::string catalogName;
13165 int32_t createTime;
13166 std::string managedLocationUri;
13171 DatabaseType::type type;
13172 std::string dataConnectorName;
13173 std::string remote_dbname;
13174
13176
13177 void __set_databaseName(const std::string& val);
13178
13179 void __set_description(const std::string& val);
13180
13181 void __set_locationUri(const std::string& val);
13182
13183 void __set_parameters(const std::map<std::string, std::string> & val);
13184
13185 void __set_privileges(const PrincipalPrivilegeSet& val);
13186
13187 void __set_ownerName(const std::string& val);
13188
13189 void __set_ownerType(const PrincipalType::type val);
13190
13191 void __set_catalogName(const std::string& val);
13192
13193 void __set_createTime(const int32_t val);
13194
13195 void __set_managedLocationUri(const std::string& val);
13196
13197 void __set_type(const DatabaseType::type val);
13198
13199 void __set_dataConnectorName(const std::string& val);
13200
13201 void __set_remote_dbname(const std::string& val);
13202
13203 bool operator == (const CreateDatabaseRequest & rhs) const;
13204 bool operator != (const CreateDatabaseRequest &rhs) const {
13205 return !(*this == rhs);
13206 }
13207
13208 bool operator < (const CreateDatabaseRequest & ) const;
13209
13210 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13211 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13212
13213 virtual void printTo(std::ostream& out) const;
13214};
13215
13216void swap(CreateDatabaseRequest &a, CreateDatabaseRequest &b) noexcept;
13217
13218std::ostream& operator<<(std::ostream& out, const CreateDatabaseRequest& obj);
13219
13220
13221class CreateDataConnectorRequest : public virtual ::apache::thrift::TBase {
13222 public:
13223
13226 CreateDataConnectorRequest() noexcept;
13227
13228 virtual ~CreateDataConnectorRequest() noexcept;
13229 DataConnector connector;
13230
13231 void __set_connector(const DataConnector& val);
13232
13233 bool operator == (const CreateDataConnectorRequest & rhs) const;
13234 bool operator != (const CreateDataConnectorRequest &rhs) const {
13235 return !(*this == rhs);
13236 }
13237
13238 bool operator < (const CreateDataConnectorRequest & ) const;
13239
13240 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13241 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13242
13243 virtual void printTo(std::ostream& out) const;
13244};
13245
13247
13248std::ostream& operator<<(std::ostream& out, const CreateDataConnectorRequest& obj);
13249
13250
13251class GetDataConnectorRequest : public virtual ::apache::thrift::TBase {
13252 public:
13253
13256 GetDataConnectorRequest() noexcept;
13257
13258 virtual ~GetDataConnectorRequest() noexcept;
13259 std::string connectorName;
13260
13261 void __set_connectorName(const std::string& val);
13262
13263 bool operator == (const GetDataConnectorRequest & rhs) const;
13264 bool operator != (const GetDataConnectorRequest &rhs) const {
13265 return !(*this == rhs);
13266 }
13267
13268 bool operator < (const GetDataConnectorRequest & ) const;
13269
13270 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13271 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13272
13273 virtual void printTo(std::ostream& out) const;
13274};
13275
13276void swap(GetDataConnectorRequest &a, GetDataConnectorRequest &b) noexcept;
13277
13278std::ostream& operator<<(std::ostream& out, const GetDataConnectorRequest& obj);
13279
13280
13281class AlterDataConnectorRequest : public virtual ::apache::thrift::TBase {
13282 public:
13283
13286 AlterDataConnectorRequest() noexcept;
13287
13288 virtual ~AlterDataConnectorRequest() noexcept;
13289 std::string connectorName;
13290 DataConnector newConnector;
13291
13292 void __set_connectorName(const std::string& val);
13293
13294 void __set_newConnector(const DataConnector& val);
13295
13296 bool operator == (const AlterDataConnectorRequest & rhs) const;
13297 bool operator != (const AlterDataConnectorRequest &rhs) const {
13298 return !(*this == rhs);
13299 }
13300
13301 bool operator < (const AlterDataConnectorRequest & ) const;
13302
13303 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13304 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13305
13306 virtual void printTo(std::ostream& out) const;
13307};
13308
13309void swap(AlterDataConnectorRequest &a, AlterDataConnectorRequest &b) noexcept;
13310
13311std::ostream& operator<<(std::ostream& out, const AlterDataConnectorRequest& obj);
13312
13314 _DropDataConnectorRequest__isset() : ifNotExists(false), checkReferences(false) {}
13315 bool ifNotExists :1;
13316 bool checkReferences :1;
13318
13319class DropDataConnectorRequest : public virtual ::apache::thrift::TBase {
13320 public:
13321
13324 DropDataConnectorRequest() noexcept;
13325
13326 virtual ~DropDataConnectorRequest() noexcept;
13327 std::string connectorName;
13328 bool ifNotExists;
13329 bool checkReferences;
13330
13332
13333 void __set_connectorName(const std::string& val);
13334
13335 void __set_ifNotExists(const bool val);
13336
13337 void __set_checkReferences(const bool val);
13338
13339 bool operator == (const DropDataConnectorRequest & rhs) const;
13340 bool operator != (const DropDataConnectorRequest &rhs) const {
13341 return !(*this == rhs);
13342 }
13343
13344 bool operator < (const DropDataConnectorRequest & ) const;
13345
13346 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13347 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13348
13349 virtual void printTo(std::ostream& out) const;
13350};
13351
13352void swap(DropDataConnectorRequest &a, DropDataConnectorRequest &b) noexcept;
13353
13354std::ostream& operator<<(std::ostream& out, const DropDataConnectorRequest& obj);
13355
13356
13357class ScheduledQueryPollRequest : public virtual ::apache::thrift::TBase {
13358 public:
13359
13362 ScheduledQueryPollRequest() noexcept;
13363
13364 virtual ~ScheduledQueryPollRequest() noexcept;
13365 std::string clusterNamespace;
13366
13367 void __set_clusterNamespace(const std::string& val);
13368
13369 bool operator == (const ScheduledQueryPollRequest & rhs) const;
13370 bool operator != (const ScheduledQueryPollRequest &rhs) const {
13371 return !(*this == rhs);
13372 }
13373
13374 bool operator < (const ScheduledQueryPollRequest & ) const;
13375
13376 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13377 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13378
13379 virtual void printTo(std::ostream& out) const;
13380};
13381
13382void swap(ScheduledQueryPollRequest &a, ScheduledQueryPollRequest &b) noexcept;
13383
13384std::ostream& operator<<(std::ostream& out, const ScheduledQueryPollRequest& obj);
13385
13386
13387class ScheduledQueryKey : public virtual ::apache::thrift::TBase {
13388 public:
13389
13391 ScheduledQueryKey& operator=(const ScheduledQueryKey&);
13392 ScheduledQueryKey() noexcept;
13393
13394 virtual ~ScheduledQueryKey() noexcept;
13395 std::string scheduleName;
13396 std::string clusterNamespace;
13397
13398 void __set_scheduleName(const std::string& val);
13399
13400 void __set_clusterNamespace(const std::string& val);
13401
13402 bool operator == (const ScheduledQueryKey & rhs) const;
13403 bool operator != (const ScheduledQueryKey &rhs) const {
13404 return !(*this == rhs);
13405 }
13406
13407 bool operator < (const ScheduledQueryKey & ) const;
13408
13409 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13410 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13411
13412 virtual void printTo(std::ostream& out) const;
13413};
13414
13415void swap(ScheduledQueryKey &a, ScheduledQueryKey &b) noexcept;
13416
13417std::ostream& operator<<(std::ostream& out, const ScheduledQueryKey& obj);
13418
13420 _ScheduledQueryPollResponse__isset() : scheduleKey(false), executionId(false), query(false), user(false) {}
13421 bool scheduleKey :1;
13422 bool executionId :1;
13423 bool query :1;
13424 bool user :1;
13426
13427class ScheduledQueryPollResponse : public virtual ::apache::thrift::TBase {
13428 public:
13429
13432 ScheduledQueryPollResponse() noexcept;
13433
13434 virtual ~ScheduledQueryPollResponse() noexcept;
13435 ScheduledQueryKey scheduleKey;
13436 int64_t executionId;
13437 std::string query;
13438 std::string user;
13439
13441
13442 void __set_scheduleKey(const ScheduledQueryKey& val);
13443
13444 void __set_executionId(const int64_t val);
13445
13446 void __set_query(const std::string& val);
13447
13448 void __set_user(const std::string& val);
13449
13450 bool operator == (const ScheduledQueryPollResponse & rhs) const;
13451 bool operator != (const ScheduledQueryPollResponse &rhs) const {
13452 return !(*this == rhs);
13453 }
13454
13455 bool operator < (const ScheduledQueryPollResponse & ) const;
13456
13457 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13458 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13459
13460 virtual void printTo(std::ostream& out) const;
13461};
13462
13464
13465std::ostream& operator<<(std::ostream& out, const ScheduledQueryPollResponse& obj);
13466
13468 _ScheduledQuery__isset() : enabled(false), schedule(false), user(false), query(false), nextExecution(false) {}
13469 bool enabled :1;
13470 bool schedule :1;
13471 bool user :1;
13472 bool query :1;
13473 bool nextExecution :1;
13475
13476class ScheduledQuery : public virtual ::apache::thrift::TBase {
13477 public:
13478
13480 ScheduledQuery& operator=(const ScheduledQuery&);
13481 ScheduledQuery() noexcept;
13482
13483 virtual ~ScheduledQuery() noexcept;
13484 ScheduledQueryKey scheduleKey;
13485 bool enabled;
13486 std::string schedule;
13487 std::string user;
13488 std::string query;
13489 int32_t nextExecution;
13490
13491 _ScheduledQuery__isset __isset;
13492
13493 void __set_scheduleKey(const ScheduledQueryKey& val);
13494
13495 void __set_enabled(const bool val);
13496
13497 void __set_schedule(const std::string& val);
13498
13499 void __set_user(const std::string& val);
13500
13501 void __set_query(const std::string& val);
13502
13503 void __set_nextExecution(const int32_t val);
13504
13505 bool operator == (const ScheduledQuery & rhs) const;
13506 bool operator != (const ScheduledQuery &rhs) const {
13507 return !(*this == rhs);
13508 }
13509
13510 bool operator < (const ScheduledQuery & ) const;
13511
13512 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13513 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13514
13515 virtual void printTo(std::ostream& out) const;
13516};
13517
13518void swap(ScheduledQuery &a, ScheduledQuery &b) noexcept;
13519
13520std::ostream& operator<<(std::ostream& out, const ScheduledQuery& obj);
13521
13522
13523class ScheduledQueryMaintenanceRequest : public virtual ::apache::thrift::TBase {
13524 public:
13525
13529
13530 virtual ~ScheduledQueryMaintenanceRequest() noexcept;
13535 ScheduledQueryMaintenanceRequestType::type type;
13536 ScheduledQuery scheduledQuery;
13537
13538 void __set_type(const ScheduledQueryMaintenanceRequestType::type val);
13539
13540 void __set_scheduledQuery(const ScheduledQuery& val);
13541
13542 bool operator == (const ScheduledQueryMaintenanceRequest & rhs) const;
13543 bool operator != (const ScheduledQueryMaintenanceRequest &rhs) const {
13544 return !(*this == rhs);
13545 }
13546
13547 bool operator < (const ScheduledQueryMaintenanceRequest & ) const;
13548
13549 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13550 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13551
13552 virtual void printTo(std::ostream& out) const;
13553};
13554
13555void swap(ScheduledQueryMaintenanceRequest &a, ScheduledQueryMaintenanceRequest &b) noexcept;
13556
13557std::ostream& operator<<(std::ostream& out, const ScheduledQueryMaintenanceRequest& obj);
13558
13560 _ScheduledQueryProgressInfo__isset() : errorMessage(false) {}
13561 bool errorMessage :1;
13563
13564class ScheduledQueryProgressInfo : public virtual ::apache::thrift::TBase {
13565 public:
13566
13569 ScheduledQueryProgressInfo() noexcept;
13570
13571 virtual ~ScheduledQueryProgressInfo() noexcept;
13572 int64_t scheduledExecutionId;
13577 QueryState::type state;
13578 std::string executorQueryId;
13579 std::string errorMessage;
13580
13582
13583 void __set_scheduledExecutionId(const int64_t val);
13584
13585 void __set_state(const QueryState::type val);
13586
13587 void __set_executorQueryId(const std::string& val);
13588
13589 void __set_errorMessage(const std::string& val);
13590
13591 bool operator == (const ScheduledQueryProgressInfo & rhs) const;
13592 bool operator != (const ScheduledQueryProgressInfo &rhs) const {
13593 return !(*this == rhs);
13594 }
13595
13596 bool operator < (const ScheduledQueryProgressInfo & ) const;
13597
13598 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13599 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13600
13601 virtual void printTo(std::ostream& out) const;
13602};
13603
13604void swap(ScheduledQueryProgressInfo &a, ScheduledQueryProgressInfo &b) noexcept;
13605
13606std::ostream& operator<<(std::ostream& out, const ScheduledQueryProgressInfo& obj);
13607
13609 _AlterPartitionsRequest__isset() : catName(false), environmentContext(false), writeId(true), validWriteIdList(false), skipColumnSchemaForPartition(false), partitionColSchema(false) {}
13610 bool catName :1;
13611 bool environmentContext :1;
13612 bool writeId :1;
13613 bool validWriteIdList :1;
13614 bool skipColumnSchemaForPartition :1;
13615 bool partitionColSchema :1;
13617
13618class AlterPartitionsRequest : public virtual ::apache::thrift::TBase {
13619 public:
13620
13623 AlterPartitionsRequest() noexcept;
13624
13625 virtual ~AlterPartitionsRequest() noexcept;
13626 std::string catName;
13627 std::string dbName;
13628 std::string tableName;
13629 std::vector<Partition> partitions;
13630 EnvironmentContext environmentContext;
13631 int64_t writeId;
13632 std::string validWriteIdList;
13633 bool skipColumnSchemaForPartition;
13634 std::vector<FieldSchema> partitionColSchema;
13635
13637
13638 void __set_catName(const std::string& val);
13639
13640 void __set_dbName(const std::string& val);
13641
13642 void __set_tableName(const std::string& val);
13643
13644 void __set_partitions(const std::vector<Partition> & val);
13645
13646 void __set_environmentContext(const EnvironmentContext& val);
13647
13648 void __set_writeId(const int64_t val);
13649
13650 void __set_validWriteIdList(const std::string& val);
13651
13652 void __set_skipColumnSchemaForPartition(const bool val);
13653
13654 void __set_partitionColSchema(const std::vector<FieldSchema> & val);
13655
13656 bool operator == (const AlterPartitionsRequest & rhs) const;
13657 bool operator != (const AlterPartitionsRequest &rhs) const {
13658 return !(*this == rhs);
13659 }
13660
13661 bool operator < (const AlterPartitionsRequest & ) const;
13662
13663 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13664 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13665
13666 virtual void printTo(std::ostream& out) const;
13667};
13668
13669void swap(AlterPartitionsRequest &a, AlterPartitionsRequest &b) noexcept;
13670
13671std::ostream& operator<<(std::ostream& out, const AlterPartitionsRequest& obj);
13672
13674 _AppendPartitionsRequest__isset() : catalogName(false), name(false), partVals(false), environmentContext(false) {}
13675 bool catalogName :1;
13676 bool name :1;
13677 bool partVals :1;
13678 bool environmentContext :1;
13680
13681class AppendPartitionsRequest : public virtual ::apache::thrift::TBase {
13682 public:
13683
13686 AppendPartitionsRequest() noexcept;
13687
13688 virtual ~AppendPartitionsRequest() noexcept;
13689 std::string catalogName;
13690 std::string dbName;
13691 std::string tableName;
13692 std::string name;
13693 std::vector<std::string> partVals;
13694 EnvironmentContext environmentContext;
13695
13697
13698 void __set_catalogName(const std::string& val);
13699
13700 void __set_dbName(const std::string& val);
13701
13702 void __set_tableName(const std::string& val);
13703
13704 void __set_name(const std::string& val);
13705
13706 void __set_partVals(const std::vector<std::string> & val);
13707
13708 void __set_environmentContext(const EnvironmentContext& val);
13709
13710 bool operator == (const AppendPartitionsRequest & rhs) const;
13711 bool operator != (const AppendPartitionsRequest &rhs) const {
13712 return !(*this == rhs);
13713 }
13714
13715 bool operator < (const AppendPartitionsRequest & ) const;
13716
13717 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13718 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13719
13720 virtual void printTo(std::ostream& out) const;
13721};
13722
13723void swap(AppendPartitionsRequest &a, AppendPartitionsRequest &b) noexcept;
13724
13725std::ostream& operator<<(std::ostream& out, const AppendPartitionsRequest& obj);
13726
13727
13728class AlterPartitionsResponse : public virtual ::apache::thrift::TBase {
13729 public:
13730
13732 AlterPartitionsResponse& operator=(const AlterPartitionsResponse&) noexcept;
13733 AlterPartitionsResponse() noexcept;
13734
13735 virtual ~AlterPartitionsResponse() noexcept;
13736
13737 bool operator == (const AlterPartitionsResponse & /* rhs */) const;
13738 bool operator != (const AlterPartitionsResponse &rhs) const {
13739 return !(*this == rhs);
13740 }
13741
13742 bool operator < (const AlterPartitionsResponse & ) const;
13743
13744 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13745 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13746
13747 virtual void printTo(std::ostream& out) const;
13748};
13749
13750void swap(AlterPartitionsResponse &a, AlterPartitionsResponse &b) noexcept;
13751
13752std::ostream& operator<<(std::ostream& out, const AlterPartitionsResponse& obj);
13753
13755 _RenamePartitionRequest__isset() : catName(false), validWriteIdList(false), txnId(false), clonePart(false) {}
13756 bool catName :1;
13757 bool validWriteIdList :1;
13758 bool txnId :1;
13759 bool clonePart :1;
13761
13762class RenamePartitionRequest : public virtual ::apache::thrift::TBase {
13763 public:
13764
13767 RenamePartitionRequest() noexcept;
13768
13769 virtual ~RenamePartitionRequest() noexcept;
13770 std::string catName;
13771 std::string dbName;
13772 std::string tableName;
13773 std::vector<std::string> partVals;
13774 Partition newPart;
13775 std::string validWriteIdList;
13776 int64_t txnId;
13777 bool clonePart;
13778
13780
13781 void __set_catName(const std::string& val);
13782
13783 void __set_dbName(const std::string& val);
13784
13785 void __set_tableName(const std::string& val);
13786
13787 void __set_partVals(const std::vector<std::string> & val);
13788
13789 void __set_newPart(const Partition& val);
13790
13791 void __set_validWriteIdList(const std::string& val);
13792
13793 void __set_txnId(const int64_t val);
13794
13795 void __set_clonePart(const bool val);
13796
13797 bool operator == (const RenamePartitionRequest & rhs) const;
13798 bool operator != (const RenamePartitionRequest &rhs) const {
13799 return !(*this == rhs);
13800 }
13801
13802 bool operator < (const RenamePartitionRequest & ) const;
13803
13804 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13805 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13806
13807 virtual void printTo(std::ostream& out) const;
13808};
13809
13810void swap(RenamePartitionRequest &a, RenamePartitionRequest &b) noexcept;
13811
13812std::ostream& operator<<(std::ostream& out, const RenamePartitionRequest& obj);
13813
13814
13815class RenamePartitionResponse : public virtual ::apache::thrift::TBase {
13816 public:
13817
13819 RenamePartitionResponse& operator=(const RenamePartitionResponse&) noexcept;
13820 RenamePartitionResponse() noexcept;
13821
13822 virtual ~RenamePartitionResponse() noexcept;
13823
13824 bool operator == (const RenamePartitionResponse & /* rhs */) const;
13825 bool operator != (const RenamePartitionResponse &rhs) const {
13826 return !(*this == rhs);
13827 }
13828
13829 bool operator < (const RenamePartitionResponse & ) const;
13830
13831 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13832 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13833
13834 virtual void printTo(std::ostream& out) const;
13835};
13836
13837void swap(RenamePartitionResponse &a, RenamePartitionResponse &b) noexcept;
13838
13839std::ostream& operator<<(std::ostream& out, const RenamePartitionResponse& obj);
13840
13842 _AlterTableRequest__isset() : catName(false), environmentContext(false), writeId(true), validWriteIdList(false), processorCapabilities(false), processorIdentifier(false), expectedParameterKey(false), expectedParameterValue(false) {}
13843 bool catName :1;
13844 bool environmentContext :1;
13845 bool writeId :1;
13846 bool validWriteIdList :1;
13847 bool processorCapabilities :1;
13848 bool processorIdentifier :1;
13849 bool expectedParameterKey :1;
13850 bool expectedParameterValue :1;
13852
13853class AlterTableRequest : public virtual ::apache::thrift::TBase {
13854 public:
13855
13857 AlterTableRequest& operator=(const AlterTableRequest&);
13858 AlterTableRequest() noexcept;
13859
13860 virtual ~AlterTableRequest() noexcept;
13861 std::string catName;
13862 std::string dbName;
13863 std::string tableName;
13864 Table table;
13865 EnvironmentContext environmentContext;
13866 int64_t writeId;
13867 std::string validWriteIdList;
13868 std::vector<std::string> processorCapabilities;
13869 std::string processorIdentifier;
13870 std::string expectedParameterKey;
13871 std::string expectedParameterValue;
13872
13874
13875 void __set_catName(const std::string& val);
13876
13877 void __set_dbName(const std::string& val);
13878
13879 void __set_tableName(const std::string& val);
13880
13881 void __set_table(const Table& val);
13882
13883 void __set_environmentContext(const EnvironmentContext& val);
13884
13885 void __set_writeId(const int64_t val);
13886
13887 void __set_validWriteIdList(const std::string& val);
13888
13889 void __set_processorCapabilities(const std::vector<std::string> & val);
13890
13891 void __set_processorIdentifier(const std::string& val);
13892
13893 void __set_expectedParameterKey(const std::string& val);
13894
13895 void __set_expectedParameterValue(const std::string& val);
13896
13897 bool operator == (const AlterTableRequest & rhs) const;
13898 bool operator != (const AlterTableRequest &rhs) const {
13899 return !(*this == rhs);
13900 }
13901
13902 bool operator < (const AlterTableRequest & ) const;
13903
13904 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13905 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13906
13907 virtual void printTo(std::ostream& out) const;
13908};
13909
13910void swap(AlterTableRequest &a, AlterTableRequest &b) noexcept;
13911
13912std::ostream& operator<<(std::ostream& out, const AlterTableRequest& obj);
13913
13914
13915class AlterTableResponse : public virtual ::apache::thrift::TBase {
13916 public:
13917
13918 AlterTableResponse(const AlterTableResponse&) noexcept;
13919 AlterTableResponse& operator=(const AlterTableResponse&) noexcept;
13920 AlterTableResponse() noexcept;
13921
13922 virtual ~AlterTableResponse() noexcept;
13923
13924 bool operator == (const AlterTableResponse & /* rhs */) const;
13925 bool operator != (const AlterTableResponse &rhs) const {
13926 return !(*this == rhs);
13927 }
13928
13929 bool operator < (const AlterTableResponse & ) const;
13930
13931 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13932 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13933
13934 virtual void printTo(std::ostream& out) const;
13935};
13936
13937void swap(AlterTableResponse &a, AlterTableResponse &b) noexcept;
13938
13939std::ostream& operator<<(std::ostream& out, const AlterTableResponse& obj);
13940
13942 _GetPartitionsFilterSpec__isset() : filterMode(false), filters(false) {}
13943 bool filterMode :1;
13944 bool filters :1;
13946
13947class GetPartitionsFilterSpec : public virtual ::apache::thrift::TBase {
13948 public:
13949
13952 GetPartitionsFilterSpec() noexcept;
13953
13954 virtual ~GetPartitionsFilterSpec() noexcept;
13959 PartitionFilterMode::type filterMode;
13960 std::vector<std::string> filters;
13961
13963
13964 void __set_filterMode(const PartitionFilterMode::type val);
13965
13966 void __set_filters(const std::vector<std::string> & val);
13967
13968 bool operator == (const GetPartitionsFilterSpec & rhs) const;
13969 bool operator != (const GetPartitionsFilterSpec &rhs) const {
13970 return !(*this == rhs);
13971 }
13972
13973 bool operator < (const GetPartitionsFilterSpec & ) const;
13974
13975 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
13976 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
13977
13978 virtual void printTo(std::ostream& out) const;
13979};
13980
13981void swap(GetPartitionsFilterSpec &a, GetPartitionsFilterSpec &b) noexcept;
13982
13983std::ostream& operator<<(std::ostream& out, const GetPartitionsFilterSpec& obj);
13984
13986 _GetPartitionsResponse__isset() : partitionSpec(false) {}
13987 bool partitionSpec :1;
13989
13990class GetPartitionsResponse : public virtual ::apache::thrift::TBase {
13991 public:
13992
13995 GetPartitionsResponse() noexcept;
13996
13997 virtual ~GetPartitionsResponse() noexcept;
13998 std::vector<PartitionSpec> partitionSpec;
13999
14001
14002 void __set_partitionSpec(const std::vector<PartitionSpec> & val);
14003
14004 bool operator == (const GetPartitionsResponse & rhs) const;
14005 bool operator != (const GetPartitionsResponse &rhs) const {
14006 return !(*this == rhs);
14007 }
14008
14009 bool operator < (const GetPartitionsResponse & ) const;
14010
14011 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14012 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14013
14014 virtual void printTo(std::ostream& out) const;
14015};
14016
14017void swap(GetPartitionsResponse &a, GetPartitionsResponse &b) noexcept;
14018
14019std::ostream& operator<<(std::ostream& out, const GetPartitionsResponse& obj);
14020
14022 _GetPartitionsRequest__isset() : catName(false), dbName(false), tblName(false), withAuth(false), user(false), groupNames(false), projectionSpec(false), filterSpec(false), processorCapabilities(false), processorIdentifier(false), validWriteIdList(false) {}
14023 bool catName :1;
14024 bool dbName :1;
14025 bool tblName :1;
14026 bool withAuth :1;
14027 bool user :1;
14028 bool groupNames :1;
14029 bool projectionSpec :1;
14030 bool filterSpec :1;
14031 bool processorCapabilities :1;
14032 bool processorIdentifier :1;
14033 bool validWriteIdList :1;
14035
14036class GetPartitionsRequest : public virtual ::apache::thrift::TBase {
14037 public:
14038
14040 GetPartitionsRequest& operator=(const GetPartitionsRequest&);
14041 GetPartitionsRequest() noexcept;
14042
14043 virtual ~GetPartitionsRequest() noexcept;
14044 std::string catName;
14045 std::string dbName;
14046 std::string tblName;
14047 bool withAuth;
14048 std::string user;
14049 std::vector<std::string> groupNames;
14050 GetProjectionsSpec projectionSpec;
14051 GetPartitionsFilterSpec filterSpec;
14052 std::vector<std::string> processorCapabilities;
14053 std::string processorIdentifier;
14054 std::string validWriteIdList;
14055
14057
14058 void __set_catName(const std::string& val);
14059
14060 void __set_dbName(const std::string& val);
14061
14062 void __set_tblName(const std::string& val);
14063
14064 void __set_withAuth(const bool val);
14065
14066 void __set_user(const std::string& val);
14067
14068 void __set_groupNames(const std::vector<std::string> & val);
14069
14070 void __set_projectionSpec(const GetProjectionsSpec& val);
14071
14072 void __set_filterSpec(const GetPartitionsFilterSpec& val);
14073
14074 void __set_processorCapabilities(const std::vector<std::string> & val);
14075
14076 void __set_processorIdentifier(const std::string& val);
14077
14078 void __set_validWriteIdList(const std::string& val);
14079
14080 bool operator == (const GetPartitionsRequest & rhs) const;
14081 bool operator != (const GetPartitionsRequest &rhs) const {
14082 return !(*this == rhs);
14083 }
14084
14085 bool operator < (const GetPartitionsRequest & ) const;
14086
14087 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14088 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14089
14090 virtual void printTo(std::ostream& out) const;
14091};
14092
14093void swap(GetPartitionsRequest &a, GetPartitionsRequest &b) noexcept;
14094
14095std::ostream& operator<<(std::ostream& out, const GetPartitionsRequest& obj);
14096
14098 _GetFieldsRequest__isset() : catName(false), envContext(false), validWriteIdList(false), id(true) {}
14099 bool catName :1;
14100 bool envContext :1;
14101 bool validWriteIdList :1;
14102 bool id :1;
14104
14105class GetFieldsRequest : public virtual ::apache::thrift::TBase {
14106 public:
14107
14109 GetFieldsRequest& operator=(const GetFieldsRequest&);
14110 GetFieldsRequest() noexcept;
14111
14112 virtual ~GetFieldsRequest() noexcept;
14113 std::string catName;
14114 std::string dbName;
14115 std::string tblName;
14116 EnvironmentContext envContext;
14117 std::string validWriteIdList;
14118 int64_t id;
14119
14121
14122 void __set_catName(const std::string& val);
14123
14124 void __set_dbName(const std::string& val);
14125
14126 void __set_tblName(const std::string& val);
14127
14128 void __set_envContext(const EnvironmentContext& val);
14129
14130 void __set_validWriteIdList(const std::string& val);
14131
14132 void __set_id(const int64_t val);
14133
14134 bool operator == (const GetFieldsRequest & rhs) const;
14135 bool operator != (const GetFieldsRequest &rhs) const {
14136 return !(*this == rhs);
14137 }
14138
14139 bool operator < (const GetFieldsRequest & ) const;
14140
14141 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14142 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14143
14144 virtual void printTo(std::ostream& out) const;
14145};
14146
14147void swap(GetFieldsRequest &a, GetFieldsRequest &b) noexcept;
14148
14149std::ostream& operator<<(std::ostream& out, const GetFieldsRequest& obj);
14150
14151
14152class GetFieldsResponse : public virtual ::apache::thrift::TBase {
14153 public:
14154
14156 GetFieldsResponse& operator=(const GetFieldsResponse&);
14157 GetFieldsResponse() noexcept;
14158
14159 virtual ~GetFieldsResponse() noexcept;
14160 std::vector<FieldSchema> fields;
14161
14162 void __set_fields(const std::vector<FieldSchema> & val);
14163
14164 bool operator == (const GetFieldsResponse & rhs) const;
14165 bool operator != (const GetFieldsResponse &rhs) const {
14166 return !(*this == rhs);
14167 }
14168
14169 bool operator < (const GetFieldsResponse & ) const;
14170
14171 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14172 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14173
14174 virtual void printTo(std::ostream& out) const;
14175};
14176
14177void swap(GetFieldsResponse &a, GetFieldsResponse &b) noexcept;
14178
14179std::ostream& operator<<(std::ostream& out, const GetFieldsResponse& obj);
14180
14182 _GetSchemaRequest__isset() : catName(false), envContext(false), validWriteIdList(false), id(true) {}
14183 bool catName :1;
14184 bool envContext :1;
14185 bool validWriteIdList :1;
14186 bool id :1;
14188
14189class GetSchemaRequest : public virtual ::apache::thrift::TBase {
14190 public:
14191
14193 GetSchemaRequest& operator=(const GetSchemaRequest&);
14194 GetSchemaRequest() noexcept;
14195
14196 virtual ~GetSchemaRequest() noexcept;
14197 std::string catName;
14198 std::string dbName;
14199 std::string tblName;
14200 EnvironmentContext envContext;
14201 std::string validWriteIdList;
14202 int64_t id;
14203
14205
14206 void __set_catName(const std::string& val);
14207
14208 void __set_dbName(const std::string& val);
14209
14210 void __set_tblName(const std::string& val);
14211
14212 void __set_envContext(const EnvironmentContext& val);
14213
14214 void __set_validWriteIdList(const std::string& val);
14215
14216 void __set_id(const int64_t val);
14217
14218 bool operator == (const GetSchemaRequest & rhs) const;
14219 bool operator != (const GetSchemaRequest &rhs) const {
14220 return !(*this == rhs);
14221 }
14222
14223 bool operator < (const GetSchemaRequest & ) const;
14224
14225 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14226 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14227
14228 virtual void printTo(std::ostream& out) const;
14229};
14230
14231void swap(GetSchemaRequest &a, GetSchemaRequest &b) noexcept;
14232
14233std::ostream& operator<<(std::ostream& out, const GetSchemaRequest& obj);
14234
14235
14236class GetSchemaResponse : public virtual ::apache::thrift::TBase {
14237 public:
14238
14240 GetSchemaResponse& operator=(const GetSchemaResponse&);
14241 GetSchemaResponse() noexcept;
14242
14243 virtual ~GetSchemaResponse() noexcept;
14244 std::vector<FieldSchema> fields;
14245
14246 void __set_fields(const std::vector<FieldSchema> & val);
14247
14248 bool operator == (const GetSchemaResponse & rhs) const;
14249 bool operator != (const GetSchemaResponse &rhs) const {
14250 return !(*this == rhs);
14251 }
14252
14253 bool operator < (const GetSchemaResponse & ) const;
14254
14255 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14256 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14257
14258 virtual void printTo(std::ostream& out) const;
14259};
14260
14261void swap(GetSchemaResponse &a, GetSchemaResponse &b) noexcept;
14262
14263std::ostream& operator<<(std::ostream& out, const GetSchemaResponse& obj);
14264
14266 _GetPartitionRequest__isset() : catName(false), validWriteIdList(false), id(true) {}
14267 bool catName :1;
14268 bool validWriteIdList :1;
14269 bool id :1;
14271
14272class GetPartitionRequest : public virtual ::apache::thrift::TBase {
14273 public:
14274
14276 GetPartitionRequest& operator=(const GetPartitionRequest&);
14277 GetPartitionRequest() noexcept;
14278
14279 virtual ~GetPartitionRequest() noexcept;
14280 std::string catName;
14281 std::string dbName;
14282 std::string tblName;
14283 std::vector<std::string> partVals;
14284 std::string validWriteIdList;
14285 int64_t id;
14286
14288
14289 void __set_catName(const std::string& val);
14290
14291 void __set_dbName(const std::string& val);
14292
14293 void __set_tblName(const std::string& val);
14294
14295 void __set_partVals(const std::vector<std::string> & val);
14296
14297 void __set_validWriteIdList(const std::string& val);
14298
14299 void __set_id(const int64_t val);
14300
14301 bool operator == (const GetPartitionRequest & rhs) const;
14302 bool operator != (const GetPartitionRequest &rhs) const {
14303 return !(*this == rhs);
14304 }
14305
14306 bool operator < (const GetPartitionRequest & ) const;
14307
14308 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14309 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14310
14311 virtual void printTo(std::ostream& out) const;
14312};
14313
14314void swap(GetPartitionRequest &a, GetPartitionRequest &b) noexcept;
14315
14316std::ostream& operator<<(std::ostream& out, const GetPartitionRequest& obj);
14317
14318
14319class GetPartitionResponse : public virtual ::apache::thrift::TBase {
14320 public:
14321
14323 GetPartitionResponse& operator=(const GetPartitionResponse&);
14324 GetPartitionResponse() noexcept;
14325
14326 virtual ~GetPartitionResponse() noexcept;
14327 Partition partition;
14328
14329 void __set_partition(const Partition& val);
14330
14331 bool operator == (const GetPartitionResponse & rhs) const;
14332 bool operator != (const GetPartitionResponse &rhs) const {
14333 return !(*this == rhs);
14334 }
14335
14336 bool operator < (const GetPartitionResponse & ) const;
14337
14338 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14339 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14340
14341 virtual void printTo(std::ostream& out) const;
14342};
14343
14344void swap(GetPartitionResponse &a, GetPartitionResponse &b) noexcept;
14345
14346std::ostream& operator<<(std::ostream& out, const GetPartitionResponse& obj);
14347
14349 _PartitionsRequest__isset() : catName(false), maxParts(true), validWriteIdList(false), id(true), skipColumnSchemaForPartition(false), includeParamKeyPattern(false), excludeParamKeyPattern(false) {}
14350 bool catName :1;
14351 bool maxParts :1;
14352 bool validWriteIdList :1;
14353 bool id :1;
14354 bool skipColumnSchemaForPartition :1;
14355 bool includeParamKeyPattern :1;
14356 bool excludeParamKeyPattern :1;
14358
14359class PartitionsRequest : public virtual ::apache::thrift::TBase {
14360 public:
14361
14363 PartitionsRequest& operator=(const PartitionsRequest&);
14364 PartitionsRequest() noexcept;
14365
14366 virtual ~PartitionsRequest() noexcept;
14367 std::string catName;
14368 std::string dbName;
14369 std::string tblName;
14370 int16_t maxParts;
14371 std::string validWriteIdList;
14372 int64_t id;
14373 bool skipColumnSchemaForPartition;
14374 std::string includeParamKeyPattern;
14375 std::string excludeParamKeyPattern;
14376
14378
14379 void __set_catName(const std::string& val);
14380
14381 void __set_dbName(const std::string& val);
14382
14383 void __set_tblName(const std::string& val);
14384
14385 void __set_maxParts(const int16_t val);
14386
14387 void __set_validWriteIdList(const std::string& val);
14388
14389 void __set_id(const int64_t val);
14390
14391 void __set_skipColumnSchemaForPartition(const bool val);
14392
14393 void __set_includeParamKeyPattern(const std::string& val);
14394
14395 void __set_excludeParamKeyPattern(const std::string& val);
14396
14397 bool operator == (const PartitionsRequest & rhs) const;
14398 bool operator != (const PartitionsRequest &rhs) const {
14399 return !(*this == rhs);
14400 }
14401
14402 bool operator < (const PartitionsRequest & ) const;
14403
14404 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14405 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14406
14407 virtual void printTo(std::ostream& out) const;
14408};
14409
14410void swap(PartitionsRequest &a, PartitionsRequest &b) noexcept;
14411
14412std::ostream& operator<<(std::ostream& out, const PartitionsRequest& obj);
14413
14414
14415class PartitionsResponse : public virtual ::apache::thrift::TBase {
14416 public:
14417
14419 PartitionsResponse& operator=(const PartitionsResponse&);
14420 PartitionsResponse() noexcept;
14421
14422 virtual ~PartitionsResponse() noexcept;
14423 std::vector<Partition> partitions;
14424
14425 void __set_partitions(const std::vector<Partition> & val);
14426
14427 bool operator == (const PartitionsResponse & rhs) const;
14428 bool operator != (const PartitionsResponse &rhs) const {
14429 return !(*this == rhs);
14430 }
14431
14432 bool operator < (const PartitionsResponse & ) const;
14433
14434 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14435 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14436
14437 virtual void printTo(std::ostream& out) const;
14438};
14439
14440void swap(PartitionsResponse &a, PartitionsResponse &b) noexcept;
14441
14442std::ostream& operator<<(std::ostream& out, const PartitionsResponse& obj);
14443
14445 _GetPartitionsByFilterRequest__isset() : catName(false), dbName(false), tblName(false), filter(false), maxParts(true), skipColumnSchemaForPartition(false), includeParamKeyPattern(false), excludeParamKeyPattern(false) {}
14446 bool catName :1;
14447 bool dbName :1;
14448 bool tblName :1;
14449 bool filter :1;
14450 bool maxParts :1;
14451 bool skipColumnSchemaForPartition :1;
14452 bool includeParamKeyPattern :1;
14453 bool excludeParamKeyPattern :1;
14455
14456class GetPartitionsByFilterRequest : public virtual ::apache::thrift::TBase {
14457 public:
14458
14462
14463 virtual ~GetPartitionsByFilterRequest() noexcept;
14464 std::string catName;
14465 std::string dbName;
14466 std::string tblName;
14467 std::string filter;
14468 int16_t maxParts;
14469 bool skipColumnSchemaForPartition;
14470 std::string includeParamKeyPattern;
14471 std::string excludeParamKeyPattern;
14472
14474
14475 void __set_catName(const std::string& val);
14476
14477 void __set_dbName(const std::string& val);
14478
14479 void __set_tblName(const std::string& val);
14480
14481 void __set_filter(const std::string& val);
14482
14483 void __set_maxParts(const int16_t val);
14484
14485 void __set_skipColumnSchemaForPartition(const bool val);
14486
14487 void __set_includeParamKeyPattern(const std::string& val);
14488
14489 void __set_excludeParamKeyPattern(const std::string& val);
14490
14491 bool operator == (const GetPartitionsByFilterRequest & rhs) const;
14492 bool operator != (const GetPartitionsByFilterRequest &rhs) const {
14493 return !(*this == rhs);
14494 }
14495
14496 bool operator < (const GetPartitionsByFilterRequest & ) const;
14497
14498 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14499 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14500
14501 virtual void printTo(std::ostream& out) const;
14502};
14503
14505
14506std::ostream& operator<<(std::ostream& out, const GetPartitionsByFilterRequest& obj);
14507
14509 _GetPartitionNamesPsRequest__isset() : catName(false), partValues(false), maxParts(true), validWriteIdList(false), id(true) {}
14510 bool catName :1;
14511 bool partValues :1;
14512 bool maxParts :1;
14513 bool validWriteIdList :1;
14514 bool id :1;
14516
14517class GetPartitionNamesPsRequest : public virtual ::apache::thrift::TBase {
14518 public:
14519
14522 GetPartitionNamesPsRequest() noexcept;
14523
14524 virtual ~GetPartitionNamesPsRequest() noexcept;
14525 std::string catName;
14526 std::string dbName;
14527 std::string tblName;
14528 std::vector<std::string> partValues;
14529 int16_t maxParts;
14530 std::string validWriteIdList;
14531 int64_t id;
14532
14534
14535 void __set_catName(const std::string& val);
14536
14537 void __set_dbName(const std::string& val);
14538
14539 void __set_tblName(const std::string& val);
14540
14541 void __set_partValues(const std::vector<std::string> & val);
14542
14543 void __set_maxParts(const int16_t val);
14544
14545 void __set_validWriteIdList(const std::string& val);
14546
14547 void __set_id(const int64_t val);
14548
14549 bool operator == (const GetPartitionNamesPsRequest & rhs) const;
14550 bool operator != (const GetPartitionNamesPsRequest &rhs) const {
14551 return !(*this == rhs);
14552 }
14553
14554 bool operator < (const GetPartitionNamesPsRequest & ) const;
14555
14556 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14557 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14558
14559 virtual void printTo(std::ostream& out) const;
14560};
14561
14563
14564std::ostream& operator<<(std::ostream& out, const GetPartitionNamesPsRequest& obj);
14565
14566
14567class GetPartitionNamesPsResponse : public virtual ::apache::thrift::TBase {
14568 public:
14569
14572 GetPartitionNamesPsResponse() noexcept;
14573
14574 virtual ~GetPartitionNamesPsResponse() noexcept;
14575 std::vector<std::string> names;
14576
14577 void __set_names(const std::vector<std::string> & val);
14578
14579 bool operator == (const GetPartitionNamesPsResponse & rhs) const;
14580 bool operator != (const GetPartitionNamesPsResponse &rhs) const {
14581 return !(*this == rhs);
14582 }
14583
14584 bool operator < (const GetPartitionNamesPsResponse & ) const;
14585
14586 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14587 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14588
14589 virtual void printTo(std::ostream& out) const;
14590};
14591
14593
14594std::ostream& operator<<(std::ostream& out, const GetPartitionNamesPsResponse& obj);
14595
14597 _GetPartitionsPsWithAuthRequest__isset() : catName(false), partVals(false), maxParts(true), userName(false), groupNames(false), validWriteIdList(false), id(true), skipColumnSchemaForPartition(false), includeParamKeyPattern(false), excludeParamKeyPattern(false), partNames(false) {}
14598 bool catName :1;
14599 bool partVals :1;
14600 bool maxParts :1;
14601 bool userName :1;
14602 bool groupNames :1;
14603 bool validWriteIdList :1;
14604 bool id :1;
14605 bool skipColumnSchemaForPartition :1;
14606 bool includeParamKeyPattern :1;
14607 bool excludeParamKeyPattern :1;
14608 bool partNames :1;
14610
14611class GetPartitionsPsWithAuthRequest : public virtual ::apache::thrift::TBase {
14612 public:
14613
14617
14618 virtual ~GetPartitionsPsWithAuthRequest() noexcept;
14619 std::string catName;
14620 std::string dbName;
14621 std::string tblName;
14622 std::vector<std::string> partVals;
14623 int16_t maxParts;
14624 std::string userName;
14625 std::vector<std::string> groupNames;
14626 std::string validWriteIdList;
14627 int64_t id;
14628 bool skipColumnSchemaForPartition;
14629 std::string includeParamKeyPattern;
14630 std::string excludeParamKeyPattern;
14631 std::vector<std::string> partNames;
14632
14634
14635 void __set_catName(const std::string& val);
14636
14637 void __set_dbName(const std::string& val);
14638
14639 void __set_tblName(const std::string& val);
14640
14641 void __set_partVals(const std::vector<std::string> & val);
14642
14643 void __set_maxParts(const int16_t val);
14644
14645 void __set_userName(const std::string& val);
14646
14647 void __set_groupNames(const std::vector<std::string> & val);
14648
14649 void __set_validWriteIdList(const std::string& val);
14650
14651 void __set_id(const int64_t val);
14652
14653 void __set_skipColumnSchemaForPartition(const bool val);
14654
14655 void __set_includeParamKeyPattern(const std::string& val);
14656
14657 void __set_excludeParamKeyPattern(const std::string& val);
14658
14659 void __set_partNames(const std::vector<std::string> & val);
14660
14661 bool operator == (const GetPartitionsPsWithAuthRequest & rhs) const;
14662 bool operator != (const GetPartitionsPsWithAuthRequest &rhs) const {
14663 return !(*this == rhs);
14664 }
14665
14666 bool operator < (const GetPartitionsPsWithAuthRequest & ) const;
14667
14668 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14669 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14670
14671 virtual void printTo(std::ostream& out) const;
14672};
14673
14675
14676std::ostream& operator<<(std::ostream& out, const GetPartitionsPsWithAuthRequest& obj);
14677
14678
14679class GetPartitionsPsWithAuthResponse : public virtual ::apache::thrift::TBase {
14680 public:
14681
14685
14686 virtual ~GetPartitionsPsWithAuthResponse() noexcept;
14687 std::vector<Partition> partitions;
14688
14689 void __set_partitions(const std::vector<Partition> & val);
14690
14691 bool operator == (const GetPartitionsPsWithAuthResponse & rhs) const;
14692 bool operator != (const GetPartitionsPsWithAuthResponse &rhs) const {
14693 return !(*this == rhs);
14694 }
14695
14696 bool operator < (const GetPartitionsPsWithAuthResponse & ) const;
14697
14698 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14699 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14700
14701 virtual void printTo(std::ostream& out) const;
14702};
14703
14705
14706std::ostream& operator<<(std::ostream& out, const GetPartitionsPsWithAuthResponse& obj);
14707
14709 _ReplicationMetrics__isset() : metadata(false), progress(false), messageFormat(false) {}
14710 bool metadata :1;
14711 bool progress :1;
14712 bool messageFormat :1;
14714
14715class ReplicationMetrics : public virtual ::apache::thrift::TBase {
14716 public:
14717
14719 ReplicationMetrics& operator=(const ReplicationMetrics&);
14720 ReplicationMetrics() noexcept;
14721
14722 virtual ~ReplicationMetrics() noexcept;
14723 int64_t scheduledExecutionId;
14724 std::string policy;
14725 int64_t dumpExecutionId;
14726 std::string metadata;
14727 std::string progress;
14728 std::string messageFormat;
14729
14731
14732 void __set_scheduledExecutionId(const int64_t val);
14733
14734 void __set_policy(const std::string& val);
14735
14736 void __set_dumpExecutionId(const int64_t val);
14737
14738 void __set_metadata(const std::string& val);
14739
14740 void __set_progress(const std::string& val);
14741
14742 void __set_messageFormat(const std::string& val);
14743
14744 bool operator == (const ReplicationMetrics & rhs) const;
14745 bool operator != (const ReplicationMetrics &rhs) const {
14746 return !(*this == rhs);
14747 }
14748
14749 bool operator < (const ReplicationMetrics & ) const;
14750
14751 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14752 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14753
14754 virtual void printTo(std::ostream& out) const;
14755};
14756
14757void swap(ReplicationMetrics &a, ReplicationMetrics &b) noexcept;
14758
14759std::ostream& operator<<(std::ostream& out, const ReplicationMetrics& obj);
14760
14761
14762class ReplicationMetricList : public virtual ::apache::thrift::TBase {
14763 public:
14764
14767 ReplicationMetricList() noexcept;
14768
14769 virtual ~ReplicationMetricList() noexcept;
14770 std::vector<ReplicationMetrics> replicationMetricList;
14771
14772 void __set_replicationMetricList(const std::vector<ReplicationMetrics> & val);
14773
14774 bool operator == (const ReplicationMetricList & rhs) const;
14775 bool operator != (const ReplicationMetricList &rhs) const {
14776 return !(*this == rhs);
14777 }
14778
14779 bool operator < (const ReplicationMetricList & ) const;
14780
14781 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14782 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14783
14784 virtual void printTo(std::ostream& out) const;
14785};
14786
14787void swap(ReplicationMetricList &a, ReplicationMetricList &b) noexcept;
14788
14789std::ostream& operator<<(std::ostream& out, const ReplicationMetricList& obj);
14790
14792 _GetReplicationMetricsRequest__isset() : scheduledExecutionId(false), policy(false), dumpExecutionId(false) {}
14793 bool scheduledExecutionId :1;
14794 bool policy :1;
14795 bool dumpExecutionId :1;
14797
14798class GetReplicationMetricsRequest : public virtual ::apache::thrift::TBase {
14799 public:
14800
14804
14805 virtual ~GetReplicationMetricsRequest() noexcept;
14806 int64_t scheduledExecutionId;
14807 std::string policy;
14808 int64_t dumpExecutionId;
14809
14811
14812 void __set_scheduledExecutionId(const int64_t val);
14813
14814 void __set_policy(const std::string& val);
14815
14816 void __set_dumpExecutionId(const int64_t val);
14817
14818 bool operator == (const GetReplicationMetricsRequest & rhs) const;
14819 bool operator != (const GetReplicationMetricsRequest &rhs) const {
14820 return !(*this == rhs);
14821 }
14822
14823 bool operator < (const GetReplicationMetricsRequest & ) const;
14824
14825 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14826 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14827
14828 virtual void printTo(std::ostream& out) const;
14829};
14830
14832
14833std::ostream& operator<<(std::ostream& out, const GetReplicationMetricsRequest& obj);
14834
14836 _GetOpenTxnsRequest__isset() : excludeTxnTypes(false) {}
14837 bool excludeTxnTypes :1;
14839
14840class GetOpenTxnsRequest : public virtual ::apache::thrift::TBase {
14841 public:
14842
14844 GetOpenTxnsRequest& operator=(const GetOpenTxnsRequest&);
14845 GetOpenTxnsRequest() noexcept;
14846
14847 virtual ~GetOpenTxnsRequest() noexcept;
14848 std::vector<TxnType::type> excludeTxnTypes;
14849
14851
14852 void __set_excludeTxnTypes(const std::vector<TxnType::type> & val);
14853
14854 bool operator == (const GetOpenTxnsRequest & rhs) const;
14855 bool operator != (const GetOpenTxnsRequest &rhs) const {
14856 return !(*this == rhs);
14857 }
14858
14859 bool operator < (const GetOpenTxnsRequest & ) const;
14860
14861 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14862 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14863
14864 virtual void printTo(std::ostream& out) const;
14865};
14866
14867void swap(GetOpenTxnsRequest &a, GetOpenTxnsRequest &b) noexcept;
14868
14869std::ostream& operator<<(std::ostream& out, const GetOpenTxnsRequest& obj);
14870
14871
14872class StoredProcedureRequest : public virtual ::apache::thrift::TBase {
14873 public:
14874
14877 StoredProcedureRequest() noexcept;
14878
14879 virtual ~StoredProcedureRequest() noexcept;
14880 std::string catName;
14881 std::string dbName;
14882 std::string procName;
14883
14884 void __set_catName(const std::string& val);
14885
14886 void __set_dbName(const std::string& val);
14887
14888 void __set_procName(const std::string& val);
14889
14890 bool operator == (const StoredProcedureRequest & rhs) const;
14891 bool operator != (const StoredProcedureRequest &rhs) const {
14892 return !(*this == rhs);
14893 }
14894
14895 bool operator < (const StoredProcedureRequest & ) const;
14896
14897 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14898 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14899
14900 virtual void printTo(std::ostream& out) const;
14901};
14902
14903void swap(StoredProcedureRequest &a, StoredProcedureRequest &b) noexcept;
14904
14905std::ostream& operator<<(std::ostream& out, const StoredProcedureRequest& obj);
14906
14908 _ListStoredProcedureRequest__isset() : dbName(false) {}
14909 bool dbName :1;
14911
14912class ListStoredProcedureRequest : public virtual ::apache::thrift::TBase {
14913 public:
14914
14917 ListStoredProcedureRequest() noexcept;
14918
14919 virtual ~ListStoredProcedureRequest() noexcept;
14920 std::string catName;
14921 std::string dbName;
14922
14924
14925 void __set_catName(const std::string& val);
14926
14927 void __set_dbName(const std::string& val);
14928
14929 bool operator == (const ListStoredProcedureRequest & rhs) const;
14930 bool operator != (const ListStoredProcedureRequest &rhs) const {
14931 return !(*this == rhs);
14932 }
14933
14934 bool operator < (const ListStoredProcedureRequest & ) const;
14935
14936 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14937 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14938
14939 virtual void printTo(std::ostream& out) const;
14940};
14941
14943
14944std::ostream& operator<<(std::ostream& out, const ListStoredProcedureRequest& obj);
14945
14947 _StoredProcedure__isset() : name(false), dbName(false), catName(false), ownerName(false), source(false) {}
14948 bool name :1;
14949 bool dbName :1;
14950 bool catName :1;
14951 bool ownerName :1;
14952 bool source :1;
14954
14955class StoredProcedure : public virtual ::apache::thrift::TBase {
14956 public:
14957
14959 StoredProcedure& operator=(const StoredProcedure&);
14960 StoredProcedure() noexcept;
14961
14962 virtual ~StoredProcedure() noexcept;
14963 std::string name;
14964 std::string dbName;
14965 std::string catName;
14966 std::string ownerName;
14967 std::string source;
14968
14970
14971 void __set_name(const std::string& val);
14972
14973 void __set_dbName(const std::string& val);
14974
14975 void __set_catName(const std::string& val);
14976
14977 void __set_ownerName(const std::string& val);
14978
14979 void __set_source(const std::string& val);
14980
14981 bool operator == (const StoredProcedure & rhs) const;
14982 bool operator != (const StoredProcedure &rhs) const {
14983 return !(*this == rhs);
14984 }
14985
14986 bool operator < (const StoredProcedure & ) const;
14987
14988 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
14989 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
14990
14991 virtual void printTo(std::ostream& out) const;
14992};
14993
14994void swap(StoredProcedure &a, StoredProcedure &b) noexcept;
14995
14996std::ostream& operator<<(std::ostream& out, const StoredProcedure& obj);
14997
14999 _AddPackageRequest__isset() : catName(false), dbName(false), packageName(false), ownerName(false), header(false), body(false) {}
15000 bool catName :1;
15001 bool dbName :1;
15002 bool packageName :1;
15003 bool ownerName :1;
15004 bool header :1;
15005 bool body :1;
15007
15008class AddPackageRequest : public virtual ::apache::thrift::TBase {
15009 public:
15010
15012 AddPackageRequest& operator=(const AddPackageRequest&);
15013 AddPackageRequest() noexcept;
15014
15015 virtual ~AddPackageRequest() noexcept;
15016 std::string catName;
15017 std::string dbName;
15018 std::string packageName;
15019 std::string ownerName;
15020 std::string header;
15021 std::string body;
15022
15024
15025 void __set_catName(const std::string& val);
15026
15027 void __set_dbName(const std::string& val);
15028
15029 void __set_packageName(const std::string& val);
15030
15031 void __set_ownerName(const std::string& val);
15032
15033 void __set_header(const std::string& val);
15034
15035 void __set_body(const std::string& val);
15036
15037 bool operator == (const AddPackageRequest & rhs) const;
15038 bool operator != (const AddPackageRequest &rhs) const {
15039 return !(*this == rhs);
15040 }
15041
15042 bool operator < (const AddPackageRequest & ) const;
15043
15044 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
15045 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
15046
15047 virtual void printTo(std::ostream& out) const;
15048};
15049
15050void swap(AddPackageRequest &a, AddPackageRequest &b) noexcept;
15051
15052std::ostream& operator<<(std::ostream& out, const AddPackageRequest& obj);
15053
15054
15055class GetPackageRequest : public virtual ::apache::thrift::TBase {
15056 public:
15057
15059 GetPackageRequest& operator=(const GetPackageRequest&);
15060 GetPackageRequest() noexcept;
15061
15062 virtual ~GetPackageRequest() noexcept;
15063 std::string catName;
15064 std::string dbName;
15065 std::string packageName;
15066
15067 void __set_catName(const std::string& val);
15068
15069 void __set_dbName(const std::string& val);
15070
15071 void __set_packageName(const std::string& val);
15072
15073 bool operator == (const GetPackageRequest & rhs) const;
15074 bool operator != (const GetPackageRequest &rhs) const {
15075 return !(*this == rhs);
15076 }
15077
15078 bool operator < (const GetPackageRequest & ) const;
15079
15080 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
15081 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
15082
15083 virtual void printTo(std::ostream& out) const;
15084};
15085
15086void swap(GetPackageRequest &a, GetPackageRequest &b) noexcept;
15087
15088std::ostream& operator<<(std::ostream& out, const GetPackageRequest& obj);
15089
15090
15091class DropPackageRequest : public virtual ::apache::thrift::TBase {
15092 public:
15093
15095 DropPackageRequest& operator=(const DropPackageRequest&);
15096 DropPackageRequest() noexcept;
15097
15098 virtual ~DropPackageRequest() noexcept;
15099 std::string catName;
15100 std::string dbName;
15101 std::string packageName;
15102
15103 void __set_catName(const std::string& val);
15104
15105 void __set_dbName(const std::string& val);
15106
15107 void __set_packageName(const std::string& val);
15108
15109 bool operator == (const DropPackageRequest & rhs) const;
15110 bool operator != (const DropPackageRequest &rhs) const {
15111 return !(*this == rhs);
15112 }
15113
15114 bool operator < (const DropPackageRequest & ) const;
15115
15116 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
15117 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
15118
15119 virtual void printTo(std::ostream& out) const;
15120};
15121
15122void swap(DropPackageRequest &a, DropPackageRequest &b) noexcept;
15123
15124std::ostream& operator<<(std::ostream& out, const DropPackageRequest& obj);
15125
15127 _ListPackageRequest__isset() : dbName(false) {}
15128 bool dbName :1;
15130
15131class ListPackageRequest : public virtual ::apache::thrift::TBase {
15132 public:
15133
15135 ListPackageRequest& operator=(const ListPackageRequest&);
15136 ListPackageRequest() noexcept;
15137
15138 virtual ~ListPackageRequest() noexcept;
15139 std::string catName;
15140 std::string dbName;
15141
15143
15144 void __set_catName(const std::string& val);
15145
15146 void __set_dbName(const std::string& val);
15147
15148 bool operator == (const ListPackageRequest & rhs) const;
15149 bool operator != (const ListPackageRequest &rhs) const {
15150 return !(*this == rhs);
15151 }
15152
15153 bool operator < (const ListPackageRequest & ) const;
15154
15155 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
15156 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
15157
15158 virtual void printTo(std::ostream& out) const;
15159};
15160
15161void swap(ListPackageRequest &a, ListPackageRequest &b) noexcept;
15162
15163std::ostream& operator<<(std::ostream& out, const ListPackageRequest& obj);
15164
15165typedef struct _Package__isset {
15166 _Package__isset() : catName(false), dbName(false), packageName(false), ownerName(false), header(false), body(false) {}
15167 bool catName :1;
15168 bool dbName :1;
15169 bool packageName :1;
15170 bool ownerName :1;
15171 bool header :1;
15172 bool body :1;
15174
15175class Package : public virtual ::apache::thrift::TBase {
15176 public:
15177
15178 Package(const Package&);
15179 Package& operator=(const Package&);
15180 Package() noexcept;
15181
15182 virtual ~Package() noexcept;
15183 std::string catName;
15184 std::string dbName;
15185 std::string packageName;
15186 std::string ownerName;
15187 std::string header;
15188 std::string body;
15189
15190 _Package__isset __isset;
15191
15192 void __set_catName(const std::string& val);
15193
15194 void __set_dbName(const std::string& val);
15195
15196 void __set_packageName(const std::string& val);
15197
15198 void __set_ownerName(const std::string& val);
15199
15200 void __set_header(const std::string& val);
15201
15202 void __set_body(const std::string& val);
15203
15204 bool operator == (const Package & rhs) const;
15205 bool operator != (const Package &rhs) const {
15206 return !(*this == rhs);
15207 }
15208
15209 bool operator < (const Package & ) const;
15210
15211 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
15212 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
15213
15214 virtual void printTo(std::ostream& out) const;
15215};
15216
15217void swap(Package &a, Package &b) noexcept;
15218
15219std::ostream& operator<<(std::ostream& out, const Package& obj);
15220
15222 _GetAllWriteEventInfoRequest__isset() : dbName(false), tableName(false) {}
15223 bool dbName :1;
15224 bool tableName :1;
15226
15227class GetAllWriteEventInfoRequest : public virtual ::apache::thrift::TBase {
15228 public:
15229
15232 GetAllWriteEventInfoRequest() noexcept;
15233
15234 virtual ~GetAllWriteEventInfoRequest() noexcept;
15235 int64_t txnId;
15236 std::string dbName;
15237 std::string tableName;
15238
15240
15241 void __set_txnId(const int64_t val);
15242
15243 void __set_dbName(const std::string& val);
15244
15245 void __set_tableName(const std::string& val);
15246
15247 bool operator == (const GetAllWriteEventInfoRequest & rhs) const;
15248 bool operator != (const GetAllWriteEventInfoRequest &rhs) const {
15249 return !(*this == rhs);
15250 }
15251
15252 bool operator < (const GetAllWriteEventInfoRequest & ) const;
15253
15254 uint32_t read(::apache::thrift::protocol::TProtocol* iprot) override;
15255 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const override;
15256
15257 virtual void printTo(std::ostream& out) const;
15258};
15259
15261
15262std::ostream& operator<<(std::ostream& out, const GetAllWriteEventInfoRequest& obj);
15263
15265 _MetaException__isset() : message(false) {}
15266 bool message :1;
15268
15269class MetaException : public ::apache::thrift::TException {
15270 public:
15271
15273 MetaException& operator=(const MetaException&);
15274 MetaException() noexcept;
15275
15276 virtual ~MetaException() noexcept;
15277 std::string message;
15278
15279 _MetaException__isset __isset;
15280
15281 void __set_message(const std::string& val);
15282
15283 bool operator == (const MetaException & rhs) const;
15284 bool operator != (const MetaException &rhs) const {
15285 return !(*this == rhs);
15286 }
15287
15288 bool operator < (const MetaException & ) const;
15289
15290 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15291 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15292
15293 virtual void printTo(std::ostream& out) const;
15294 mutable std::string thriftTExceptionMessageHolder_;
15295 const char* what() const noexcept override;
15296};
15297
15298void swap(MetaException &a, MetaException &b) noexcept;
15299
15300std::ostream& operator<<(std::ostream& out, const MetaException& obj);
15301
15303 _UnknownTableException__isset() : message(false) {}
15304 bool message :1;
15306
15307class UnknownTableException : public ::apache::thrift::TException {
15308 public:
15309
15312 UnknownTableException() noexcept;
15313
15314 virtual ~UnknownTableException() noexcept;
15315 std::string message;
15316
15318
15319 void __set_message(const std::string& val);
15320
15321 bool operator == (const UnknownTableException & rhs) const;
15322 bool operator != (const UnknownTableException &rhs) const {
15323 return !(*this == rhs);
15324 }
15325
15326 bool operator < (const UnknownTableException & ) const;
15327
15328 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15329 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15330
15331 virtual void printTo(std::ostream& out) const;
15332 mutable std::string thriftTExceptionMessageHolder_;
15333 const char* what() const noexcept override;
15334};
15335
15336void swap(UnknownTableException &a, UnknownTableException &b) noexcept;
15337
15338std::ostream& operator<<(std::ostream& out, const UnknownTableException& obj);
15339
15341 _UnknownDBException__isset() : message(false) {}
15342 bool message :1;
15344
15345class UnknownDBException : public ::apache::thrift::TException {
15346 public:
15347
15349 UnknownDBException& operator=(const UnknownDBException&);
15350 UnknownDBException() noexcept;
15351
15352 virtual ~UnknownDBException() noexcept;
15353 std::string message;
15354
15356
15357 void __set_message(const std::string& val);
15358
15359 bool operator == (const UnknownDBException & rhs) const;
15360 bool operator != (const UnknownDBException &rhs) const {
15361 return !(*this == rhs);
15362 }
15363
15364 bool operator < (const UnknownDBException & ) const;
15365
15366 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15367 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15368
15369 virtual void printTo(std::ostream& out) const;
15370 mutable std::string thriftTExceptionMessageHolder_;
15371 const char* what() const noexcept override;
15372};
15373
15374void swap(UnknownDBException &a, UnknownDBException &b) noexcept;
15375
15376std::ostream& operator<<(std::ostream& out, const UnknownDBException& obj);
15377
15379 _AlreadyExistsException__isset() : message(false) {}
15380 bool message :1;
15382
15383class AlreadyExistsException : public ::apache::thrift::TException {
15384 public:
15385
15388 AlreadyExistsException() noexcept;
15389
15390 virtual ~AlreadyExistsException() noexcept;
15391 std::string message;
15392
15394
15395 void __set_message(const std::string& val);
15396
15397 bool operator == (const AlreadyExistsException & rhs) const;
15398 bool operator != (const AlreadyExistsException &rhs) const {
15399 return !(*this == rhs);
15400 }
15401
15402 bool operator < (const AlreadyExistsException & ) const;
15403
15404 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15405 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15406
15407 virtual void printTo(std::ostream& out) const;
15408 mutable std::string thriftTExceptionMessageHolder_;
15409 const char* what() const noexcept override;
15410};
15411
15412void swap(AlreadyExistsException &a, AlreadyExistsException &b) noexcept;
15413
15414std::ostream& operator<<(std::ostream& out, const AlreadyExistsException& obj);
15415
15417 _InvalidPartitionException__isset() : message(false) {}
15418 bool message :1;
15420
15421class InvalidPartitionException : public ::apache::thrift::TException {
15422 public:
15423
15426 InvalidPartitionException() noexcept;
15427
15428 virtual ~InvalidPartitionException() noexcept;
15429 std::string message;
15430
15432
15433 void __set_message(const std::string& val);
15434
15435 bool operator == (const InvalidPartitionException & rhs) const;
15436 bool operator != (const InvalidPartitionException &rhs) const {
15437 return !(*this == rhs);
15438 }
15439
15440 bool operator < (const InvalidPartitionException & ) const;
15441
15442 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15443 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15444
15445 virtual void printTo(std::ostream& out) const;
15446 mutable std::string thriftTExceptionMessageHolder_;
15447 const char* what() const noexcept override;
15448};
15449
15450void swap(InvalidPartitionException &a, InvalidPartitionException &b) noexcept;
15451
15452std::ostream& operator<<(std::ostream& out, const InvalidPartitionException& obj);
15453
15455 _UnknownPartitionException__isset() : message(false) {}
15456 bool message :1;
15458
15459class UnknownPartitionException : public ::apache::thrift::TException {
15460 public:
15461
15464 UnknownPartitionException() noexcept;
15465
15466 virtual ~UnknownPartitionException() noexcept;
15467 std::string message;
15468
15470
15471 void __set_message(const std::string& val);
15472
15473 bool operator == (const UnknownPartitionException & rhs) const;
15474 bool operator != (const UnknownPartitionException &rhs) const {
15475 return !(*this == rhs);
15476 }
15477
15478 bool operator < (const UnknownPartitionException & ) const;
15479
15480 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15481 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15482
15483 virtual void printTo(std::ostream& out) const;
15484 mutable std::string thriftTExceptionMessageHolder_;
15485 const char* what() const noexcept override;
15486};
15487
15488void swap(UnknownPartitionException &a, UnknownPartitionException &b) noexcept;
15489
15490std::ostream& operator<<(std::ostream& out, const UnknownPartitionException& obj);
15491
15493 _InvalidObjectException__isset() : message(false) {}
15494 bool message :1;
15496
15497class InvalidObjectException : public ::apache::thrift::TException {
15498 public:
15499
15502 InvalidObjectException() noexcept;
15503
15504 virtual ~InvalidObjectException() noexcept;
15505 std::string message;
15506
15508
15509 void __set_message(const std::string& val);
15510
15511 bool operator == (const InvalidObjectException & rhs) const;
15512 bool operator != (const InvalidObjectException &rhs) const {
15513 return !(*this == rhs);
15514 }
15515
15516 bool operator < (const InvalidObjectException & ) const;
15517
15518 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15519 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15520
15521 virtual void printTo(std::ostream& out) const;
15522 mutable std::string thriftTExceptionMessageHolder_;
15523 const char* what() const noexcept override;
15524};
15525
15526void swap(InvalidObjectException &a, InvalidObjectException &b) noexcept;
15527
15528std::ostream& operator<<(std::ostream& out, const InvalidObjectException& obj);
15529
15531 _NoSuchObjectException__isset() : message(false) {}
15532 bool message :1;
15534
15535class NoSuchObjectException : public ::apache::thrift::TException {
15536 public:
15537
15540 NoSuchObjectException() noexcept;
15541
15542 virtual ~NoSuchObjectException() noexcept;
15543 std::string message;
15544
15546
15547 void __set_message(const std::string& val);
15548
15549 bool operator == (const NoSuchObjectException & rhs) const;
15550 bool operator != (const NoSuchObjectException &rhs) const {
15551 return !(*this == rhs);
15552 }
15553
15554 bool operator < (const NoSuchObjectException & ) const;
15555
15556 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15557 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15558
15559 virtual void printTo(std::ostream& out) const;
15560 mutable std::string thriftTExceptionMessageHolder_;
15561 const char* what() const noexcept override;
15562};
15563
15564void swap(NoSuchObjectException &a, NoSuchObjectException &b) noexcept;
15565
15566std::ostream& operator<<(std::ostream& out, const NoSuchObjectException& obj);
15567
15569 _InvalidOperationException__isset() : message(false) {}
15570 bool message :1;
15572
15573class InvalidOperationException : public ::apache::thrift::TException {
15574 public:
15575
15578 InvalidOperationException() noexcept;
15579
15580 virtual ~InvalidOperationException() noexcept;
15581 std::string message;
15582
15584
15585 void __set_message(const std::string& val);
15586
15587 bool operator == (const InvalidOperationException & rhs) const;
15588 bool operator != (const InvalidOperationException &rhs) const {
15589 return !(*this == rhs);
15590 }
15591
15592 bool operator < (const InvalidOperationException & ) const;
15593
15594 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15595 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15596
15597 virtual void printTo(std::ostream& out) const;
15598 mutable std::string thriftTExceptionMessageHolder_;
15599 const char* what() const noexcept override;
15600};
15601
15602void swap(InvalidOperationException &a, InvalidOperationException &b) noexcept;
15603
15604std::ostream& operator<<(std::ostream& out, const InvalidOperationException& obj);
15605
15607 _ConfigValSecurityException__isset() : message(false) {}
15608 bool message :1;
15610
15611class ConfigValSecurityException : public ::apache::thrift::TException {
15612 public:
15613
15616 ConfigValSecurityException() noexcept;
15617
15618 virtual ~ConfigValSecurityException() noexcept;
15619 std::string message;
15620
15622
15623 void __set_message(const std::string& val);
15624
15625 bool operator == (const ConfigValSecurityException & rhs) const;
15626 bool operator != (const ConfigValSecurityException &rhs) const {
15627 return !(*this == rhs);
15628 }
15629
15630 bool operator < (const ConfigValSecurityException & ) const;
15631
15632 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15633 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15634
15635 virtual void printTo(std::ostream& out) const;
15636 mutable std::string thriftTExceptionMessageHolder_;
15637 const char* what() const noexcept override;
15638};
15639
15641
15642std::ostream& operator<<(std::ostream& out, const ConfigValSecurityException& obj);
15643
15645 _InvalidInputException__isset() : message(false) {}
15646 bool message :1;
15648
15649class InvalidInputException : public ::apache::thrift::TException {
15650 public:
15651
15654 InvalidInputException() noexcept;
15655
15656 virtual ~InvalidInputException() noexcept;
15657 std::string message;
15658
15660
15661 void __set_message(const std::string& val);
15662
15663 bool operator == (const InvalidInputException & rhs) const;
15664 bool operator != (const InvalidInputException &rhs) const {
15665 return !(*this == rhs);
15666 }
15667
15668 bool operator < (const InvalidInputException & ) const;
15669
15670 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15671 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15672
15673 virtual void printTo(std::ostream& out) const;
15674 mutable std::string thriftTExceptionMessageHolder_;
15675 const char* what() const noexcept override;
15676};
15677
15678void swap(InvalidInputException &a, InvalidInputException &b) noexcept;
15679
15680std::ostream& operator<<(std::ostream& out, const InvalidInputException& obj);
15681
15683 _NoSuchTxnException__isset() : message(false) {}
15684 bool message :1;
15686
15687class NoSuchTxnException : public ::apache::thrift::TException {
15688 public:
15689
15691 NoSuchTxnException& operator=(const NoSuchTxnException&);
15692 NoSuchTxnException() noexcept;
15693
15694 virtual ~NoSuchTxnException() noexcept;
15695 std::string message;
15696
15698
15699 void __set_message(const std::string& val);
15700
15701 bool operator == (const NoSuchTxnException & rhs) const;
15702 bool operator != (const NoSuchTxnException &rhs) const {
15703 return !(*this == rhs);
15704 }
15705
15706 bool operator < (const NoSuchTxnException & ) const;
15707
15708 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15709 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15710
15711 virtual void printTo(std::ostream& out) const;
15712 mutable std::string thriftTExceptionMessageHolder_;
15713 const char* what() const noexcept override;
15714};
15715
15716void swap(NoSuchTxnException &a, NoSuchTxnException &b) noexcept;
15717
15718std::ostream& operator<<(std::ostream& out, const NoSuchTxnException& obj);
15719
15721 _TxnAbortedException__isset() : message(false) {}
15722 bool message :1;
15724
15725class TxnAbortedException : public ::apache::thrift::TException {
15726 public:
15727
15729 TxnAbortedException& operator=(const TxnAbortedException&);
15730 TxnAbortedException() noexcept;
15731
15732 virtual ~TxnAbortedException() noexcept;
15733 std::string message;
15734
15736
15737 void __set_message(const std::string& val);
15738
15739 bool operator == (const TxnAbortedException & rhs) const;
15740 bool operator != (const TxnAbortedException &rhs) const {
15741 return !(*this == rhs);
15742 }
15743
15744 bool operator < (const TxnAbortedException & ) const;
15745
15746 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15747 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15748
15749 virtual void printTo(std::ostream& out) const;
15750 mutable std::string thriftTExceptionMessageHolder_;
15751 const char* what() const noexcept override;
15752};
15753
15754void swap(TxnAbortedException &a, TxnAbortedException &b) noexcept;
15755
15756std::ostream& operator<<(std::ostream& out, const TxnAbortedException& obj);
15757
15759 _TxnOpenException__isset() : message(false) {}
15760 bool message :1;
15762
15763class TxnOpenException : public ::apache::thrift::TException {
15764 public:
15765
15767 TxnOpenException& operator=(const TxnOpenException&);
15768 TxnOpenException() noexcept;
15769
15770 virtual ~TxnOpenException() noexcept;
15771 std::string message;
15772
15774
15775 void __set_message(const std::string& val);
15776
15777 bool operator == (const TxnOpenException & rhs) const;
15778 bool operator != (const TxnOpenException &rhs) const {
15779 return !(*this == rhs);
15780 }
15781
15782 bool operator < (const TxnOpenException & ) const;
15783
15784 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15785 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15786
15787 virtual void printTo(std::ostream& out) const;
15788 mutable std::string thriftTExceptionMessageHolder_;
15789 const char* what() const noexcept override;
15790};
15791
15792void swap(TxnOpenException &a, TxnOpenException &b) noexcept;
15793
15794std::ostream& operator<<(std::ostream& out, const TxnOpenException& obj);
15795
15797 _NoSuchLockException__isset() : message(false) {}
15798 bool message :1;
15800
15801class NoSuchLockException : public ::apache::thrift::TException {
15802 public:
15803
15805 NoSuchLockException& operator=(const NoSuchLockException&);
15806 NoSuchLockException() noexcept;
15807
15808 virtual ~NoSuchLockException() noexcept;
15809 std::string message;
15810
15812
15813 void __set_message(const std::string& val);
15814
15815 bool operator == (const NoSuchLockException & rhs) const;
15816 bool operator != (const NoSuchLockException &rhs) const {
15817 return !(*this == rhs);
15818 }
15819
15820 bool operator < (const NoSuchLockException & ) const;
15821
15822 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15823 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15824
15825 virtual void printTo(std::ostream& out) const;
15826 mutable std::string thriftTExceptionMessageHolder_;
15827 const char* what() const noexcept override;
15828};
15829
15830void swap(NoSuchLockException &a, NoSuchLockException &b) noexcept;
15831
15832std::ostream& operator<<(std::ostream& out, const NoSuchLockException& obj);
15833
15835 _CompactionAbortedException__isset() : message(false) {}
15836 bool message :1;
15838
15839class CompactionAbortedException : public ::apache::thrift::TException {
15840 public:
15841
15844 CompactionAbortedException() noexcept;
15845
15846 virtual ~CompactionAbortedException() noexcept;
15847 std::string message;
15848
15850
15851 void __set_message(const std::string& val);
15852
15853 bool operator == (const CompactionAbortedException & rhs) const;
15854 bool operator != (const CompactionAbortedException &rhs) const {
15855 return !(*this == rhs);
15856 }
15857
15858 bool operator < (const CompactionAbortedException & ) const;
15859
15860 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15861 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15862
15863 virtual void printTo(std::ostream& out) const;
15864 mutable std::string thriftTExceptionMessageHolder_;
15865 const char* what() const noexcept override;
15866};
15867
15869
15870std::ostream& operator<<(std::ostream& out, const CompactionAbortedException& obj);
15871
15873 _NoSuchCompactionException__isset() : message(false) {}
15874 bool message :1;
15876
15877class NoSuchCompactionException : public ::apache::thrift::TException {
15878 public:
15879
15882 NoSuchCompactionException() noexcept;
15883
15884 virtual ~NoSuchCompactionException() noexcept;
15885 std::string message;
15886
15888
15889 void __set_message(const std::string& val);
15890
15891 bool operator == (const NoSuchCompactionException & rhs) const;
15892 bool operator != (const NoSuchCompactionException &rhs) const {
15893 return !(*this == rhs);
15894 }
15895
15896 bool operator < (const NoSuchCompactionException & ) const;
15897
15898 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
15899 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
15900
15901 virtual void printTo(std::ostream& out) const;
15902 mutable std::string thriftTExceptionMessageHolder_;
15903 const char* what() const noexcept override;
15904};
15905
15906void swap(NoSuchCompactionException &a, NoSuchCompactionException &b) noexcept;
15907
15908std::ostream& operator<<(std::ostream& out, const NoSuchCompactionException& obj);
15909
15910}}} // namespace
15911
15912#endif
Definition hive_metastore_types.h:8857
Definition hive_metastore_types.h:8776
Definition hive_metastore_types.h:8819
Definition hive_metastore_types.h:6842
TxnType::type txn_type
Definition hive_metastore_types.h:6856
Definition hive_metastore_types.h:6891
Definition hive_metastore_types.h:5443
Definition hive_metastore_types.h:5413
Definition hive_metastore_types.h:9011
DataOperationType::type operationType
Definition hive_metastore_types.h:9028
Definition hive_metastore_types.h:5323
Definition hive_metastore_types.h:5383
Definition hive_metastore_types.h:15008
Definition hive_metastore_types.h:5860
Definition hive_metastore_types.h:5813
Definition hive_metastore_types.h:5293
Definition hive_metastore_types.h:5353
Definition hive_metastore_types.h:4524
Definition hive_metastore_types.h:5174
Definition hive_metastore_types.h:5218
Definition hive_metastore_types.h:7382
Definition hive_metastore_types.h:7429
Definition hive_metastore_types.h:15383
Definition hive_metastore_types.h:2724
Definition hive_metastore_types.h:13281
Definition hive_metastore_types.h:10618
Definition hive_metastore_types.h:12633
Definition hive_metastore_types.h:13618
Definition hive_metastore_types.h:13728
Definition hive_metastore_types.h:13853
Definition hive_metastore_types.h:13915
Definition hive_metastore_types.h:13681
Definition hive_metastore_types.h:9070
Definition hive_metastore_types.h:3484
Definition hive_metastore_types.h:3283
Definition hive_metastore_types.h:10060
Definition hive_metastore_types.h:10025
Definition hive_metastore_types.h:2642
Definition hive_metastore_types.h:5095
Definition hive_metastore_types.h:5139
Definition hive_metastore_types.h:7773
Definition hive_metastore_types.h:9995
Definition hive_metastore_types.h:9968
Definition hive_metastore_types.h:10137
Definition hive_metastore_types.h:10711
Definition hive_metastore_types.h:10744
Definition hive_metastore_types.h:3791
Definition hive_metastore_types.h:3886
Definition hive_metastore_types.h:3844
Definition hive_metastore_types.h:3938
Definition hive_metastore_types.h:6926
Definition hive_metastore_types.h:7116
TxnType::type txn_type
Definition hive_metastore_types.h:7134
Definition hive_metastore_types.h:15839
Definition hive_metastore_types.h:8227
CompactionType::type type
Definition hive_metastore_types.h:8243
Definition hive_metastore_types.h:8451
CompactionMetricsMetricType::type type
Definition hive_metastore_types.h:8466
Definition hive_metastore_types.h:8415
Definition hive_metastore_types.h:8357
CompactionMetricsMetricType::type type
Definition hive_metastore_types.h:8372
Definition hive_metastore_types.h:8143
CompactionType::type type
Definition hive_metastore_types.h:8158
Definition hive_metastore_types.h:8500
Definition hive_metastore_types.h:15611
Definition hive_metastore_types.h:2687
Definition hive_metastore_types.h:13221
Definition hive_metastore_types.h:13145
PrincipalType::type ownerType
Definition hive_metastore_types.h:13163
DatabaseType::type type
Definition hive_metastore_types.h:13171
Definition hive_metastore_types.h:13071
Definition hive_metastore_types.h:3229
Definition hive_metastore_types.h:9262
Definition hive_metastore_types.h:6422
PrincipalType::type ownerType
Definition hive_metastore_types.h:6440
Definition hive_metastore_types.h:2919
PrincipalType::type ownerType
Definition hive_metastore_types.h:2937
DatabaseType::type type
Definition hive_metastore_types.h:2945
Definition hive_metastore_types.h:3649
Definition hive_metastore_types.h:3612
Definition hive_metastore_types.h:3565
Definition hive_metastore_types.h:3525
Definition hive_metastore_types.h:5016
Definition hive_metastore_types.h:5060
Definition hive_metastore_types.h:3331
Definition hive_metastore_types.h:2871
Definition hive_metastore_types.h:5252
Definition hive_metastore_types.h:13319
Definition hive_metastore_types.h:10658
Definition hive_metastore_types.h:15091
Definition hive_metastore_types.h:6111
Definition hive_metastore_types.h:5959
Definition hive_metastore_types.h:6044
Definition hive_metastore_types.h:5923
Definition hive_metastore_types.h:10523
Definition hive_metastore_types.h:1185
Definition hive_metastore_types.h:10475
Definition hive_metastore_types.h:1143
Definition hive_metastore_types.h:3985
Definition hive_metastore_types.h:8969
Definition hive_metastore_types.h:12832
Definition hive_metastore_types.h:12790
Definition hive_metastore_types.h:9433
Definition hive_metastore_types.h:9479
Definition hive_metastore_types.h:9533
Definition hive_metastore_types.h:4773
Definition hive_metastore_types.h:4823
Definition hive_metastore_types.h:6535
FunctionType::type functionType
Definition hive_metastore_types.h:6557
PrincipalType::type ownerType
Definition hive_metastore_types.h:6551
Definition hive_metastore_types.h:10105
Definition hive_metastore_types.h:15227
Definition hive_metastore_types.h:2763
Definition hive_metastore_types.h:2799
Definition hive_metastore_types.h:2835
Definition hive_metastore_types.h:13251
Definition hive_metastore_types.h:10577
Definition hive_metastore_types.h:14105
Definition hive_metastore_types.h:14152
Definition hive_metastore_types.h:9787
FileMetadataExprType::type type
Definition hive_metastore_types.h:9802
Definition hive_metastore_types.h:9749
Definition hive_metastore_types.h:9865
Definition hive_metastore_types.h:9832
Definition hive_metastore_types.h:6667
Definition hive_metastore_types.h:14840
Definition hive_metastore_types.h:6704
Definition hive_metastore_types.h:15055
Definition hive_metastore_types.h:14517
Definition hive_metastore_types.h:14567
Definition hive_metastore_types.h:14272
Definition hive_metastore_types.h:14319
Definition hive_metastore_types.h:14456
Definition hive_metastore_types.h:6304
Definition hive_metastore_types.h:6376
Definition hive_metastore_types.h:13947
PartitionFilterMode::type filterMode
Definition hive_metastore_types.h:13959
Definition hive_metastore_types.h:14611
Definition hive_metastore_types.h:14679
Definition hive_metastore_types.h:14036
Definition hive_metastore_types.h:13990
Definition hive_metastore_types.h:2467
Definition hive_metastore_types.h:2497
Definition hive_metastore_types.h:10173
Definition hive_metastore_types.h:14798
Definition hive_metastore_types.h:2400
PrincipalType::type principal_type
Definition hive_metastore_types.h:2413
Definition hive_metastore_types.h:2437
Definition hive_metastore_types.h:13026
Definition hive_metastore_types.h:14189
Definition hive_metastore_types.h:14236
Definition hive_metastore_types.h:12952
Definition hive_metastore_types.h:10222
Definition hive_metastore_types.h:10285
Definition hive_metastore_types.h:10419
Definition hive_metastore_types.h:10330
Definition hive_metastore_types.h:10383
Definition hive_metastore_types.h:7226
Definition hive_metastore_types.h:7312
Definition hive_metastore_types.h:2129
GrantRevokeType::type requestType
Definition hive_metastore_types.h:2141
Definition hive_metastore_types.h:2175
Definition hive_metastore_types.h:2537
GrantRevokeType::type requestType
Definition hive_metastore_types.h:2549
PrincipalType::type principalType
Definition hive_metastore_types.h:2556
PrincipalType::type grantorType
Definition hive_metastore_types.h:2562
Definition hive_metastore_types.h:2603
Definition hive_metastore_types.h:8031
Definition hive_metastore_types.h:8066
Definition hive_metastore_types.h:8099
Definition hive_metastore_types.h:1995
PrincipalType::type principalType
Definition hive_metastore_types.h:2009
Definition hive_metastore_types.h:1880
HiveObjectType::type objectType
Definition hive_metastore_types.h:1892
Definition hive_metastore_types.h:12590
Definition hive_metastore_types.h:12516
SchemaValidation::type validationLevel
Definition hive_metastore_types.h:12541
SchemaCompatibility::type compatibility
Definition hive_metastore_types.h:12536
SchemaType::type schemaType
Definition hive_metastore_types.h:12528
Definition hive_metastore_types.h:9383
Definition hive_metastore_types.h:15649
Definition hive_metastore_types.h:15497
Definition hive_metastore_types.h:15573
Definition hive_metastore_types.h:15421
Definition hive_metastore_types.h:15131
Definition hive_metastore_types.h:14912
Definition hive_metastore_types.h:7596
LockType::type type
Definition hive_metastore_types.h:7608
DataOperationType::type operationType
Definition hive_metastore_types.h:7621
LockLevel::type level
Definition hive_metastore_types.h:7613
Definition hive_metastore_types.h:7669
Definition hive_metastore_types.h:7726
LockState::type state
Definition hive_metastore_types.h:7739
Definition hive_metastore_types.h:3385
Definition hive_metastore_types.h:12869
Definition hive_metastore_types.h:10832
Definition hive_metastore_types.h:7459
Definition hive_metastore_types.h:7492
Definition hive_metastore_types.h:15269
Definition hive_metastore_types.h:9714
Definition hive_metastore_types.h:15877
Definition hive_metastore_types.h:15801
Definition hive_metastore_types.h:15535
Definition hive_metastore_types.h:15687
Definition hive_metastore_types.h:4937
Definition hive_metastore_types.h:4981
Definition hive_metastore_types.h:9125
Definition hive_metastore_types.h:9232
Definition hive_metastore_types.h:9179
Definition hive_metastore_types.h:9299
Definition hive_metastore_types.h:9346
Definition hive_metastore_types.h:4023
Definition hive_metastore_types.h:6752
TxnType::type txn_type
Definition hive_metastore_types.h:6770
Definition hive_metastore_types.h:6806
Definition hive_metastore_types.h:8321
Definition hive_metastore_types.h:3064
Definition hive_metastore_types.h:15175
Definition hive_metastore_types.h:4424
Definition hive_metastore_types.h:4385
Definition hive_metastore_types.h:4467
Definition hive_metastore_types.h:6171
Definition hive_metastore_types.h:6260
Definition hive_metastore_types.h:6230
Definition hive_metastore_types.h:4333
Definition hive_metastore_types.h:4256
Definition hive_metastore_types.h:5551
Definition hive_metastore_types.h:5473
Definition hive_metastore_types.h:14359
Definition hive_metastore_types.h:14415
Definition hive_metastore_types.h:5506
Definition hive_metastore_types.h:5757
Definition hive_metastore_types.h:5659
Definition hive_metastore_types.h:4689
Definition hive_metastore_types.h:4733
Definition hive_metastore_types.h:2085
Definition hive_metastore_types.h:2047
Definition hive_metastore_types.h:1939
PrincipalType::type grantorType
Definition hive_metastore_types.h:1954
Definition hive_metastore_types.h:1794
Definition hive_metastore_types.h:1839
Definition hive_metastore_types.h:1753
Definition hive_metastore_types.h:9926
FileMetadataExprType::type type
Definition hive_metastore_types.h:9940
Definition hive_metastore_types.h:9895
Definition hive_metastore_types.h:13762
Definition hive_metastore_types.h:13815
Definition hive_metastore_types.h:7024
Definition hive_metastore_types.h:7174
Definition hive_metastore_types.h:14762
Definition hive_metastore_types.h:14715
Definition hive_metastore_types.h:5999
Definition hive_metastore_types.h:6484
ResourceType::type resourceType
Definition hive_metastore_types.h:6496
Definition hive_metastore_types.h:2342
PrincipalType::type grantorPrincipalType
Definition hive_metastore_types.h:2364
PrincipalType::type principalType
Definition hive_metastore_types.h:2356
Definition hive_metastore_types.h:2294
Definition hive_metastore_types.h:12988
Definition hive_metastore_types.h:1654
Definition hive_metastore_types.h:1589
Definition hive_metastore_types.h:1521
Definition hive_metastore_types.h:1303
Definition hive_metastore_types.h:1456
Definition hive_metastore_types.h:1229
Definition hive_metastore_types.h:1389
Definition hive_metastore_types.h:13387
Definition hive_metastore_types.h:13523
ScheduledQueryMaintenanceRequestType::type type
Definition hive_metastore_types.h:13535
Definition hive_metastore_types.h:13357
Definition hive_metastore_types.h:13427
Definition hive_metastore_types.h:13564
QueryState::type state
Definition hive_metastore_types.h:13577
Definition hive_metastore_types.h:13476
Definition hive_metastore_types.h:12749
Definition hive_metastore_types.h:12681
SchemaVersionState::type state
Definition hive_metastore_types.h:12697
Definition hive_metastore_types.h:4648
Definition hive_metastore_types.h:7522
Definition hive_metastore_types.h:7558
Definition hive_metastore_types.h:3005
SerdeType::type serdeType
Definition hive_metastore_types.h:3023
Definition hive_metastore_types.h:4569
Definition hive_metastore_types.h:4613
Definition hive_metastore_types.h:12909
SchemaVersionState::type state
Definition hive_metastore_types.h:12922
Definition hive_metastore_types.h:8553
CompactionType::type type
Definition hive_metastore_types.h:8570
Definition hive_metastore_types.h:8636
CompactionType::type type
Definition hive_metastore_types.h:8651
Definition hive_metastore_types.h:8741
Definition hive_metastore_types.h:7849
Definition hive_metastore_types.h:7905
LockState::type state
Definition hive_metastore_types.h:7921
LockType::type type
Definition hive_metastore_types.h:7926
Definition hive_metastore_types.h:7994
Definition hive_metastore_types.h:3105
Definition hive_metastore_types.h:4201
Definition hive_metastore_types.h:3158
Definition hive_metastore_types.h:14872
Definition hive_metastore_types.h:14955
Definition hive_metastore_types.h:3436
Definition hive_metastore_types.h:10778
PrincipalType::type ownerType
Definition hive_metastore_types.h:10796
Definition hive_metastore_types.h:5701
Definition hive_metastore_types.h:5620
Definition hive_metastore_types.h:7268
Definition hive_metastore_types.h:4084
PrincipalType::type ownerType
Definition hive_metastore_types.h:4113
Definition hive_metastore_types.h:3733
Definition hive_metastore_types.h:3696
Definition hive_metastore_types.h:2214
Definition hive_metastore_types.h:2261
Definition hive_metastore_types.h:15725
Definition hive_metastore_types.h:6607
TxnState::type state
Definition hive_metastore_types.h:6620
Definition hive_metastore_types.h:15763
Definition hive_metastore_types.h:7342
Definition hive_metastore_types.h:1708
Definition hive_metastore_types.h:4858
Definition hive_metastore_types.h:4902
Definition hive_metastore_types.h:15345
Definition hive_metastore_types.h:15459
Definition hive_metastore_types.h:15307
Definition hive_metastore_types.h:7811
Definition hive_metastore_types.h:7068
Definition hive_metastore_types.h:1102
Definition hive_metastore_types.h:12162
Definition hive_metastore_types.h:12197
Definition hive_metastore_types.h:11591
Definition hive_metastore_types.h:11642
Definition hive_metastore_types.h:11888
Definition hive_metastore_types.h:11920
Definition hive_metastore_types.h:12300
Definition hive_metastore_types.h:12335
Definition hive_metastore_types.h:12098
Definition hive_metastore_types.h:12130
Definition hive_metastore_types.h:11300
Definition hive_metastore_types.h:11335
Definition hive_metastore_types.h:11825
Definition hive_metastore_types.h:11857
Definition hive_metastore_types.h:12366
Definition hive_metastore_types.h:12398
Definition hive_metastore_types.h:12230
Definition hive_metastore_types.h:12268
Definition hive_metastore_types.h:11759
Definition hive_metastore_types.h:11794
Definition hive_metastore_types.h:11953
Definition hive_metastore_types.h:11991
Definition hive_metastore_types.h:11251
Definition hive_metastore_types.h:11366
Definition hive_metastore_types.h:11402
Definition hive_metastore_types.h:11514
Definition hive_metastore_types.h:11550
Definition hive_metastore_types.h:11439
Definition hive_metastore_types.h:11478
Definition hive_metastore_types.h:12023
Definition hive_metastore_types.h:12062
Definition hive_metastore_types.h:11156
Definition hive_metastore_types.h:11046
Definition hive_metastore_types.h:10930
WMResourcePlanStatus::type status
Definition hive_metastore_types.h:10943
Definition hive_metastore_types.h:11207
Definition hive_metastore_types.h:10991
Definition hive_metastore_types.h:10872
WMResourcePlanStatus::type status
Definition hive_metastore_types.h:10885
Definition hive_metastore_types.h:11103
Definition hive_metastore_types.h:11679
Definition hive_metastore_types.h:11719
Definition hive_metastore_types.h:6968
Definition hive_metastore_types.h:9643
Definition hive_metastore_types.h:9682
Definition hive_metastore_types.h:9569
Definition hive_metastore_types.h:9616
Definition hive_metastore_constants.cpp:9
Definition hive_metastore_types.h:355
Definition hive_metastore_types.h:329
Definition hive_metastore_types.h:126
Definition hive_metastore_types.h:154
Definition hive_metastore_types.h:258
Definition hive_metastore_types.h:171
Definition hive_metastore_types.h:343
Definition hive_metastore_types.h:271
Definition hive_metastore_types.h:315
Definition hive_metastore_types.h:141
Definition hive_metastore_types.h:25
Definition hive_metastore_types.h:82
Definition hive_metastore_types.h:96
Definition hive_metastore_types.h:111
Definition hive_metastore_types.h:56
Definition hive_metastore_types.h:426
Definition hive_metastore_types.h:42
Definition hive_metastore_types.h:409
Definition hive_metastore_types.h:283
Definition hive_metastore_types.h:211
Definition hive_metastore_types.h:198
Definition hive_metastore_types.h:226
Definition hive_metastore_types.h:239
Definition hive_metastore_types.h:185
Definition hive_metastore_types.h:68
Definition hive_metastore_types.h:297
Definition hive_metastore_types.h:382
Definition hive_metastore_types.h:368
Definition hive_metastore_types.h:8770
Definition hive_metastore_types.h:6835
Definition hive_metastore_types.h:6886
Definition hive_metastore_types.h:9006
Definition hive_metastore_types.h:14998
Definition hive_metastore_types.h:5850
Definition hive_metastore_types.h:5806
Definition hive_metastore_types.h:4519
Definition hive_metastore_types.h:5168
Definition hive_metastore_types.h:15378
Definition hive_metastore_types.h:2718
Definition hive_metastore_types.h:12627
Definition hive_metastore_types.h:13608
Definition hive_metastore_types.h:13841
Definition hive_metastore_types.h:13673
Definition hive_metastore_types.h:9061
Definition hive_metastore_types.h:3479
Definition hive_metastore_types.h:3278
Definition hive_metastore_types.h:10054
Definition hive_metastore_types.h:2634
Definition hive_metastore_types.h:5089
Definition hive_metastore_types.h:7767
Definition hive_metastore_types.h:3779
Definition hive_metastore_types.h:3879
Definition hive_metastore_types.h:3932
Definition hive_metastore_types.h:7106
Definition hive_metastore_types.h:15834
Definition hive_metastore_types.h:8208
Definition hive_metastore_types.h:8352
Definition hive_metastore_types.h:8131
Definition hive_metastore_types.h:8495
Definition hive_metastore_types.h:15606
Definition hive_metastore_types.h:2682
Definition hive_metastore_types.h:13129
Definition hive_metastore_types.h:13058
Definition hive_metastore_types.h:3222
Definition hive_metastore_types.h:6410
Definition hive_metastore_types.h:2902
Definition hive_metastore_types.h:3641
Definition hive_metastore_types.h:3557
Definition hive_metastore_types.h:5010
Definition hive_metastore_types.h:3323
Definition hive_metastore_types.h:2866
Definition hive_metastore_types.h:5247
Definition hive_metastore_types.h:13313
Definition hive_metastore_types.h:10650
Definition hive_metastore_types.h:6102
Definition hive_metastore_types.h:5954
Definition hive_metastore_types.h:6033
Definition hive_metastore_types.h:5918
Definition hive_metastore_types.h:10515
Definition hive_metastore_types.h:1180
Definition hive_metastore_types.h:10468
Definition hive_metastore_types.h:1136
Definition hive_metastore_types.h:3978
Definition hive_metastore_types.h:8962
Definition hive_metastore_types.h:12827
Definition hive_metastore_types.h:12783
Definition hive_metastore_types.h:9426
Definition hive_metastore_types.h:9470
Definition hive_metastore_types.h:9528
Definition hive_metastore_types.h:4762
Definition hive_metastore_types.h:6522
Definition hive_metastore_types.h:10100
Definition hive_metastore_types.h:15221
Definition hive_metastore_types.h:2758
Definition hive_metastore_types.h:2794
Definition hive_metastore_types.h:2830
Definition hive_metastore_types.h:10569
Definition hive_metastore_types.h:14097
Definition hive_metastore_types.h:14835
Definition hive_metastore_types.h:6699
Definition hive_metastore_types.h:14508
Definition hive_metastore_types.h:14265
Definition hive_metastore_types.h:14444
Definition hive_metastore_types.h:6289
Definition hive_metastore_types.h:6371
Definition hive_metastore_types.h:13941
Definition hive_metastore_types.h:14021
Definition hive_metastore_types.h:13985
Definition hive_metastore_types.h:10166
Definition hive_metastore_types.h:14791
Definition hive_metastore_types.h:14181
Definition hive_metastore_types.h:12947
Definition hive_metastore_types.h:10210
Definition hive_metastore_types.h:10280
Definition hive_metastore_types.h:10412
Definition hive_metastore_types.h:10319
Definition hive_metastore_types.h:7220
Definition hive_metastore_types.h:2122
Definition hive_metastore_types.h:2526
Definition hive_metastore_types.h:2598
Definition hive_metastore_types.h:8025
Definition hive_metastore_types.h:1986
Definition hive_metastore_types.h:1870
Definition hive_metastore_types.h:12583
Definition hive_metastore_types.h:12503
Definition hive_metastore_types.h:9375
Definition hive_metastore_types.h:15644
Definition hive_metastore_types.h:15492
Definition hive_metastore_types.h:15568
Definition hive_metastore_types.h:15416
Definition hive_metastore_types.h:15126
Definition hive_metastore_types.h:14907
Definition hive_metastore_types.h:7587
Definition hive_metastore_types.h:7660
Definition hive_metastore_types.h:7721
Definition hive_metastore_types.h:3377
Definition hive_metastore_types.h:15264
Definition hive_metastore_types.h:9708
Definition hive_metastore_types.h:15872
Definition hive_metastore_types.h:15796
Definition hive_metastore_types.h:15530
Definition hive_metastore_types.h:15682
Definition hive_metastore_types.h:4931
Definition hive_metastore_types.h:9116
Definition hive_metastore_types.h:9171
Definition hive_metastore_types.h:6744
Definition hive_metastore_types.h:3058
Definition hive_metastore_types.h:15165
Definition hive_metastore_types.h:4419
Definition hive_metastore_types.h:4379
Definition hive_metastore_types.h:4455
Definition hive_metastore_types.h:6160
Definition hive_metastore_types.h:4323
Definition hive_metastore_types.h:4239
Definition hive_metastore_types.h:5538
Definition hive_metastore_types.h:14348
Definition hive_metastore_types.h:5750
Definition hive_metastore_types.h:5654
Definition hive_metastore_types.h:4682
Definition hive_metastore_types.h:2078
Definition hive_metastore_types.h:2042
Definition hive_metastore_types.h:1930
Definition hive_metastore_types.h:1787
Definition hive_metastore_types.h:1834
Definition hive_metastore_types.h:1748
Definition hive_metastore_types.h:9921
Definition hive_metastore_types.h:13754
Definition hive_metastore_types.h:7017
Definition hive_metastore_types.h:7169
Definition hive_metastore_types.h:14708
Definition hive_metastore_types.h:5993
Definition hive_metastore_types.h:6478
Definition hive_metastore_types.h:2331
Definition hive_metastore_types.h:2287
Definition hive_metastore_types.h:12983
Definition hive_metastore_types.h:1644
Definition hive_metastore_types.h:1576
Definition hive_metastore_types.h:1508
Definition hive_metastore_types.h:1284
Definition hive_metastore_types.h:1444
Definition hive_metastore_types.h:1216
Definition hive_metastore_types.h:1376
Definition hive_metastore_types.h:13419
Definition hive_metastore_types.h:13559
Definition hive_metastore_types.h:13467
Definition hive_metastore_types.h:12743
Definition hive_metastore_types.h:12667
Definition hive_metastore_types.h:4642
Definition hive_metastore_types.h:2994
Definition hive_metastore_types.h:4561
Definition hive_metastore_types.h:12903
Definition hive_metastore_types.h:8540
Definition hive_metastore_types.h:8612
Definition hive_metastore_types.h:7840
Definition hive_metastore_types.h:7892
Definition hive_metastore_types.h:7989
Definition hive_metastore_types.h:3098
Definition hive_metastore_types.h:3142
Definition hive_metastore_types.h:14946
Definition hive_metastore_types.h:3431
Definition hive_metastore_types.h:10770
Definition hive_metastore_types.h:5693
Definition hive_metastore_types.h:5615
Definition hive_metastore_types.h:7263
Definition hive_metastore_types.h:4052
Definition hive_metastore_types.h:3725
Definition hive_metastore_types.h:2206
Definition hive_metastore_types.h:15720
Definition hive_metastore_types.h:6598
Definition hive_metastore_types.h:15758
Definition hive_metastore_types.h:1700
Definition hive_metastore_types.h:4852
Definition hive_metastore_types.h:15340
Definition hive_metastore_types.h:15454
Definition hive_metastore_types.h:15302
Definition hive_metastore_types.h:1096
Definition hive_metastore_types.h:12156
Definition hive_metastore_types.h:11581
Definition hive_metastore_types.h:11637
Definition hive_metastore_types.h:11883
Definition hive_metastore_types.h:12093
Definition hive_metastore_types.h:11294
Definition hive_metastore_types.h:11820
Definition hive_metastore_types.h:12361
Definition hive_metastore_types.h:12223
Definition hive_metastore_types.h:11753
Definition hive_metastore_types.h:11946
Definition hive_metastore_types.h:11244
Definition hive_metastore_types.h:11509
Definition hive_metastore_types.h:11545
Definition hive_metastore_types.h:11433
Definition hive_metastore_types.h:11473
Definition hive_metastore_types.h:11149
Definition hive_metastore_types.h:11037
Definition hive_metastore_types.h:10919
Definition hive_metastore_types.h:11202
Definition hive_metastore_types.h:10983
Definition hive_metastore_types.h:10864
Definition hive_metastore_types.h:11095
Definition hive_metastore_types.h:6961
Definition hive_metastore_types.h:9564