GPUdb C++ API  Version 6.1.0.0
GPUdbFunctions.hpp
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the GPUdb schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
18 AdminAlterConfigurationResponse adminAlterConfiguration( const AdminAlterConfigurationRequest& request_ ) const;
19 
34 AdminAlterConfigurationResponse& adminAlterConfiguration( const AdminAlterConfigurationRequest& request_,
35  AdminAlterConfigurationResponse& response_ ) const;
36 
48 AdminAlterConfigurationResponse adminAlterConfiguration( const std::string& configString,
49  const std::map<std::string, std::string>& options ) const;
50 
65 AdminAlterConfigurationResponse& adminAlterConfiguration( const std::string& configString,
66  const std::map<std::string, std::string>& options,
67  AdminAlterConfigurationResponse& response_ ) const;
68 
84 AdminAlterJobsResponse adminAlterJobs( const AdminAlterJobsRequest& request_ ) const;
85 
104 AdminAlterJobsResponse& adminAlterJobs( const AdminAlterJobsRequest& request_,
105  AdminAlterJobsResponse& response_ ) const;
106 
126 AdminAlterJobsResponse adminAlterJobs( const std::vector<int32_t>& jobIds,
127  const std::string& action,
128  const std::map<std::string, std::string>& options ) const;
129 
152 AdminAlterJobsResponse& adminAlterJobs( const std::vector<int32_t>& jobIds,
153  const std::string& action,
154  const std::map<std::string, std::string>& options,
155  AdminAlterJobsResponse& response_ ) const;
156 
168 AdminOfflineResponse adminOffline( const AdminOfflineRequest& request_ ) const;
169 
184 AdminOfflineResponse& adminOffline( const AdminOfflineRequest& request_,
185  AdminOfflineResponse& response_ ) const;
186 
210 AdminOfflineResponse adminOffline( const bool offline,
211  const std::map<std::string, std::string>& options ) const;
212 
239 AdminOfflineResponse& adminOffline( const bool offline,
240  const std::map<std::string, std::string>& options,
241  AdminOfflineResponse& response_ ) const;
242 
253 AdminShowConfigurationResponse adminShowConfiguration( const AdminShowConfigurationRequest& request_ ) const;
254 
268 AdminShowConfigurationResponse& adminShowConfiguration( const AdminShowConfigurationRequest& request_,
269  AdminShowConfigurationResponse& response_ ) const;
270 
280 AdminShowConfigurationResponse adminShowConfiguration( const std::map<std::string, std::string>& options ) const;
281 
294 AdminShowConfigurationResponse& adminShowConfiguration( const std::map<std::string, std::string>& options,
295  AdminShowConfigurationResponse& response_ ) const;
296 
307 AdminShowJobsResponse adminShowJobs( const AdminShowJobsRequest& request_ ) const;
308 
322 AdminShowJobsResponse& adminShowJobs( const AdminShowJobsRequest& request_,
323  AdminShowJobsResponse& response_ ) const;
324 
341 AdminShowJobsResponse adminShowJobs( const std::map<std::string, std::string>& options ) const;
342 
362 AdminShowJobsResponse& adminShowJobs( const std::map<std::string, std::string>& options,
363  AdminShowJobsResponse& response_ ) const;
364 
377 AdminShowShardsResponse adminShowShards( const AdminShowShardsRequest& request_ ) const;
378 
394 AdminShowShardsResponse& adminShowShards( const AdminShowShardsRequest& request_,
395  AdminShowShardsResponse& response_ ) const;
396 
408 AdminShowShardsResponse adminShowShards( const std::map<std::string, std::string>& options ) const;
409 
424 AdminShowShardsResponse& adminShowShards( const std::map<std::string, std::string>& options,
425  AdminShowShardsResponse& response_ ) const;
426 
437 AdminShutdownResponse adminShutdown( const AdminShutdownRequest& request_ ) const;
438 
452 AdminShutdownResponse& adminShutdown( const AdminShutdownRequest& request_,
453  AdminShutdownResponse& response_ ) const;
454 
466 AdminShutdownResponse adminShutdown( const std::string& exitType,
467  const std::string& authorization,
468  const std::map<std::string, std::string>& options ) const;
469 
484 AdminShutdownResponse& adminShutdown( const std::string& exitType,
485  const std::string& authorization,
486  const std::map<std::string, std::string>& options,
487  AdminShutdownResponse& response_ ) const;
488 
501 AdminVerifyDbResponse adminVerifyDb( const AdminVerifyDbRequest& request_ ) const;
502 
518 AdminVerifyDbResponse& adminVerifyDb( const AdminVerifyDbRequest& request_,
519  AdminVerifyDbResponse& response_ ) const;
520 
546 AdminVerifyDbResponse adminVerifyDb( const std::map<std::string, std::string>& options ) const;
547 
576 AdminVerifyDbResponse& adminVerifyDb( const std::map<std::string, std::string>& options,
577  AdminVerifyDbResponse& response_ ) const;
578 
590 AggregateConvexHullResponse aggregateConvexHull( const AggregateConvexHullRequest& request_ ) const;
591 
606 AggregateConvexHullResponse& aggregateConvexHull( const AggregateConvexHullRequest& request_,
607  AggregateConvexHullResponse& response_ ) const;
608 
625 AggregateConvexHullResponse aggregateConvexHull( const std::string& tableName,
626  const std::string& xColumnName,
627  const std::string& yColumnName,
628  const std::map<std::string, std::string>& options ) const;
629 
649 AggregateConvexHullResponse& aggregateConvexHull( const std::string& tableName,
650  const std::string& xColumnName,
651  const std::string& yColumnName,
652  const std::map<std::string, std::string>& options,
653  AggregateConvexHullResponse& response_ ) const;
654 
708 RawAggregateGroupByResponse aggregateGroupByRaw( const AggregateGroupByRequest& request_ ) const;
709 
766 RawAggregateGroupByResponse& aggregateGroupByRaw( const AggregateGroupByRequest& request_,
767  RawAggregateGroupByResponse& response_ ) const;
768 
822 AggregateGroupByResponse aggregateGroupBy( const AggregateGroupByRequest& request_ ) const;
823 
880 AggregateGroupByResponse& aggregateGroupBy( const AggregateGroupByRequest& request_,
881  AggregateGroupByResponse& response_ ) const;
882 
1031 AggregateGroupByResponse aggregateGroupBy( const std::string& tableName,
1032  const std::vector<std::string>& columnNames,
1033  const int64_t offset,
1034  const int64_t limit,
1035  const std::map<std::string, std::string>& options ) const;
1036 
1188 AggregateGroupByResponse& aggregateGroupBy( const std::string& tableName,
1189  const std::vector<std::string>& columnNames,
1190  const int64_t offset,
1191  const int64_t limit,
1192  const std::map<std::string, std::string>& options,
1193  AggregateGroupByResponse& response_ ) const;
1194 
1213 AggregateHistogramResponse aggregateHistogram( const AggregateHistogramRequest& request_ ) const;
1214 
1236 AggregateHistogramResponse& aggregateHistogram( const AggregateHistogramRequest& request_,
1237  AggregateHistogramResponse& response_ ) const;
1238 
1269 AggregateHistogramResponse aggregateHistogram( const std::string& tableName,
1270  const std::string& columnName,
1271  const double start,
1272  const double end,
1273  const double interval,
1274  const std::map<std::string, std::string>& options ) const;
1275 
1309 AggregateHistogramResponse& aggregateHistogram( const std::string& tableName,
1310  const std::string& columnName,
1311  const double start,
1312  const double end,
1313  const double interval,
1314  const std::map<std::string, std::string>& options,
1315  AggregateHistogramResponse& response_ ) const;
1316 
1334 AggregateKMeansResponse aggregateKMeans( const AggregateKMeansRequest& request_ ) const;
1335 
1356 AggregateKMeansResponse& aggregateKMeans( const AggregateKMeansRequest& request_,
1357  AggregateKMeansResponse& response_ ) const;
1358 
1396 AggregateKMeansResponse aggregateKMeans( const std::string& tableName,
1397  const std::vector<std::string>& columnNames,
1398  const int32_t k,
1399  const double tolerance,
1400  const std::map<std::string, std::string>& options ) const;
1401 
1442 AggregateKMeansResponse& aggregateKMeans( const std::string& tableName,
1443  const std::vector<std::string>& columnNames,
1444  const int32_t k,
1445  const double tolerance,
1446  const std::map<std::string, std::string>& options,
1447  AggregateKMeansResponse& response_ ) const;
1448 
1460 AggregateMinMaxResponse aggregateMinMax( const AggregateMinMaxRequest& request_ ) const;
1461 
1476 AggregateMinMaxResponse& aggregateMinMax( const AggregateMinMaxRequest& request_,
1477  AggregateMinMaxResponse& response_ ) const;
1478 
1493 AggregateMinMaxResponse aggregateMinMax( const std::string& tableName,
1494  const std::string& columnName,
1495  const std::map<std::string, std::string>& options ) const;
1496 
1514 AggregateMinMaxResponse& aggregateMinMax( const std::string& tableName,
1515  const std::string& columnName,
1516  const std::map<std::string, std::string>& options,
1517  AggregateMinMaxResponse& response_ ) const;
1518 
1530 AggregateMinMaxGeometryResponse aggregateMinMaxGeometry( const AggregateMinMaxGeometryRequest& request_ ) const;
1531 
1546 AggregateMinMaxGeometryResponse& aggregateMinMaxGeometry( const AggregateMinMaxGeometryRequest& request_,
1547  AggregateMinMaxGeometryResponse& response_ ) const;
1548 
1563 AggregateMinMaxGeometryResponse aggregateMinMaxGeometry( const std::string& tableName,
1564  const std::string& columnName,
1565  const std::map<std::string, std::string>& options ) const;
1566 
1584 AggregateMinMaxGeometryResponse& aggregateMinMaxGeometry( const std::string& tableName,
1585  const std::string& columnName,
1586  const std::map<std::string, std::string>& options,
1587  AggregateMinMaxGeometryResponse& response_ ) const;
1588 
1630 AggregateStatisticsResponse aggregateStatistics( const AggregateStatisticsRequest& request_ ) const;
1631 
1676 AggregateStatisticsResponse& aggregateStatistics( const AggregateStatisticsRequest& request_,
1677  AggregateStatisticsResponse& response_ ) const;
1678 
1774 AggregateStatisticsResponse aggregateStatistics( const std::string& tableName,
1775  const std::string& columnName,
1776  const std::string& stats,
1777  const std::map<std::string, std::string>& options ) const;
1778 
1877 AggregateStatisticsResponse& aggregateStatistics( const std::string& tableName,
1878  const std::string& columnName,
1879  const std::string& stats,
1880  const std::map<std::string, std::string>& options,
1881  AggregateStatisticsResponse& response_ ) const;
1882 
1914 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_ ) const;
1915 
1950 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_,
1951  AggregateStatisticsByRangeResponse& response_ ) const;
1952 
2018 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const std::string& tableName,
2019  const std::string& selectExpression,
2020  const std::string& columnName,
2021  const std::string& valueColumnName,
2022  const std::string& stats,
2023  const double start,
2024  const double end,
2025  const double interval,
2026  const std::map<std::string, std::string>& options ) const;
2027 
2096 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const std::string& tableName,
2097  const std::string& selectExpression,
2098  const std::string& columnName,
2099  const std::string& valueColumnName,
2100  const std::string& stats,
2101  const double start,
2102  const double end,
2103  const double interval,
2104  const std::map<std::string, std::string>& options,
2105  AggregateStatisticsByRangeResponse& response_ ) const;
2106 
2147 RawAggregateUniqueResponse aggregateUniqueRaw( const AggregateUniqueRequest& request_ ) const;
2148 
2192 RawAggregateUniqueResponse& aggregateUniqueRaw( const AggregateUniqueRequest& request_,
2193  RawAggregateUniqueResponse& response_ ) const;
2194 
2235 AggregateUniqueResponse aggregateUnique( const AggregateUniqueRequest& request_ ) const;
2236 
2280 AggregateUniqueResponse& aggregateUnique( const AggregateUniqueRequest& request_,
2281  AggregateUniqueResponse& response_ ) const;
2282 
2383 AggregateUniqueResponse aggregateUnique( const std::string& tableName,
2384  const std::string& columnName,
2385  const int64_t offset,
2386  const int64_t limit,
2387  const std::map<std::string, std::string>& options ) const;
2388 
2492 AggregateUniqueResponse& aggregateUnique( const std::string& tableName,
2493  const std::string& columnName,
2494  const int64_t offset,
2495  const int64_t limit,
2496  const std::map<std::string, std::string>& options,
2497  AggregateUniqueResponse& response_ ) const;
2498 
2520 RawAggregateUnpivotResponse aggregateUnpivotRaw( const AggregateUnpivotRequest& request_ ) const;
2521 
2546 RawAggregateUnpivotResponse& aggregateUnpivotRaw( const AggregateUnpivotRequest& request_,
2547  RawAggregateUnpivotResponse& response_ ) const;
2548 
2570 AggregateUnpivotResponse aggregateUnpivot( const AggregateUnpivotRequest& request_ ) const;
2571 
2596 AggregateUnpivotResponse& aggregateUnpivot( const AggregateUnpivotRequest& request_,
2597  AggregateUnpivotResponse& response_ ) const;
2598 
2666 AggregateUnpivotResponse aggregateUnpivot( const std::string& tableName,
2667  const std::string& variableColumnName,
2668  const std::string& valueColumnName,
2669  const std::vector<std::string>& pivotedColumns,
2670  const std::map<std::string, std::string>& options ) const;
2671 
2742 AggregateUnpivotResponse& aggregateUnpivot( const std::string& tableName,
2743  const std::string& variableColumnName,
2744  const std::string& valueColumnName,
2745  const std::vector<std::string>& pivotedColumns,
2746  const std::map<std::string, std::string>& options,
2747  AggregateUnpivotResponse& response_ ) const;
2748 
2765 AlterSystemPropertiesResponse alterSystemProperties( const AlterSystemPropertiesRequest& request_ ) const;
2766 
2786 AlterSystemPropertiesResponse& alterSystemProperties( const AlterSystemPropertiesRequest& request_,
2787  AlterSystemPropertiesResponse& response_ ) const;
2788 
2917 AlterSystemPropertiesResponse alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
2918  const std::map<std::string, std::string>& options ) const;
2919 
3051 AlterSystemPropertiesResponse& alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
3052  const std::map<std::string, std::string>& options,
3053  AlterSystemPropertiesResponse& response_ ) const;
3054 
3097 AlterTableResponse alterTable( const AlterTableRequest& request_ ) const;
3098 
3144 AlterTableResponse& alterTable( const AlterTableRequest& request_,
3145  AlterTableResponse& response_ ) const;
3146 
3294 AlterTableResponse alterTable( const std::string& tableName,
3295  const std::string& action,
3296  const std::string& value,
3297  const std::map<std::string, std::string>& options ) const;
3298 
3449 AlterTableResponse& alterTable( const std::string& tableName,
3450  const std::string& action,
3451  const std::string& value,
3452  const std::map<std::string, std::string>& options,
3453  AlterTableResponse& response_ ) const;
3454 
3468 AlterTableMetadataResponse alterTableMetadata( const AlterTableMetadataRequest& request_ ) const;
3469 
3486 AlterTableMetadataResponse& alterTableMetadata( const AlterTableMetadataRequest& request_,
3487  AlterTableMetadataResponse& response_ ) const;
3488 
3509 AlterTableMetadataResponse alterTableMetadata( const std::vector<std::string>& tableNames,
3510  const std::map<std::string, std::string>& metadataMap,
3511  const std::map<std::string, std::string>& options ) const;
3512 
3536 AlterTableMetadataResponse& alterTableMetadata( const std::vector<std::string>& tableNames,
3537  const std::map<std::string, std::string>& metadataMap,
3538  const std::map<std::string, std::string>& options,
3539  AlterTableMetadataResponse& response_ ) const;
3540 
3551 AlterUserResponse alterUser( const AlterUserRequest& request_ ) const;
3552 
3566 AlterUserResponse& alterUser( const AlterUserRequest& request_,
3567  AlterUserResponse& response_ ) const;
3568 
3585 AlterUserResponse alterUser( const std::string& name,
3586  const std::string& action,
3587  const std::string& value,
3588  const std::map<std::string, std::string>& options ) const;
3589 
3609 AlterUserResponse& alterUser( const std::string& name,
3610  const std::string& action,
3611  const std::string& value,
3612  const std::map<std::string, std::string>& options,
3613  AlterUserResponse& response_ ) const;
3614 
3628 AppendRecordsResponse appendRecords( const AppendRecordsRequest& request_ ) const;
3629 
3646 AppendRecordsResponse& appendRecords( const AppendRecordsRequest& request_,
3647  AppendRecordsResponse& response_ ) const;
3648 
3710 AppendRecordsResponse appendRecords( const std::string& tableName,
3711  const std::string& sourceTableName,
3712  const std::map<std::string, std::string>& fieldMap,
3713  const std::map<std::string, std::string>& options ) const;
3714 
3779 AppendRecordsResponse& appendRecords( const std::string& tableName,
3780  const std::string& sourceTableName,
3781  const std::map<std::string, std::string>& fieldMap,
3782  const std::map<std::string, std::string>& options,
3783  AppendRecordsResponse& response_ ) const;
3784 
3798 ClearTableResponse clearTable( const ClearTableRequest& request_ ) const;
3799 
3816 ClearTableResponse& clearTable( const ClearTableRequest& request_,
3817  ClearTableResponse& response_ ) const;
3818 
3846 ClearTableResponse clearTable( const std::string& tableName,
3847  const std::string& authorization,
3848  const std::map<std::string, std::string>& options ) const;
3849 
3880 ClearTableResponse& clearTable( const std::string& tableName,
3881  const std::string& authorization,
3882  const std::map<std::string, std::string>& options,
3883  ClearTableResponse& response_ ) const;
3884 
3896 ClearTableMonitorResponse clearTableMonitor( const ClearTableMonitorRequest& request_ ) const;
3897 
3912 ClearTableMonitorResponse& clearTableMonitor( const ClearTableMonitorRequest& request_,
3913  ClearTableMonitorResponse& response_ ) const;
3914 
3926 ClearTableMonitorResponse clearTableMonitor( const std::string& topicId,
3927  const std::map<std::string, std::string>& options ) const;
3928 
3943 ClearTableMonitorResponse& clearTableMonitor( const std::string& topicId,
3944  const std::map<std::string, std::string>& options,
3945  ClearTableMonitorResponse& response_ ) const;
3946 
3959 ClearTriggerResponse clearTrigger( const ClearTriggerRequest& request_ ) const;
3960 
3976 ClearTriggerResponse& clearTrigger( const ClearTriggerRequest& request_,
3977  ClearTriggerResponse& response_ ) const;
3978 
3991 ClearTriggerResponse clearTrigger( const std::string& triggerId,
3992  const std::map<std::string, std::string>& options ) const;
3993 
4009 ClearTriggerResponse& clearTrigger( const std::string& triggerId,
4010  const std::map<std::string, std::string>& options,
4011  ClearTriggerResponse& response_ ) const;
4012 
4025 CreateJoinTableResponse createJoinTable( const CreateJoinTableRequest& request_ ) const;
4026 
4042 CreateJoinTableResponse& createJoinTable( const CreateJoinTableRequest& request_,
4043  CreateJoinTableResponse& response_ ) const;
4044 
4140 CreateJoinTableResponse createJoinTable( const std::string& joinTableName,
4141  const std::vector<std::string>& tableNames,
4142  const std::vector<std::string>& columnNames,
4143  const std::vector<std::string>& expressions,
4144  const std::map<std::string, std::string>& options ) const;
4145 
4244 CreateJoinTableResponse& createJoinTable( const std::string& joinTableName,
4245  const std::vector<std::string>& tableNames,
4246  const std::vector<std::string>& columnNames,
4247  const std::vector<std::string>& expressions,
4248  const std::map<std::string, std::string>& options,
4249  CreateJoinTableResponse& response_ ) const;
4250 
4264 CreateProcResponse createProc( const CreateProcRequest& request_ ) const;
4265 
4282 CreateProcResponse& createProc( const CreateProcRequest& request_,
4283  CreateProcResponse& response_ ) const;
4284 
4332 CreateProcResponse createProc( const std::string& procName,
4333  const std::string& executionMode,
4334  const std::map<std::string, std::vector<uint8_t> >& files,
4335  const std::string& command,
4336  const std::vector<std::string>& args,
4337  const std::map<std::string, std::string>& options ) const;
4338 
4389 CreateProcResponse& createProc( const std::string& procName,
4390  const std::string& executionMode,
4391  const std::map<std::string, std::vector<uint8_t> >& files,
4392  const std::string& command,
4393  const std::vector<std::string>& args,
4394  const std::map<std::string, std::string>& options,
4395  CreateProcResponse& response_ ) const;
4396 
4431 CreateProjectionResponse createProjection( const CreateProjectionRequest& request_ ) const;
4432 
4470 CreateProjectionResponse& createProjection( const CreateProjectionRequest& request_,
4471  CreateProjectionResponse& response_ ) const;
4472 
4565 CreateProjectionResponse createProjection( const std::string& tableName,
4566  const std::string& projectionName,
4567  const std::vector<std::string>& columnNames,
4568  const std::map<std::string, std::string>& options ) const;
4569 
4665 CreateProjectionResponse& createProjection( const std::string& tableName,
4666  const std::string& projectionName,
4667  const std::vector<std::string>& columnNames,
4668  const std::map<std::string, std::string>& options,
4669  CreateProjectionResponse& response_ ) const;
4670 
4681 CreateRoleResponse createRole( const CreateRoleRequest& request_ ) const;
4682 
4696 CreateRoleResponse& createRole( const CreateRoleRequest& request_,
4697  CreateRoleResponse& response_ ) const;
4698 
4711 CreateRoleResponse createRole( const std::string& name,
4712  const std::map<std::string, std::string>& options ) const;
4713 
4729 CreateRoleResponse& createRole( const std::string& name,
4730  const std::map<std::string, std::string>& options,
4731  CreateRoleResponse& response_ ) const;
4732 
4752 CreateTableResponse createTable( const CreateTableRequest& request_ ) const;
4753 
4776 CreateTableResponse& createTable( const CreateTableRequest& request_,
4777  CreateTableResponse& response_ ) const;
4778 
4883 CreateTableResponse createTable( const std::string& tableName,
4884  const std::string& typeId,
4885  const std::map<std::string, std::string>& options ) const;
4886 
4994 CreateTableResponse& createTable( const std::string& tableName,
4995  const std::string& typeId,
4996  const std::map<std::string, std::string>& options,
4997  CreateTableResponse& response_ ) const;
4998 
5018 CreateTableMonitorResponse createTableMonitor( const CreateTableMonitorRequest& request_ ) const;
5019 
5042 CreateTableMonitorResponse& createTableMonitor( const CreateTableMonitorRequest& request_,
5043  CreateTableMonitorResponse& response_ ) const;
5044 
5065 CreateTableMonitorResponse createTableMonitor( const std::string& tableName,
5066  const std::map<std::string, std::string>& options ) const;
5067 
5091 CreateTableMonitorResponse& createTableMonitor( const std::string& tableName,
5092  const std::map<std::string, std::string>& options,
5093  CreateTableMonitorResponse& response_ ) const;
5094 
5119 CreateTriggerByAreaResponse createTriggerByArea( const CreateTriggerByAreaRequest& request_ ) const;
5120 
5150 CreateTriggerByAreaResponse& createTriggerByArea( const CreateTriggerByAreaRequest& request_,
5151  CreateTriggerByAreaResponse& response_ ) const;
5152 
5194 CreateTriggerByAreaResponse createTriggerByArea( const std::string& requestId,
5195  const std::vector<std::string>& tableNames,
5196  const std::string& xColumnName,
5197  const std::vector<double>& xVector,
5198  const std::string& yColumnName,
5199  const std::vector<double>& yVector,
5200  const std::map<std::string, std::string>& options ) const;
5201 
5246 CreateTriggerByAreaResponse& createTriggerByArea( const std::string& requestId,
5247  const std::vector<std::string>& tableNames,
5248  const std::string& xColumnName,
5249  const std::vector<double>& xVector,
5250  const std::string& yColumnName,
5251  const std::vector<double>& yVector,
5252  const std::map<std::string, std::string>& options,
5253  CreateTriggerByAreaResponse& response_ ) const;
5254 
5278 CreateTriggerByRangeResponse createTriggerByRange( const CreateTriggerByRangeRequest& request_ ) const;
5279 
5307 CreateTriggerByRangeResponse& createTriggerByRange( const CreateTriggerByRangeRequest& request_,
5308  CreateTriggerByRangeResponse& response_ ) const;
5309 
5341 CreateTriggerByRangeResponse createTriggerByRange( const std::string& requestId,
5342  const std::vector<std::string>& tableNames,
5343  const std::string& columnName,
5344  const double min,
5345  const double max,
5346  const std::map<std::string, std::string>& options ) const;
5347 
5382 CreateTriggerByRangeResponse& createTriggerByRange( const std::string& requestId,
5383  const std::vector<std::string>& tableNames,
5384  const std::string& columnName,
5385  const double min,
5386  const double max,
5387  const std::map<std::string, std::string>& options,
5388  CreateTriggerByRangeResponse& response_ ) const;
5389 
5437 CreateTypeResponse createType( const CreateTypeRequest& request_ ) const;
5438 
5489 CreateTypeResponse& createType( const CreateTypeRequest& request_,
5490  CreateTypeResponse& response_ ) const;
5491 
5694 CreateTypeResponse createType( const std::string& typeDefinition,
5695  const std::string& label,
5696  const std::map<std::string, std::vector<std::string> >& properties,
5697  const std::map<std::string, std::string>& options ) const;
5698 
5904 CreateTypeResponse& createType( const std::string& typeDefinition,
5905  const std::string& label,
5906  const std::map<std::string, std::vector<std::string> >& properties,
5907  const std::map<std::string, std::string>& options,
5908  CreateTypeResponse& response_ ) const;
5909 
5927 CreateUnionResponse createUnion( const CreateUnionRequest& request_ ) const;
5928 
5949 CreateUnionResponse& createUnion( const CreateUnionRequest& request_,
5950  CreateUnionResponse& response_ ) const;
5951 
6036 CreateUnionResponse createUnion( const std::string& tableName,
6037  const std::vector<std::string>& tableNames,
6038  const std::vector<std::vector<std::string> >& inputColumnNames,
6039  const std::vector<std::string>& outputColumnNames,
6040  const std::map<std::string, std::string>& options ) const;
6041 
6129 CreateUnionResponse& createUnion( const std::string& tableName,
6130  const std::vector<std::string>& tableNames,
6131  const std::vector<std::vector<std::string> >& inputColumnNames,
6132  const std::vector<std::string>& outputColumnNames,
6133  const std::map<std::string, std::string>& options,
6134  CreateUnionResponse& response_ ) const;
6135 
6147 CreateUserExternalResponse createUserExternal( const CreateUserExternalRequest& request_ ) const;
6148 
6163 CreateUserExternalResponse& createUserExternal( const CreateUserExternalRequest& request_,
6164  CreateUserExternalResponse& response_ ) const;
6165 
6179 CreateUserExternalResponse createUserExternal( const std::string& name,
6180  const std::map<std::string, std::string>& options ) const;
6181 
6198 CreateUserExternalResponse& createUserExternal( const std::string& name,
6199  const std::map<std::string, std::string>& options,
6200  CreateUserExternalResponse& response_ ) const;
6201 
6213 CreateUserInternalResponse createUserInternal( const CreateUserInternalRequest& request_ ) const;
6214 
6229 CreateUserInternalResponse& createUserInternal( const CreateUserInternalRequest& request_,
6230  CreateUserInternalResponse& response_ ) const;
6231 
6247 CreateUserInternalResponse createUserInternal( const std::string& name,
6248  const std::string& password,
6249  const std::map<std::string, std::string>& options ) const;
6250 
6269 CreateUserInternalResponse& createUserInternal( const std::string& name,
6270  const std::string& password,
6271  const std::map<std::string, std::string>& options,
6272  CreateUserInternalResponse& response_ ) const;
6273 
6284 DeleteProcResponse deleteProc( const DeleteProcRequest& request_ ) const;
6285 
6299 DeleteProcResponse& deleteProc( const DeleteProcRequest& request_,
6300  DeleteProcResponse& response_ ) const;
6301 
6313 DeleteProcResponse deleteProc( const std::string& procName,
6314  const std::map<std::string, std::string>& options ) const;
6315 
6330 DeleteProcResponse& deleteProc( const std::string& procName,
6331  const std::map<std::string, std::string>& options,
6332  DeleteProcResponse& response_ ) const;
6333 
6350 DeleteRecordsResponse deleteRecords( const DeleteRecordsRequest& request_ ) const;
6351 
6371 DeleteRecordsResponse& deleteRecords( const DeleteRecordsRequest& request_,
6372  DeleteRecordsResponse& response_ ) const;
6373 
6407 DeleteRecordsResponse deleteRecords( const std::string& tableName,
6408  const std::vector<std::string>& expressions,
6409  const std::map<std::string, std::string>& options ) const;
6410 
6447 DeleteRecordsResponse& deleteRecords( const std::string& tableName,
6448  const std::vector<std::string>& expressions,
6449  const std::map<std::string, std::string>& options,
6450  DeleteRecordsResponse& response_ ) const;
6451 
6462 DeleteRoleResponse deleteRole( const DeleteRoleRequest& request_ ) const;
6463 
6477 DeleteRoleResponse& deleteRole( const DeleteRoleRequest& request_,
6478  DeleteRoleResponse& response_ ) const;
6479 
6490 DeleteRoleResponse deleteRole( const std::string& name,
6491  const std::map<std::string, std::string>& options ) const;
6492 
6506 DeleteRoleResponse& deleteRole( const std::string& name,
6507  const std::map<std::string, std::string>& options,
6508  DeleteRoleResponse& response_ ) const;
6509 
6520 DeleteUserResponse deleteUser( const DeleteUserRequest& request_ ) const;
6521 
6535 DeleteUserResponse& deleteUser( const DeleteUserRequest& request_,
6536  DeleteUserResponse& response_ ) const;
6537 
6548 DeleteUserResponse deleteUser( const std::string& name,
6549  const std::map<std::string, std::string>& options ) const;
6550 
6564 DeleteUserResponse& deleteUser( const std::string& name,
6565  const std::map<std::string, std::string>& options,
6566  DeleteUserResponse& response_ ) const;
6567 
6579 ExecuteProcResponse executeProc( const ExecuteProcRequest& request_ ) const;
6580 
6595 ExecuteProcResponse& executeProc( const ExecuteProcRequest& request_,
6596  ExecuteProcResponse& response_ ) const;
6597 
6658 ExecuteProcResponse executeProc( const std::string& procName,
6659  const std::map<std::string, std::string>& params,
6660  const std::map<std::string, std::vector<uint8_t> >& binParams,
6661  const std::vector<std::string>& inputTableNames,
6662  const std::map<std::string, std::vector<std::string> >& inputColumnNames,
6663  const std::vector<std::string>& outputTableNames,
6664  const std::map<std::string, std::string>& options ) const;
6665 
6729 ExecuteProcResponse& executeProc( const std::string& procName,
6730  const std::map<std::string, std::string>& params,
6731  const std::map<std::string, std::vector<uint8_t> >& binParams,
6732  const std::vector<std::string>& inputTableNames,
6733  const std::map<std::string, std::vector<std::string> >& inputColumnNames,
6734  const std::vector<std::string>& outputTableNames,
6735  const std::map<std::string, std::string>& options,
6736  ExecuteProcResponse& response_ ) const;
6737 
6756 FilterResponse filter( const FilterRequest& request_ ) const;
6757 
6779 FilterResponse& filter( const FilterRequest& request_,
6780  FilterResponse& response_ ) const;
6781 
6820 FilterResponse filter( const std::string& tableName,
6821  const std::string& viewName,
6822  const std::string& expression,
6823  const std::map<std::string, std::string>& options ) const;
6824 
6866 FilterResponse& filter( const std::string& tableName,
6867  const std::string& viewName,
6868  const std::string& expression,
6869  const std::map<std::string, std::string>& options,
6870  FilterResponse& response_ ) const;
6871 
6887 FilterByAreaResponse filterByArea( const FilterByAreaRequest& request_ ) const;
6888 
6907 FilterByAreaResponse& filterByArea( const FilterByAreaRequest& request_,
6908  FilterByAreaResponse& response_ ) const;
6909 
6940 FilterByAreaResponse filterByArea( const std::string& tableName,
6941  const std::string& viewName,
6942  const std::string& xColumnName,
6943  const std::vector<double>& xVector,
6944  const std::string& yColumnName,
6945  const std::vector<double>& yVector,
6946  const std::map<std::string, std::string>& options ) const;
6947 
6981 FilterByAreaResponse& filterByArea( const std::string& tableName,
6982  const std::string& viewName,
6983  const std::string& xColumnName,
6984  const std::vector<double>& xVector,
6985  const std::string& yColumnName,
6986  const std::vector<double>& yVector,
6987  const std::map<std::string, std::string>& options,
6988  FilterByAreaResponse& response_ ) const;
6989 
7006 FilterByAreaGeometryResponse filterByAreaGeometry( const FilterByAreaGeometryRequest& request_ ) const;
7007 
7027 FilterByAreaGeometryResponse& filterByAreaGeometry( const FilterByAreaGeometryRequest& request_,
7028  FilterByAreaGeometryResponse& response_ ) const;
7029 
7057 FilterByAreaGeometryResponse filterByAreaGeometry( const std::string& tableName,
7058  const std::string& viewName,
7059  const std::string& columnName,
7060  const std::vector<double>& xVector,
7061  const std::vector<double>& yVector,
7062  const std::map<std::string, std::string>& options ) const;
7063 
7094 FilterByAreaGeometryResponse& filterByAreaGeometry( const std::string& tableName,
7095  const std::string& viewName,
7096  const std::string& columnName,
7097  const std::vector<double>& xVector,
7098  const std::vector<double>& yVector,
7099  const std::map<std::string, std::string>& options,
7100  FilterByAreaGeometryResponse& response_ ) const;
7101 
7117 FilterByBoxResponse filterByBox( const FilterByBoxRequest& request_ ) const;
7118 
7137 FilterByBoxResponse& filterByBox( const FilterByBoxRequest& request_,
7138  FilterByBoxResponse& response_ ) const;
7139 
7172 FilterByBoxResponse filterByBox( const std::string& tableName,
7173  const std::string& viewName,
7174  const std::string& xColumnName,
7175  const double minX,
7176  const double maxX,
7177  const std::string& yColumnName,
7178  const double minY,
7179  const double maxY,
7180  const std::map<std::string, std::string>& options ) const;
7181 
7217 FilterByBoxResponse& filterByBox( const std::string& tableName,
7218  const std::string& viewName,
7219  const std::string& xColumnName,
7220  const double minX,
7221  const double maxX,
7222  const std::string& yColumnName,
7223  const double minY,
7224  const double maxY,
7225  const std::map<std::string, std::string>& options,
7226  FilterByBoxResponse& response_ ) const;
7227 
7243 FilterByBoxGeometryResponse filterByBoxGeometry( const FilterByBoxGeometryRequest& request_ ) const;
7244 
7263 FilterByBoxGeometryResponse& filterByBoxGeometry( const FilterByBoxGeometryRequest& request_,
7264  FilterByBoxGeometryResponse& response_ ) const;
7265 
7294 FilterByBoxGeometryResponse filterByBoxGeometry( const std::string& tableName,
7295  const std::string& viewName,
7296  const std::string& columnName,
7297  const double minX,
7298  const double maxX,
7299  const double minY,
7300  const double maxY,
7301  const std::map<std::string, std::string>& options ) const;
7302 
7334 FilterByBoxGeometryResponse& filterByBoxGeometry( const std::string& tableName,
7335  const std::string& viewName,
7336  const std::string& columnName,
7337  const double minX,
7338  const double maxX,
7339  const double minY,
7340  const double maxY,
7341  const std::map<std::string, std::string>& options,
7342  FilterByBoxGeometryResponse& response_ ) const;
7343 
7356 FilterByGeometryResponse filterByGeometry( const FilterByGeometryRequest& request_ ) const;
7357 
7373 FilterByGeometryResponse& filterByGeometry( const FilterByGeometryRequest& request_,
7374  FilterByGeometryResponse& response_ ) const;
7375 
7418 FilterByGeometryResponse filterByGeometry( const std::string& tableName,
7419  const std::string& viewName,
7420  const std::string& columnName,
7421  const std::string& inputWkt,
7422  const std::string& operation,
7423  const std::map<std::string, std::string>& options ) const;
7424 
7470 FilterByGeometryResponse& filterByGeometry( const std::string& tableName,
7471  const std::string& viewName,
7472  const std::string& columnName,
7473  const std::string& inputWkt,
7474  const std::string& operation,
7475  const std::map<std::string, std::string>& options,
7476  FilterByGeometryResponse& response_ ) const;
7477 
7501 FilterByListResponse filterByList( const FilterByListRequest& request_ ) const;
7502 
7529 FilterByListResponse& filterByList( const FilterByListRequest& request_,
7530  FilterByListResponse& response_ ) const;
7531 
7576 FilterByListResponse filterByList( const std::string& tableName,
7577  const std::string& viewName,
7578  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
7579  const std::map<std::string, std::string>& options ) const;
7580 
7628 FilterByListResponse& filterByList( const std::string& tableName,
7629  const std::string& viewName,
7630  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
7631  const std::map<std::string, std::string>& options,
7632  FilterByListResponse& response_ ) const;
7633 
7654 FilterByRadiusResponse filterByRadius( const FilterByRadiusRequest& request_ ) const;
7655 
7679 FilterByRadiusResponse& filterByRadius( const FilterByRadiusRequest& request_,
7680  FilterByRadiusResponse& response_ ) const;
7681 
7722 FilterByRadiusResponse filterByRadius( const std::string& tableName,
7723  const std::string& viewName,
7724  const std::string& xColumnName,
7725  const double xCenter,
7726  const std::string& yColumnName,
7727  const double yCenter,
7728  const double radius,
7729  const std::map<std::string, std::string>& options ) const;
7730 
7774 FilterByRadiusResponse& filterByRadius( const std::string& tableName,
7775  const std::string& viewName,
7776  const std::string& xColumnName,
7777  const double xCenter,
7778  const std::string& yColumnName,
7779  const double yCenter,
7780  const double radius,
7781  const std::map<std::string, std::string>& options,
7782  FilterByRadiusResponse& response_ ) const;
7783 
7800 FilterByRadiusGeometryResponse filterByRadiusGeometry( const FilterByRadiusGeometryRequest& request_ ) const;
7801 
7821 FilterByRadiusGeometryResponse& filterByRadiusGeometry( const FilterByRadiusGeometryRequest& request_,
7822  FilterByRadiusGeometryResponse& response_ ) const;
7823 
7856 FilterByRadiusGeometryResponse filterByRadiusGeometry( const std::string& tableName,
7857  const std::string& viewName,
7858  const std::string& columnName,
7859  const double xCenter,
7860  const double yCenter,
7861  const double radius,
7862  const std::map<std::string, std::string>& options ) const;
7863 
7899 FilterByRadiusGeometryResponse& filterByRadiusGeometry( const std::string& tableName,
7900  const std::string& viewName,
7901  const std::string& columnName,
7902  const double xCenter,
7903  const double yCenter,
7904  const double radius,
7905  const std::map<std::string, std::string>& options,
7906  FilterByRadiusGeometryResponse& response_ ) const;
7907 
7927 FilterByRangeResponse filterByRange( const FilterByRangeRequest& request_ ) const;
7928 
7951 FilterByRangeResponse& filterByRange( const FilterByRangeRequest& request_,
7952  FilterByRangeResponse& response_ ) const;
7953 
7981 FilterByRangeResponse filterByRange( const std::string& tableName,
7982  const std::string& viewName,
7983  const std::string& columnName,
7984  const double lowerBound,
7985  const double upperBound,
7986  const std::map<std::string, std::string>& options ) const;
7987 
8018 FilterByRangeResponse& filterByRange( const std::string& tableName,
8019  const std::string& viewName,
8020  const std::string& columnName,
8021  const double lowerBound,
8022  const double upperBound,
8023  const std::map<std::string, std::string>& options,
8024  FilterByRangeResponse& response_ ) const;
8025 
8049 FilterBySeriesResponse filterBySeries( const FilterBySeriesRequest& request_ ) const;
8050 
8077 FilterBySeriesResponse& filterBySeries( const FilterBySeriesRequest& request_,
8078  FilterBySeriesResponse& response_ ) const;
8079 
8135 FilterBySeriesResponse filterBySeries( const std::string& tableName,
8136  const std::string& viewName,
8137  const std::string& trackId,
8138  const std::vector<std::string>& targetTrackIds,
8139  const std::map<std::string, std::string>& options ) const;
8140 
8199 FilterBySeriesResponse& filterBySeries( const std::string& tableName,
8200  const std::string& viewName,
8201  const std::string& trackId,
8202  const std::vector<std::string>& targetTrackIds,
8203  const std::map<std::string, std::string>& options,
8204  FilterBySeriesResponse& response_ ) const;
8205 
8220 FilterByStringResponse filterByString( const FilterByStringRequest& request_ ) const;
8221 
8239 FilterByStringResponse& filterByString( const FilterByStringRequest& request_,
8240  FilterByStringResponse& response_ ) const;
8241 
8296 FilterByStringResponse filterByString( const std::string& tableName,
8297  const std::string& viewName,
8298  const std::string& expression,
8299  const std::string& mode,
8300  const std::vector<std::string>& columnNames,
8301  const std::map<std::string, std::string>& options ) const;
8302 
8360 FilterByStringResponse& filterByString( const std::string& tableName,
8361  const std::string& viewName,
8362  const std::string& expression,
8363  const std::string& mode,
8364  const std::vector<std::string>& columnNames,
8365  const std::map<std::string, std::string>& options,
8366  FilterByStringResponse& response_ ) const;
8367 
8386 FilterByTableResponse filterByTable( const FilterByTableRequest& request_ ) const;
8387 
8409 FilterByTableResponse& filterByTable( const FilterByTableRequest& request_,
8410  FilterByTableResponse& response_ ) const;
8411 
8485 FilterByTableResponse filterByTable( const std::string& tableName,
8486  const std::string& viewName,
8487  const std::string& columnName,
8488  const std::string& sourceTableName,
8489  const std::string& sourceTableColumnName,
8490  const std::map<std::string, std::string>& options ) const;
8491 
8568 FilterByTableResponse& filterByTable( const std::string& tableName,
8569  const std::string& viewName,
8570  const std::string& columnName,
8571  const std::string& sourceTableName,
8572  const std::string& sourceTableColumnName,
8573  const std::map<std::string, std::string>& options,
8574  FilterByTableResponse& response_ ) const;
8575 
8595 FilterByValueResponse filterByValue( const FilterByValueRequest& request_ ) const;
8596 
8619 FilterByValueResponse& filterByValue( const FilterByValueRequest& request_,
8620  FilterByValueResponse& response_ ) const;
8621 
8652 FilterByValueResponse filterByValue( const std::string& tableName,
8653  const std::string& viewName,
8654  const bool isString,
8655  const double value,
8656  const std::string& valueStr,
8657  const std::string& columnName,
8658  const std::map<std::string, std::string>& options ) const;
8659 
8693 FilterByValueResponse& filterByValue( const std::string& tableName,
8694  const std::string& viewName,
8695  const bool isString,
8696  const double value,
8697  const std::string& valueStr,
8698  const std::string& columnName,
8699  const std::map<std::string, std::string>& options,
8700  FilterByValueResponse& response_ ) const;
8701 
8721 RawGetRecordsResponse getRecordsRaw( const GetRecordsRequest& request_ ) const;
8722 
8745 RawGetRecordsResponse& getRecordsRaw( const GetRecordsRequest& request_,
8746  RawGetRecordsResponse& response_ ) const;
8747 
8768 template<typename TResponse>
8769 GetRecordsResponse<TResponse> getRecords( const GetRecordsRequest& request_ ) const
8770 {
8771  if (request_.encoding != "binary")
8772  throw GPUdbException( "This function only supports binary encoding" );
8773 
8774  RawGetRecordsResponse actualResponse_;
8775  submitRequest("/get/records", request_, actualResponse_, false);
8776  GetRecordsResponse<TResponse> response_;
8777  response_.tableName = actualResponse_.tableName;
8778  response_.typeName = actualResponse_.typeName;
8779  response_.typeSchema = actualResponse_.typeSchema;
8780  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
8781  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
8782  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
8783  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
8784  return response_;
8785 }
8786 
8787 
8811 template<typename TResponse>
8812 GetRecordsResponse<TResponse>& getRecords( const GetRecordsRequest& request_,
8813  GetRecordsResponse<TResponse>& response_ ) const
8814 {
8815  if (request_.encoding != "binary")
8816  throw GPUdbException( "This function only supports binary encoding" );
8817 
8818  RawGetRecordsResponse actualResponse_;
8819  submitRequest("/get/records", request_, actualResponse_, false);
8820  response_.tableName = actualResponse_.tableName;
8821  response_.typeName = actualResponse_.typeName;
8822  response_.typeSchema = actualResponse_.typeSchema;
8823  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
8824  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
8825  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
8826  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
8827  return response_;
8828 }
8829 
8830 
8886 template<typename TResponse>
8887 GetRecordsResponse<TResponse> getRecords( const std::string& tableName,
8888  const int64_t offset,
8889  const int64_t limit,
8890  const std::map<std::string, std::string>& options ) const
8891 {
8892  GetRecordsRequest actualRequest_;
8893  actualRequest_.tableName = tableName;
8894  actualRequest_.offset = offset;
8895  actualRequest_.limit = limit;
8896  actualRequest_.options = options;
8897  RawGetRecordsResponse actualResponse_;
8898  submitRequest("/get/records", actualRequest_, actualResponse_, false);
8899  GetRecordsResponse<TResponse> response_;
8900  response_.tableName = actualResponse_.tableName;
8901  response_.typeName = actualResponse_.typeName;
8902  response_.typeSchema = actualResponse_.typeSchema;
8903  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
8904  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
8905  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
8906  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
8907  return response_;
8908 }
8909 
8910 
8969 template<typename TResponse>
8970 GetRecordsResponse<TResponse>& getRecords( const std::string& tableName,
8971  const int64_t offset,
8972  const int64_t limit,
8973  const std::map<std::string, std::string>& options,
8974  GetRecordsResponse<TResponse>& response_ ) const
8975 {
8976  GetRecordsRequest actualRequest_;
8977  actualRequest_.tableName = tableName;
8978  actualRequest_.offset = offset;
8979  actualRequest_.limit = limit;
8980  actualRequest_.options = options;
8981  RawGetRecordsResponse actualResponse_;
8982  submitRequest("/get/records", actualRequest_, actualResponse_, false);
8983  response_.tableName = actualResponse_.tableName;
8984  response_.typeName = actualResponse_.typeName;
8985  response_.typeSchema = actualResponse_.typeSchema;
8986  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
8987  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
8988  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
8989  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
8990  return response_;
8991 }
8992 
8993 
9015 template<typename TResponse>
9016 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
9017  const GetRecordsRequest& request_ ) const
9018 {
9019  if (request_.encoding != "binary")
9020  throw GPUdbException( "This function only supports binary encoding" );
9021 
9022  RawGetRecordsResponse actualResponse_;
9023  submitRequest("/get/records", request_, actualResponse_, false);
9024  GetRecordsResponse<TResponse> response_;
9025  response_.tableName = actualResponse_.tableName;
9026  response_.typeName = actualResponse_.typeName;
9027  response_.typeSchema = actualResponse_.typeSchema;
9028  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9029  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9030  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9031  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9032  return response_;
9033 }
9034 
9035 
9057 template<typename TResponse>
9058 GetRecordsResponse<TResponse> getRecords( const Type& type_,
9059  const GetRecordsRequest& request_ ) const
9060 {
9061  if (request_.encoding != "binary")
9062  throw GPUdbException( "This function only supports binary encoding" );
9063 
9064  RawGetRecordsResponse actualResponse_;
9065  submitRequest("/get/records", request_, actualResponse_, false);
9066  GetRecordsResponse<TResponse> response_;
9067  response_.tableName = actualResponse_.tableName;
9068  response_.typeName = actualResponse_.typeName;
9069  response_.typeSchema = actualResponse_.typeSchema;
9070  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9071  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9072  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9073  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9074  return response_;
9075 }
9076 
9077 
9102 template<typename TResponse>
9103 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
9104  const GetRecordsRequest& request_,
9105  GetRecordsResponse<TResponse>& response_ ) const
9106 {
9107  if (request_.encoding != "binary")
9108  throw GPUdbException( "This function only supports binary encoding" );
9109 
9110  RawGetRecordsResponse actualResponse_;
9111  submitRequest("/get/records", request_, actualResponse_, false);
9112  response_.tableName = actualResponse_.tableName;
9113  response_.typeName = actualResponse_.typeName;
9114  response_.typeSchema = actualResponse_.typeSchema;
9115  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9116  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9117  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9118  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9119  return response_;
9120 }
9121 
9122 
9147 template<typename TResponse>
9148 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
9149  const GetRecordsRequest& request_,
9150  GetRecordsResponse<TResponse>& response_ ) const
9151 {
9152  if (request_.encoding != "binary")
9153  throw GPUdbException( "This function only supports binary encoding" );
9154 
9155  RawGetRecordsResponse actualResponse_;
9156  submitRequest("/get/records", request_, actualResponse_, false);
9157  response_.tableName = actualResponse_.tableName;
9158  response_.typeName = actualResponse_.typeName;
9159  response_.typeSchema = actualResponse_.typeSchema;
9160  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9161  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9162  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9163  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9164  return response_;
9165 }
9166 
9167 
9224 template<typename TResponse>
9225 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
9226  const std::string& tableName,
9227  const int64_t offset,
9228  const int64_t limit,
9229  const std::map<std::string, std::string>& options ) const
9230 {
9231  GetRecordsRequest actualRequest_;
9232  actualRequest_.tableName = tableName;
9233  actualRequest_.offset = offset;
9234  actualRequest_.limit = limit;
9235  actualRequest_.options = options;
9236  RawGetRecordsResponse actualResponse_;
9237  submitRequest("/get/records", actualRequest_, actualResponse_, false);
9238  GetRecordsResponse<TResponse> response_;
9239  response_.tableName = actualResponse_.tableName;
9240  response_.typeName = actualResponse_.typeName;
9241  response_.typeSchema = actualResponse_.typeSchema;
9242  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9243  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9244  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9245  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9246  return response_;
9247 }
9248 
9249 
9306 template<typename TResponse>
9307 GetRecordsResponse<TResponse> getRecords( const Type& type_,
9308  const std::string& tableName,
9309  const int64_t offset,
9310  const int64_t limit,
9311  const std::map<std::string, std::string>& options ) const
9312 {
9313  GetRecordsRequest actualRequest_;
9314  actualRequest_.tableName = tableName;
9315  actualRequest_.offset = offset;
9316  actualRequest_.limit = limit;
9317  actualRequest_.options = options;
9318  RawGetRecordsResponse actualResponse_;
9319  submitRequest("/get/records", actualRequest_, actualResponse_, false);
9320  GetRecordsResponse<TResponse> response_;
9321  response_.tableName = actualResponse_.tableName;
9322  response_.typeName = actualResponse_.typeName;
9323  response_.typeSchema = actualResponse_.typeSchema;
9324  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9325  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9326  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9327  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9328  return response_;
9329 }
9330 
9331 
9391 template<typename TResponse>
9392 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
9393  const std::string& tableName,
9394  const int64_t offset,
9395  const int64_t limit,
9396  const std::map<std::string, std::string>& options,
9397  GetRecordsResponse<TResponse>& response_ ) const
9398 {
9399  GetRecordsRequest actualRequest_;
9400  actualRequest_.tableName = tableName;
9401  actualRequest_.offset = offset;
9402  actualRequest_.limit = limit;
9403  actualRequest_.options = options;
9404  RawGetRecordsResponse actualResponse_;
9405  submitRequest("/get/records", actualRequest_, actualResponse_, false);
9406  response_.tableName = actualResponse_.tableName;
9407  response_.typeName = actualResponse_.typeName;
9408  response_.typeSchema = actualResponse_.typeSchema;
9409  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9410  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9411  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9412  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9413  return response_;
9414 }
9415 
9416 
9476 template<typename TResponse>
9477 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
9478  const std::string& tableName,
9479  const int64_t offset,
9480  const int64_t limit,
9481  const std::map<std::string, std::string>& options,
9482  GetRecordsResponse<TResponse>& response_ ) const
9483 {
9484  GetRecordsRequest actualRequest_;
9485  actualRequest_.tableName = tableName;
9486  actualRequest_.offset = offset;
9487  actualRequest_.limit = limit;
9488  actualRequest_.options = options;
9489  RawGetRecordsResponse actualResponse_;
9490  submitRequest("/get/records", actualRequest_, actualResponse_, false);
9491  response_.tableName = actualResponse_.tableName;
9492  response_.typeName = actualResponse_.typeName;
9493  response_.typeSchema = actualResponse_.typeSchema;
9494  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9495  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
9496  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
9497  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
9498  return response_;
9499 }
9500 
9501 
9525 RawGetRecordsByColumnResponse getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_ ) const;
9526 
9553 RawGetRecordsByColumnResponse& getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_,
9554  RawGetRecordsByColumnResponse& response_ ) const;
9555 
9579 GetRecordsByColumnResponse getRecordsByColumn( const GetRecordsByColumnRequest& request_ ) const;
9580 
9607 GetRecordsByColumnResponse& getRecordsByColumn( const GetRecordsByColumnRequest& request_,
9608  GetRecordsByColumnResponse& response_ ) const;
9609 
9665 GetRecordsByColumnResponse getRecordsByColumn( const std::string& tableName,
9666  const std::vector<std::string>& columnNames,
9667  const int64_t offset,
9668  const int64_t limit,
9669  const std::map<std::string, std::string>& options ) const;
9670 
9729 GetRecordsByColumnResponse& getRecordsByColumn( const std::string& tableName,
9730  const std::vector<std::string>& columnNames,
9731  const int64_t offset,
9732  const int64_t limit,
9733  const std::map<std::string, std::string>& options,
9734  GetRecordsByColumnResponse& response_ ) const;
9735 
9756 RawGetRecordsBySeriesResponse getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_ ) const;
9757 
9782 RawGetRecordsBySeriesResponse& getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_,
9783  RawGetRecordsBySeriesResponse& response_ ) const;
9784 
9805 template<typename TResponse>
9806 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const GetRecordsBySeriesRequest& request_ ) const
9807 {
9808  if (request_.encoding != "binary")
9809  throw GPUdbException( "This function only supports binary encoding" );
9810 
9811  RawGetRecordsBySeriesResponse actualResponse_;
9812  submitRequest("/get/records/byseries", request_, actualResponse_, false);
9813  GetRecordsBySeriesResponse<TResponse> response_;
9814  response_.tableNames = actualResponse_.tableNames;
9815  response_.typeNames = actualResponse_.typeNames;
9816  response_.typeSchemas = actualResponse_.typeSchemas;
9817  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
9818 
9819  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
9820  {
9821  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
9822  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
9823  }
9824 
9825  return response_;
9826 }
9827 
9828 
9854 template<typename TResponse>
9855 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const GetRecordsBySeriesRequest& request_,
9856  GetRecordsBySeriesResponse<TResponse>& response_ ) const
9857 {
9858  if (request_.encoding != "binary")
9859  throw GPUdbException( "This function only supports binary encoding" );
9860 
9861  RawGetRecordsBySeriesResponse actualResponse_;
9862  submitRequest("/get/records/byseries", request_, actualResponse_, false);
9863  response_.tableNames = actualResponse_.tableNames;
9864  response_.typeNames = actualResponse_.typeNames;
9865  response_.typeSchemas = actualResponse_.typeSchemas;
9866  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
9867 
9868  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
9869  {
9870  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
9871  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
9872  }
9873 
9874  return response_;
9875 }
9876 
9877 
9915 template<typename TResponse>
9916 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const std::string& tableName,
9917  const std::string& worldTableName,
9918  const int32_t offset,
9919  const int32_t limit,
9920  const std::map<std::string, std::string>& options ) const
9921 {
9922  GetRecordsBySeriesRequest actualRequest_;
9923  actualRequest_.tableName = tableName;
9924  actualRequest_.worldTableName = worldTableName;
9925  actualRequest_.offset = offset;
9926  actualRequest_.limit = limit;
9927  actualRequest_.options = options;
9928  RawGetRecordsBySeriesResponse actualResponse_;
9929  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
9930  GetRecordsBySeriesResponse<TResponse> response_;
9931  response_.tableNames = actualResponse_.tableNames;
9932  response_.typeNames = actualResponse_.typeNames;
9933  response_.typeSchemas = actualResponse_.typeSchemas;
9934  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
9935 
9936  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
9937  {
9938  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
9939  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
9940  }
9941 
9942  return response_;
9943 }
9944 
9945 
9986 template<typename TResponse>
9987 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const std::string& tableName,
9988  const std::string& worldTableName,
9989  const int32_t offset,
9990  const int32_t limit,
9991  const std::map<std::string, std::string>& options,
9992  GetRecordsBySeriesResponse<TResponse>& response_ ) const
9993 {
9994  GetRecordsBySeriesRequest actualRequest_;
9995  actualRequest_.tableName = tableName;
9996  actualRequest_.worldTableName = worldTableName;
9997  actualRequest_.offset = offset;
9998  actualRequest_.limit = limit;
9999  actualRequest_.options = options;
10000  RawGetRecordsBySeriesResponse actualResponse_;
10001  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
10002  response_.tableNames = actualResponse_.tableNames;
10003  response_.typeNames = actualResponse_.typeNames;
10004  response_.typeSchemas = actualResponse_.typeSchemas;
10005  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10006 
10007  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10008  {
10009  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
10010  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10011  }
10012 
10013  return response_;
10014 }
10015 
10016 
10040 template<typename TResponse>
10041 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
10042  const GetRecordsBySeriesRequest& request_ ) const
10043 {
10044  if (request_.encoding != "binary")
10045  throw GPUdbException( "This function only supports binary encoding" );
10046 
10047  RawGetRecordsBySeriesResponse actualResponse_;
10048  submitRequest("/get/records/byseries", request_, actualResponse_, false);
10049  GetRecordsBySeriesResponse<TResponse> response_;
10050  response_.tableNames = actualResponse_.tableNames;
10051  response_.typeNames = actualResponse_.typeNames;
10052  response_.typeSchemas = actualResponse_.typeSchemas;
10053  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10054 
10055  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10056  {
10057  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
10058  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10059  }
10060 
10061  return response_;
10062 }
10063 
10064 
10087 template<typename TResponse>
10088 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
10089  const GetRecordsBySeriesRequest& request_ ) const
10090 {
10091  if (request_.encoding != "binary")
10092  throw GPUdbException( "This function only supports binary encoding" );
10093 
10094  RawGetRecordsBySeriesResponse actualResponse_;
10095  submitRequest("/get/records/byseries", request_, actualResponse_, false);
10096  GetRecordsBySeriesResponse<TResponse> response_;
10097  response_.tableNames = actualResponse_.tableNames;
10098  response_.typeNames = actualResponse_.typeNames;
10099  response_.typeSchemas = actualResponse_.typeSchemas;
10100  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10101 
10102  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10103  {
10104  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
10105  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10106  }
10107 
10108  return response_;
10109 }
10110 
10111 
10138 template<typename TResponse>
10139 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
10140  const GetRecordsBySeriesRequest& request_,
10141  GetRecordsBySeriesResponse<TResponse>& response_ ) const
10142 {
10143  if (request_.encoding != "binary")
10144  throw GPUdbException( "This function only supports binary encoding" );
10145 
10146  RawGetRecordsBySeriesResponse actualResponse_;
10147  submitRequest("/get/records/byseries", request_, actualResponse_, false);
10148  response_.tableNames = actualResponse_.tableNames;
10149  response_.typeNames = actualResponse_.typeNames;
10150  response_.typeSchemas = actualResponse_.typeSchemas;
10151  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10152 
10153  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10154  {
10155  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
10156  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10157  }
10158 
10159  return response_;
10160 }
10161 
10162 
10189 template<typename TResponse>
10190 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
10191  const GetRecordsBySeriesRequest& request_,
10192  GetRecordsBySeriesResponse<TResponse>& response_ ) const
10193 {
10194  if (request_.encoding != "binary")
10195  throw GPUdbException( "This function only supports binary encoding" );
10196 
10197  RawGetRecordsBySeriesResponse actualResponse_;
10198  submitRequest("/get/records/byseries", request_, actualResponse_, false);
10199  response_.tableNames = actualResponse_.tableNames;
10200  response_.typeNames = actualResponse_.typeNames;
10201  response_.typeSchemas = actualResponse_.typeSchemas;
10202  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10203 
10204  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10205  {
10206  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
10207  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10208  }
10209 
10210  return response_;
10211 }
10212 
10213 
10252 template<typename TResponse>
10253 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
10254  const std::string& tableName,
10255  const std::string& worldTableName,
10256  const int32_t offset,
10257  const int32_t limit,
10258  const std::map<std::string, std::string>& options ) const
10259 {
10260  GetRecordsBySeriesRequest actualRequest_;
10261  actualRequest_.tableName = tableName;
10262  actualRequest_.worldTableName = worldTableName;
10263  actualRequest_.offset = offset;
10264  actualRequest_.limit = limit;
10265  actualRequest_.options = options;
10266  RawGetRecordsBySeriesResponse actualResponse_;
10267  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
10268  GetRecordsBySeriesResponse<TResponse> response_;
10269  response_.tableNames = actualResponse_.tableNames;
10270  response_.typeNames = actualResponse_.typeNames;
10271  response_.typeSchemas = actualResponse_.typeSchemas;
10272  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10273 
10274  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10275  {
10276  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
10277  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10278  }
10279 
10280  return response_;
10281 }
10282 
10283 
10322 template<typename TResponse>
10323 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
10324  const std::string& tableName,
10325  const std::string& worldTableName,
10326  const int32_t offset,
10327  const int32_t limit,
10328  const std::map<std::string, std::string>& options ) const
10329 {
10330  GetRecordsBySeriesRequest actualRequest_;
10331  actualRequest_.tableName = tableName;
10332  actualRequest_.worldTableName = worldTableName;
10333  actualRequest_.offset = offset;
10334  actualRequest_.limit = limit;
10335  actualRequest_.options = options;
10336  RawGetRecordsBySeriesResponse actualResponse_;
10337  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
10338  GetRecordsBySeriesResponse<TResponse> response_;
10339  response_.tableNames = actualResponse_.tableNames;
10340  response_.typeNames = actualResponse_.typeNames;
10341  response_.typeSchemas = actualResponse_.typeSchemas;
10342  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10343 
10344  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10345  {
10346  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
10347  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10348  }
10349 
10350  return response_;
10351 }
10352 
10353 
10395 template<typename TResponse>
10396 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
10397  const std::string& tableName,
10398  const std::string& worldTableName,
10399  const int32_t offset,
10400  const int32_t limit,
10401  const std::map<std::string, std::string>& options,
10402  GetRecordsBySeriesResponse<TResponse>& response_ ) const
10403 {
10404  GetRecordsBySeriesRequest actualRequest_;
10405  actualRequest_.tableName = tableName;
10406  actualRequest_.worldTableName = worldTableName;
10407  actualRequest_.offset = offset;
10408  actualRequest_.limit = limit;
10409  actualRequest_.options = options;
10410  RawGetRecordsBySeriesResponse actualResponse_;
10411  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
10412  response_.tableNames = actualResponse_.tableNames;
10413  response_.typeNames = actualResponse_.typeNames;
10414  response_.typeSchemas = actualResponse_.typeSchemas;
10415  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10416 
10417  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10418  {
10419  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
10420  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10421  }
10422 
10423  return response_;
10424 }
10425 
10426 
10468 template<typename TResponse>
10469 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
10470  const std::string& tableName,
10471  const std::string& worldTableName,
10472  const int32_t offset,
10473  const int32_t limit,
10474  const std::map<std::string, std::string>& options,
10475  GetRecordsBySeriesResponse<TResponse>& response_ ) const
10476 {
10477  GetRecordsBySeriesRequest actualRequest_;
10478  actualRequest_.tableName = tableName;
10479  actualRequest_.worldTableName = worldTableName;
10480  actualRequest_.offset = offset;
10481  actualRequest_.limit = limit;
10482  actualRequest_.options = options;
10483  RawGetRecordsBySeriesResponse actualResponse_;
10484  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
10485  response_.tableNames = actualResponse_.tableNames;
10486  response_.typeNames = actualResponse_.typeNames;
10487  response_.typeSchemas = actualResponse_.typeSchemas;
10488  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
10489 
10490  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
10491  {
10492  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
10493  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
10494  }
10495 
10496  return response_;
10497 }
10498 
10499 
10518 RawGetRecordsFromCollectionResponse getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_ ) const;
10519 
10541 RawGetRecordsFromCollectionResponse& getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_,
10542  RawGetRecordsFromCollectionResponse& response_ ) const;
10543 
10563 template<typename TResponse>
10564 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_ ) const
10565 {
10566  if (request_.encoding != "binary")
10567  throw GPUdbException( "This function only supports binary encoding" );
10568 
10569  RawGetRecordsFromCollectionResponse actualResponse_;
10570  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
10571  GetRecordsFromCollectionResponse<TResponse> response_;
10572  response_.tableName = actualResponse_.tableName;
10573  response_.typeNames = actualResponse_.typeNames;
10574  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10575  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10576  response_.recordIds = actualResponse_.recordIds;
10577  return response_;
10578 }
10579 
10580 
10603 template<typename TResponse>
10604 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_,
10605  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
10606 {
10607  if (request_.encoding != "binary")
10608  throw GPUdbException( "This function only supports binary encoding" );
10609 
10610  RawGetRecordsFromCollectionResponse actualResponse_;
10611  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
10612  response_.tableName = actualResponse_.tableName;
10613  response_.typeNames = actualResponse_.typeNames;
10614  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10615  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10616  response_.recordIds = actualResponse_.recordIds;
10617  return response_;
10618 }
10619 
10620 
10660 template<typename TResponse>
10661 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const std::string& tableName,
10662  const int64_t offset,
10663  const int64_t limit,
10664  const std::map<std::string, std::string>& options ) const
10665 {
10666  GetRecordsFromCollectionRequest actualRequest_;
10667  actualRequest_.tableName = tableName;
10668  actualRequest_.offset = offset;
10669  actualRequest_.limit = limit;
10670  actualRequest_.options = options;
10671  RawGetRecordsFromCollectionResponse actualResponse_;
10672  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
10673  GetRecordsFromCollectionResponse<TResponse> response_;
10674  response_.tableName = actualResponse_.tableName;
10675  response_.typeNames = actualResponse_.typeNames;
10676  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10677  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10678  response_.recordIds = actualResponse_.recordIds;
10679  return response_;
10680 }
10681 
10682 
10725 template<typename TResponse>
10726 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const std::string& tableName,
10727  const int64_t offset,
10728  const int64_t limit,
10729  const std::map<std::string, std::string>& options,
10730  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
10731 {
10732  GetRecordsFromCollectionRequest actualRequest_;
10733  actualRequest_.tableName = tableName;
10734  actualRequest_.offset = offset;
10735  actualRequest_.limit = limit;
10736  actualRequest_.options = options;
10737  RawGetRecordsFromCollectionResponse actualResponse_;
10738  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
10739  response_.tableName = actualResponse_.tableName;
10740  response_.typeNames = actualResponse_.typeNames;
10741  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10742  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10743  response_.recordIds = actualResponse_.recordIds;
10744  return response_;
10745 }
10746 
10747 
10768 template<typename TResponse>
10769 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
10770  const GetRecordsFromCollectionRequest& request_ ) const
10771 {
10772  if (request_.encoding != "binary")
10773  throw GPUdbException( "This function only supports binary encoding" );
10774 
10775  RawGetRecordsFromCollectionResponse actualResponse_;
10776  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
10777  GetRecordsFromCollectionResponse<TResponse> response_;
10778  response_.tableName = actualResponse_.tableName;
10779  response_.typeNames = actualResponse_.typeNames;
10780  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
10781  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10782  response_.recordIds = actualResponse_.recordIds;
10783  return response_;
10784 }
10785 
10786 
10807 template<typename TResponse>
10808 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
10809  const GetRecordsFromCollectionRequest& request_ ) const
10810 {
10811  if (request_.encoding != "binary")
10812  throw GPUdbException( "This function only supports binary encoding" );
10813 
10814  RawGetRecordsFromCollectionResponse actualResponse_;
10815  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
10816  GetRecordsFromCollectionResponse<TResponse> response_;
10817  response_.tableName = actualResponse_.tableName;
10818  response_.typeNames = actualResponse_.typeNames;
10819  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
10820  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10821  response_.recordIds = actualResponse_.recordIds;
10822  return response_;
10823 }
10824 
10825 
10849 template<typename TResponse>
10850 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
10851  const GetRecordsFromCollectionRequest& request_,
10852  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
10853 {
10854  if (request_.encoding != "binary")
10855  throw GPUdbException( "This function only supports binary encoding" );
10856 
10857  RawGetRecordsFromCollectionResponse actualResponse_;
10858  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
10859  response_.tableName = actualResponse_.tableName;
10860  response_.typeNames = actualResponse_.typeNames;
10861  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
10862  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10863  response_.recordIds = actualResponse_.recordIds;
10864  return response_;
10865 }
10866 
10867 
10891 template<typename TResponse>
10892 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
10893  const GetRecordsFromCollectionRequest& request_,
10894  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
10895 {
10896  if (request_.encoding != "binary")
10897  throw GPUdbException( "This function only supports binary encoding" );
10898 
10899  RawGetRecordsFromCollectionResponse actualResponse_;
10900  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
10901  response_.tableName = actualResponse_.tableName;
10902  response_.typeNames = actualResponse_.typeNames;
10903  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
10904  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10905  response_.recordIds = actualResponse_.recordIds;
10906  return response_;
10907 }
10908 
10909 
10950 template<typename TResponse>
10951 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
10952  const std::string& tableName,
10953  const int64_t offset,
10954  const int64_t limit,
10955  const std::map<std::string, std::string>& options ) const
10956 {
10957  GetRecordsFromCollectionRequest actualRequest_;
10958  actualRequest_.tableName = tableName;
10959  actualRequest_.offset = offset;
10960  actualRequest_.limit = limit;
10961  actualRequest_.options = options;
10962  RawGetRecordsFromCollectionResponse actualResponse_;
10963  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
10964  GetRecordsFromCollectionResponse<TResponse> response_;
10965  response_.tableName = actualResponse_.tableName;
10966  response_.typeNames = actualResponse_.typeNames;
10967  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
10968  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10969  response_.recordIds = actualResponse_.recordIds;
10970  return response_;
10971 }
10972 
10973 
11014 template<typename TResponse>
11015 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
11016  const std::string& tableName,
11017  const int64_t offset,
11018  const int64_t limit,
11019  const std::map<std::string, std::string>& options ) const
11020 {
11021  GetRecordsFromCollectionRequest actualRequest_;
11022  actualRequest_.tableName = tableName;
11023  actualRequest_.offset = offset;
11024  actualRequest_.limit = limit;
11025  actualRequest_.options = options;
11026  RawGetRecordsFromCollectionResponse actualResponse_;
11027  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
11028  GetRecordsFromCollectionResponse<TResponse> response_;
11029  response_.tableName = actualResponse_.tableName;
11030  response_.typeNames = actualResponse_.typeNames;
11031  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
11032  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
11033  response_.recordIds = actualResponse_.recordIds;
11034  return response_;
11035 }
11036 
11037 
11081 template<typename TResponse>
11082 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
11083  const std::string& tableName,
11084  const int64_t offset,
11085  const int64_t limit,
11086  const std::map<std::string, std::string>& options,
11087  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
11088 {
11089  GetRecordsFromCollectionRequest actualRequest_;
11090  actualRequest_.tableName = tableName;
11091  actualRequest_.offset = offset;
11092  actualRequest_.limit = limit;
11093  actualRequest_.options = options;
11094  RawGetRecordsFromCollectionResponse actualResponse_;
11095  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
11096  response_.tableName = actualResponse_.tableName;
11097  response_.typeNames = actualResponse_.typeNames;
11098  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
11099  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
11100  response_.recordIds = actualResponse_.recordIds;
11101  return response_;
11102 }
11103 
11104 
11148 template<typename TResponse>
11149 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
11150  const std::string& tableName,
11151  const int64_t offset,
11152  const int64_t limit,
11153  const std::map<std::string, std::string>& options,
11154  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
11155 {
11156  GetRecordsFromCollectionRequest actualRequest_;
11157  actualRequest_.tableName = tableName;
11158  actualRequest_.offset = offset;
11159  actualRequest_.limit = limit;
11160  actualRequest_.options = options;
11161  RawGetRecordsFromCollectionResponse actualResponse_;
11162  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
11163  response_.tableName = actualResponse_.tableName;
11164  response_.typeNames = actualResponse_.typeNames;
11165  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
11166  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
11167  response_.recordIds = actualResponse_.recordIds;
11168  return response_;
11169 }
11170 
11171 
11182 GrantPermissionSystemResponse grantPermissionSystem( const GrantPermissionSystemRequest& request_ ) const;
11183 
11197 GrantPermissionSystemResponse& grantPermissionSystem( const GrantPermissionSystemRequest& request_,
11198  GrantPermissionSystemResponse& response_ ) const;
11199 
11220 GrantPermissionSystemResponse grantPermissionSystem( const std::string& name,
11221  const std::string& permission,
11222  const std::map<std::string, std::string>& options ) const;
11223 
11247 GrantPermissionSystemResponse& grantPermissionSystem( const std::string& name,
11248  const std::string& permission,
11249  const std::map<std::string, std::string>& options,
11250  GrantPermissionSystemResponse& response_ ) const;
11251 
11262 GrantPermissionTableResponse grantPermissionTable( const GrantPermissionTableRequest& request_ ) const;
11263 
11277 GrantPermissionTableResponse& grantPermissionTable( const GrantPermissionTableRequest& request_,
11278  GrantPermissionTableResponse& response_ ) const;
11279 
11309 GrantPermissionTableResponse grantPermissionTable( const std::string& name,
11310  const std::string& permission,
11311  const std::string& tableName,
11312  const std::string& filterExpression,
11313  const std::map<std::string, std::string>& options ) const;
11314 
11347 GrantPermissionTableResponse& grantPermissionTable( const std::string& name,
11348  const std::string& permission,
11349  const std::string& tableName,
11350  const std::string& filterExpression,
11351  const std::map<std::string, std::string>& options,
11352  GrantPermissionTableResponse& response_ ) const;
11353 
11364 GrantRoleResponse grantRole( const GrantRoleRequest& request_ ) const;
11365 
11379 GrantRoleResponse& grantRole( const GrantRoleRequest& request_,
11380  GrantRoleResponse& response_ ) const;
11381 
11395 GrantRoleResponse grantRole( const std::string& role,
11396  const std::string& member,
11397  const std::map<std::string, std::string>& options ) const;
11398 
11415 GrantRoleResponse& grantRole( const std::string& role,
11416  const std::string& member,
11417  const std::map<std::string, std::string>& options,
11418  GrantRoleResponse& response_ ) const;
11419 
11430 HasProcResponse hasProc( const HasProcRequest& request_ ) const;
11431 
11445 HasProcResponse& hasProc( const HasProcRequest& request_,
11446  HasProcResponse& response_ ) const;
11447 
11458 HasProcResponse hasProc( const std::string& procName,
11459  const std::map<std::string, std::string>& options ) const;
11460 
11474 HasProcResponse& hasProc( const std::string& procName,
11475  const std::map<std::string, std::string>& options,
11476  HasProcResponse& response_ ) const;
11477 
11488 HasTableResponse hasTable( const HasTableRequest& request_ ) const;
11489 
11503 HasTableResponse& hasTable( const HasTableRequest& request_,
11504  HasTableResponse& response_ ) const;
11505 
11516 HasTableResponse hasTable( const std::string& tableName,
11517  const std::map<std::string, std::string>& options ) const;
11518 
11532 HasTableResponse& hasTable( const std::string& tableName,
11533  const std::map<std::string, std::string>& options,
11534  HasTableResponse& response_ ) const;
11535 
11546 HasTypeResponse hasType( const HasTypeRequest& request_ ) const;
11547 
11561 HasTypeResponse& hasType( const HasTypeRequest& request_,
11562  HasTypeResponse& response_ ) const;
11563 
11574 HasTypeResponse hasType( const std::string& typeId,
11575  const std::map<std::string, std::string>& options ) const;
11576 
11590 HasTypeResponse& hasType( const std::string& typeId,
11591  const std::map<std::string, std::string>& options,
11592  HasTypeResponse& response_ ) const;
11593 
11621 InsertRecordsResponse insertRecordsRaw( const RawInsertRecordsRequest& request_ ) const;
11622 
11653 InsertRecordsResponse& insertRecordsRaw( const RawInsertRecordsRequest& request_,
11654  InsertRecordsResponse& response_ ) const;
11655 
11684 template<typename TRequest>
11685 InsertRecordsResponse insertRecords( const InsertRecordsRequest<TRequest>& request_ ) const
11686 {
11687  RawInsertRecordsRequest actualRequest_;
11688  actualRequest_.tableName = request_.tableName;
11689  avro::encode(actualRequest_.list, request_.data, this->m_threadCount, this->m_executor);
11690  actualRequest_.options = request_.options;
11691  InsertRecordsResponse actualResponse_;
11692  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
11693  return actualResponse_;
11694 }
11695 
11696 
11728 template<typename TRequest>
11729 InsertRecordsResponse& insertRecords( const InsertRecordsRequest<TRequest>& request_,
11730  InsertRecordsResponse& response_ ) const
11731 {
11732  RawInsertRecordsRequest actualRequest_;
11733  actualRequest_.tableName = request_.tableName;
11734  avro::encode(actualRequest_.list, request_.data, this->m_threadCount, this->m_executor);
11735  actualRequest_.options = request_.options;
11736  submitRequest("/insert/records", actualRequest_, response_, true);
11737  return response_;
11738 }
11739 
11740 
11803 template<typename TRequest>
11804 InsertRecordsResponse insertRecords( const std::string& tableName,
11805  const std::vector<TRequest>& data,
11806  const std::map<std::string, std::string>& options ) const
11807 {
11808  RawInsertRecordsRequest actualRequest_;
11809  actualRequest_.tableName = tableName;
11810  avro::encode(actualRequest_.list, data, this->m_threadCount, this->m_executor);
11811  actualRequest_.options = options;
11812  InsertRecordsResponse actualResponse_;
11813  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
11814  return actualResponse_;
11815 }
11816 
11817 
11883 template<typename TRequest>
11884 InsertRecordsResponse& insertRecords( const std::string& tableName,
11885  const std::vector<TRequest>& data,
11886  const std::map<std::string, std::string>& options,
11887  InsertRecordsResponse& response_ ) const
11888 {
11889  RawInsertRecordsRequest actualRequest_;
11890  actualRequest_.tableName = tableName;
11891  avro::encode(actualRequest_.list, data, this->m_threadCount, this->m_executor);
11892  actualRequest_.options = options;
11893  submitRequest("/insert/records", actualRequest_, response_, true);
11894  return response_;
11895 }
11896 
11897 
11916 InsertRecordsRandomResponse insertRecordsRandom( const InsertRecordsRandomRequest& request_ ) const;
11917 
11939 InsertRecordsRandomResponse& insertRecordsRandom( const InsertRecordsRandomRequest& request_,
11940  InsertRecordsRandomResponse& response_ ) const;
11941 
12130 InsertRecordsRandomResponse insertRecordsRandom( const std::string& tableName,
12131  const int64_t count,
12132  const std::map<std::string, std::map<std::string, double> >& options ) const;
12133 
12325 InsertRecordsRandomResponse& insertRecordsRandom( const std::string& tableName,
12326  const int64_t count,
12327  const std::map<std::string, std::map<std::string, double> >& options,
12328  InsertRecordsRandomResponse& response_ ) const;
12329 
12348 InsertSymbolResponse insertSymbol( const InsertSymbolRequest& request_ ) const;
12349 
12371 InsertSymbolResponse& insertSymbol( const InsertSymbolRequest& request_,
12372  InsertSymbolResponse& response_ ) const;
12373 
12413 InsertSymbolResponse insertSymbol( const std::string& symbolId,
12414  const std::string& symbolFormat,
12415  const std::vector<uint8_t>& symbolData,
12416  const std::map<std::string, std::string>& options ) const;
12417 
12460 InsertSymbolResponse& insertSymbol( const std::string& symbolId,
12461  const std::string& symbolFormat,
12462  const std::vector<uint8_t>& symbolData,
12463  const std::map<std::string, std::string>& options,
12464  InsertSymbolResponse& response_ ) const;
12465 
12476 KillProcResponse killProc( const KillProcRequest& request_ ) const;
12477 
12491 KillProcResponse& killProc( const KillProcRequest& request_,
12492  KillProcResponse& response_ ) const;
12493 
12507 KillProcResponse killProc( const std::string& runId,
12508  const std::map<std::string, std::string>& options ) const;
12509 
12526 KillProcResponse& killProc( const std::string& runId,
12527  const std::map<std::string, std::string>& options,
12528  KillProcResponse& response_ ) const;
12529 
12546 LockTableResponse lockTable( const LockTableRequest& request_ ) const;
12547 
12567 LockTableResponse& lockTable( const LockTableRequest& request_,
12568  LockTableResponse& response_ ) const;
12569 
12602 LockTableResponse lockTable( const std::string& tableName,
12603  const std::string& lockType,
12604  const std::map<std::string, std::string>& options ) const;
12605 
12641 LockTableResponse& lockTable( const std::string& tableName,
12642  const std::string& lockType,
12643  const std::map<std::string, std::string>& options,
12644  LockTableResponse& response_ ) const;
12645 
12664 MergeRecordsResponse mergeRecords( const MergeRecordsRequest& request_ ) const;
12665 
12687 MergeRecordsResponse& mergeRecords( const MergeRecordsRequest& request_,
12688  MergeRecordsResponse& response_ ) const;
12689 
12747 MergeRecordsResponse mergeRecords( const std::string& tableName,
12748  const std::vector<std::string>& sourceTableNames,
12749  const std::vector<std::map<std::string, std::string> >& fieldMaps,
12750  const std::map<std::string, std::string>& options ) const;
12751 
12812 MergeRecordsResponse& mergeRecords( const std::string& tableName,
12813  const std::vector<std::string>& sourceTableNames,
12814  const std::vector<std::map<std::string, std::string> >& fieldMaps,
12815  const std::map<std::string, std::string>& options,
12816  MergeRecordsResponse& response_ ) const;
12817 
12828 AdminReplaceTomResponse adminReplaceTom( const AdminReplaceTomRequest& request_ ) const;
12829 
12843 AdminReplaceTomResponse& adminReplaceTom( const AdminReplaceTomRequest& request_,
12844  AdminReplaceTomResponse& response_ ) const;
12845 
12856 AdminReplaceTomResponse adminReplaceTom( const int64_t oldRankTom,
12857  const int64_t newRankTom ) const;
12858 
12872 AdminReplaceTomResponse& adminReplaceTom( const int64_t oldRankTom,
12873  const int64_t newRankTom,
12874  AdminReplaceTomResponse& response_ ) const;
12875 
12886 RevokePermissionSystemResponse revokePermissionSystem( const RevokePermissionSystemRequest& request_ ) const;
12887 
12901 RevokePermissionSystemResponse& revokePermissionSystem( const RevokePermissionSystemRequest& request_,
12902  RevokePermissionSystemResponse& response_ ) const;
12903 
12926 RevokePermissionSystemResponse revokePermissionSystem( const std::string& name,
12927  const std::string& permission,
12928  const std::map<std::string, std::string>& options ) const;
12929 
12955 RevokePermissionSystemResponse& revokePermissionSystem( const std::string& name,
12956  const std::string& permission,
12957  const std::map<std::string, std::string>& options,
12958  RevokePermissionSystemResponse& response_ ) const;
12959 
12970 RevokePermissionTableResponse revokePermissionTable( const RevokePermissionTableRequest& request_ ) const;
12971 
12985 RevokePermissionTableResponse& revokePermissionTable( const RevokePermissionTableRequest& request_,
12986  RevokePermissionTableResponse& response_ ) const;
12987 
13014 RevokePermissionTableResponse revokePermissionTable( const std::string& name,
13015  const std::string& permission,
13016  const std::string& tableName,
13017  const std::map<std::string, std::string>& options ) const;
13018 
13048 RevokePermissionTableResponse& revokePermissionTable( const std::string& name,
13049  const std::string& permission,
13050  const std::string& tableName,
13051  const std::map<std::string, std::string>& options,
13052  RevokePermissionTableResponse& response_ ) const;
13053 
13064 RevokeRoleResponse revokeRole( const RevokeRoleRequest& request_ ) const;
13065 
13079 RevokeRoleResponse& revokeRole( const RevokeRoleRequest& request_,
13080  RevokeRoleResponse& response_ ) const;
13081 
13095 RevokeRoleResponse revokeRole( const std::string& role,
13096  const std::string& member,
13097  const std::map<std::string, std::string>& options ) const;
13098 
13115 RevokeRoleResponse& revokeRole( const std::string& role,
13116  const std::string& member,
13117  const std::map<std::string, std::string>& options,
13118  RevokeRoleResponse& response_ ) const;
13119 
13130 ShowProcResponse showProc( const ShowProcRequest& request_ ) const;
13131 
13145 ShowProcResponse& showProc( const ShowProcRequest& request_,
13146  ShowProcResponse& response_ ) const;
13147 
13170 ShowProcResponse showProc( const std::string& procName,
13171  const std::map<std::string, std::string>& options ) const;
13172 
13198 ShowProcResponse& showProc( const std::string& procName,
13199  const std::map<std::string, std::string>& options,
13200  ShowProcResponse& response_ ) const;
13201 
13216 ShowProcStatusResponse showProcStatus( const ShowProcStatusRequest& request_ ) const;
13217 
13235 ShowProcStatusResponse& showProcStatus( const ShowProcStatusRequest& request_,
13236  ShowProcStatusResponse& response_ ) const;
13237 
13267 ShowProcStatusResponse showProcStatus( const std::string& runId,
13268  const std::map<std::string, std::string>& options ) const;
13269 
13302 ShowProcStatusResponse& showProcStatus( const std::string& runId,
13303  const std::map<std::string, std::string>& options,
13304  ShowProcStatusResponse& response_ ) const;
13305 
13318 ShowSecurityResponse showSecurity( const ShowSecurityRequest& request_ ) const;
13319 
13335 ShowSecurityResponse& showSecurity( const ShowSecurityRequest& request_,
13336  ShowSecurityResponse& response_ ) const;
13337 
13352 ShowSecurityResponse showSecurity( const std::vector<std::string>& names,
13353  const std::map<std::string, std::string>& options ) const;
13354 
13372 ShowSecurityResponse& showSecurity( const std::vector<std::string>& names,
13373  const std::map<std::string, std::string>& options,
13374  ShowSecurityResponse& response_ ) const;
13375 
13387 ShowSystemPropertiesResponse showSystemProperties( const ShowSystemPropertiesRequest& request_ ) const;
13388 
13403 ShowSystemPropertiesResponse& showSystemProperties( const ShowSystemPropertiesRequest& request_,
13404  ShowSystemPropertiesResponse& response_ ) const;
13405 
13421 ShowSystemPropertiesResponse showSystemProperties( const std::map<std::string, std::string>& options ) const;
13422 
13441 ShowSystemPropertiesResponse& showSystemProperties( const std::map<std::string, std::string>& options,
13442  ShowSystemPropertiesResponse& response_ ) const;
13443 
13455 ShowSystemStatusResponse showSystemStatus( const ShowSystemStatusRequest& request_ ) const;
13456 
13471 ShowSystemStatusResponse& showSystemStatus( const ShowSystemStatusRequest& request_,
13472  ShowSystemStatusResponse& response_ ) const;
13473 
13484 ShowSystemStatusResponse showSystemStatus( const std::map<std::string, std::string>& options ) const;
13485 
13499 ShowSystemStatusResponse& showSystemStatus( const std::map<std::string, std::string>& options,
13500  ShowSystemStatusResponse& response_ ) const;
13501 
13514 ShowSystemTimingResponse showSystemTiming( const ShowSystemTimingRequest& request_ ) const;
13515 
13531 ShowSystemTimingResponse& showSystemTiming( const ShowSystemTimingRequest& request_,
13532  ShowSystemTimingResponse& response_ ) const;
13533 
13545 ShowSystemTimingResponse showSystemTiming( const std::map<std::string, std::string>& options ) const;
13546 
13561 ShowSystemTimingResponse& showSystemTiming( const std::map<std::string, std::string>& options,
13562  ShowSystemTimingResponse& response_ ) const;
13563 
13588 ShowTableResponse showTable( const ShowTableRequest& request_ ) const;
13589 
13617 ShowTableResponse& showTable( const ShowTableRequest& request_,
13618  ShowTableResponse& response_ ) const;
13619 
13682 ShowTableResponse showTable( const std::string& tableName,
13683  const std::map<std::string, std::string>& options ) const;
13684 
13750 ShowTableResponse& showTable( const std::string& tableName,
13751  const std::map<std::string, std::string>& options,
13752  ShowTableResponse& response_ ) const;
13753 
13764 ShowTableMetadataResponse showTableMetadata( const ShowTableMetadataRequest& request_ ) const;
13765 
13779 ShowTableMetadataResponse& showTableMetadata( const ShowTableMetadataRequest& request_,
13780  ShowTableMetadataResponse& response_ ) const;
13781 
13793 ShowTableMetadataResponse showTableMetadata( const std::vector<std::string>& tableNames,
13794  const std::map<std::string, std::string>& options ) const;
13795 
13810 ShowTableMetadataResponse& showTableMetadata( const std::vector<std::string>& tableNames,
13811  const std::map<std::string, std::string>& options,
13812  ShowTableMetadataResponse& response_ ) const;
13813 
13828 ShowTablesByTypeResponse showTablesByType( const ShowTablesByTypeRequest& request_ ) const;
13829 
13847 ShowTablesByTypeResponse& showTablesByType( const ShowTablesByTypeRequest& request_,
13848  ShowTablesByTypeResponse& response_ ) const;
13849 
13866 ShowTablesByTypeResponse showTablesByType( const std::string& typeId,
13867  const std::string& label,
13868  const std::map<std::string, std::string>& options ) const;
13869 
13889 ShowTablesByTypeResponse& showTablesByType( const std::string& typeId,
13890  const std::string& label,
13891  const std::map<std::string, std::string>& options,
13892  ShowTablesByTypeResponse& response_ ) const;
13893 
13905 ShowTriggersResponse showTriggers( const ShowTriggersRequest& request_ ) const;
13906 
13921 ShowTriggersResponse& showTriggers( const ShowTriggersRequest& request_,
13922  ShowTriggersResponse& response_ ) const;
13923 
13937 ShowTriggersResponse showTriggers( const std::vector<std::string>& triggerIds,
13938  const std::map<std::string, std::string>& options ) const;
13939 
13956 ShowTriggersResponse& showTriggers( const std::vector<std::string>& triggerIds,
13957  const std::map<std::string, std::string>& options,
13958  ShowTriggersResponse& response_ ) const;
13959 
13974 ShowTypesResponse showTypes( const ShowTypesRequest& request_ ) const;
13975 
13993 ShowTypesResponse& showTypes( const ShowTypesRequest& request_,
13994  ShowTypesResponse& response_ ) const;
13995 
14012 ShowTypesResponse showTypes( const std::string& typeId,
14013  const std::string& label,
14014  const std::map<std::string, std::string>& options ) const;
14015 
14035 ShowTypesResponse& showTypes( const std::string& typeId,
14036  const std::string& label,
14037  const std::map<std::string, std::string>& options,
14038  ShowTypesResponse& response_ ) const;
14039 
14068 UpdateRecordsResponse updateRecordsRaw( const RawUpdateRecordsRequest& request_ ) const;
14069 
14101 UpdateRecordsResponse& updateRecordsRaw( const RawUpdateRecordsRequest& request_,
14102  UpdateRecordsResponse& response_ ) const;
14103 
14133 template<typename TRequest>
14134 UpdateRecordsResponse updateRecords( const UpdateRecordsRequest<TRequest>& request_ ) const
14135 {
14136  RawUpdateRecordsRequest actualRequest_;
14137  actualRequest_.tableName = request_.tableName;
14138  actualRequest_.expressions = request_.expressions;
14139  actualRequest_.newValuesMaps = request_.newValuesMaps;
14140  avro::encode(actualRequest_.recordsToInsert, request_.data, this->m_threadCount, this->m_executor);
14141  actualRequest_.options = request_.options;
14142  UpdateRecordsResponse actualResponse_;
14143  submitRequest("/update/records", actualRequest_, actualResponse_, true);
14144  return actualResponse_;
14145 }
14146 
14147 
14180 template<typename TRequest>
14181 UpdateRecordsResponse& updateRecords( const UpdateRecordsRequest<TRequest>& request_,
14182  UpdateRecordsResponse& response_ ) const
14183 {
14184  RawUpdateRecordsRequest actualRequest_;
14185  actualRequest_.tableName = request_.tableName;
14186  actualRequest_.expressions = request_.expressions;
14187  actualRequest_.newValuesMaps = request_.newValuesMaps;
14188  avro::encode(actualRequest_.recordsToInsert, request_.data, this->m_threadCount, this->m_executor);
14189  actualRequest_.options = request_.options;
14190  submitRequest("/update/records", actualRequest_, response_, true);
14191  return response_;
14192 }
14193 
14194 
14267 template<typename TRequest>
14268 UpdateRecordsResponse updateRecords( const std::string& tableName,
14269  const std::vector<std::string>& expressions,
14270  const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps,
14271  const std::vector<TRequest>& data,
14272  const std::map<std::string, std::string>& options ) const
14273 {
14274  RawUpdateRecordsRequest actualRequest_;
14275  actualRequest_.tableName = tableName;
14276  actualRequest_.expressions = expressions;
14277  actualRequest_.newValuesMaps = newValuesMaps;
14278  avro::encode(actualRequest_.recordsToInsert, data, this->m_threadCount, this->m_executor);
14279  actualRequest_.options = options;
14280  UpdateRecordsResponse actualResponse_;
14281  submitRequest("/update/records", actualRequest_, actualResponse_, true);
14282  return actualResponse_;
14283 }
14284 
14285 
14361 template<typename TRequest>
14362 UpdateRecordsResponse& updateRecords( const std::string& tableName,
14363  const std::vector<std::string>& expressions,
14364  const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps,
14365  const std::vector<TRequest>& data,
14366  const std::map<std::string, std::string>& options,
14367  UpdateRecordsResponse& response_ ) const
14368 {
14369  RawUpdateRecordsRequest actualRequest_;
14370  actualRequest_.tableName = tableName;
14371  actualRequest_.expressions = expressions;
14372  actualRequest_.newValuesMaps = newValuesMaps;
14373  avro::encode(actualRequest_.recordsToInsert, data, this->m_threadCount, this->m_executor);
14374  actualRequest_.options = options;
14375  submitRequest("/update/records", actualRequest_, response_, true);
14376  return response_;
14377 }
14378 
14379 
14392 UpdateRecordsBySeriesResponse updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_ ) const;
14393 
14409 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_,
14410  UpdateRecordsBySeriesResponse& response_ ) const;
14411 
14430 UpdateRecordsBySeriesResponse updateRecordsBySeries( const std::string& tableName,
14431  const std::string& worldTableName,
14432  const std::string& viewName,
14433  const std::vector<std::string>& reserved,
14434  const std::map<std::string, std::string>& options ) const;
14435 
14457 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const std::string& tableName,
14458  const std::string& worldTableName,
14459  const std::string& viewName,
14460  const std::vector<std::string>& reserved,
14461  const std::map<std::string, std::string>& options,
14462  UpdateRecordsBySeriesResponse& response_ ) const;
14463 
14474 VisualizeImageResponse visualizeImage( const VisualizeImageRequest& request_ ) const;
14475 
14489 VisualizeImageResponse& visualizeImage( const VisualizeImageRequest& request_,
14490  VisualizeImageResponse& response_ ) const;
14491 
14614 VisualizeImageResponse visualizeImage( const std::vector<std::string>& tableNames,
14615  const std::vector<std::string>& worldTableNames,
14616  const std::string& xColumnName,
14617  const std::string& yColumnName,
14618  const std::string& geometryColumnName,
14619  const std::vector<std::vector<std::string> >& trackIds,
14620  const double minX,
14621  const double maxX,
14622  const double minY,
14623  const double maxY,
14624  const int32_t width,
14625  const int32_t height,
14626  const std::string& projection,
14627  const int64_t bgColor,
14628  const std::map<std::string, std::vector<std::string> >& styleOptions,
14629  const std::map<std::string, std::string>& options ) const;
14630 
14756 VisualizeImageResponse& visualizeImage( const std::vector<std::string>& tableNames,
14757  const std::vector<std::string>& worldTableNames,
14758  const std::string& xColumnName,
14759  const std::string& yColumnName,
14760  const std::string& geometryColumnName,
14761  const std::vector<std::vector<std::string> >& trackIds,
14762  const double minX,
14763  const double maxX,
14764  const double minY,
14765  const double maxY,
14766  const int32_t width,
14767  const int32_t height,
14768  const std::string& projection,
14769  const int64_t bgColor,
14770  const std::map<std::string, std::vector<std::string> >& styleOptions,
14771  const std::map<std::string, std::string>& options,
14772  VisualizeImageResponse& response_ ) const;
14773 
14788 VisualizeImageChartResponse visualizeImageChart( const VisualizeImageChartRequest& request_ ) const;
14789 
14807 VisualizeImageChartResponse& visualizeImageChart( const VisualizeImageChartRequest& request_,
14808  VisualizeImageChartResponse& response_ ) const;
14809 
14916 VisualizeImageChartResponse visualizeImageChart( const std::string& tableName,
14917  const std::string& xColumnName,
14918  const std::string& yColumnName,
14919  const double minX,
14920  const double maxX,
14921  const double minY,
14922  const double maxY,
14923  const int32_t width,
14924  const int32_t height,
14925  const std::string& bgColor,
14926  const std::map<std::string, std::vector<std::string> >& styleOptions,
14927  const std::map<std::string, std::string>& options ) const;
14928 
15038 VisualizeImageChartResponse& visualizeImageChart( const std::string& tableName,
15039  const std::string& xColumnName,
15040  const std::string& yColumnName,
15041  const double minX,
15042  const double maxX,
15043  const double minY,
15044  const double maxY,
15045  const int32_t width,
15046  const int32_t height,
15047  const std::string& bgColor,
15048  const std::map<std::string, std::vector<std::string> >& styleOptions,
15049  const std::map<std::string, std::string>& options,
15050  VisualizeImageChartResponse& response_ ) const;
15051 
15062 VisualizeImageClassbreakResponse visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_ ) const;
15063 
15077 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_,
15078  VisualizeImageClassbreakResponse& response_ ) const;
15079 
15251 VisualizeImageClassbreakResponse visualizeImageClassbreak( const std::vector<std::string>& tableNames,
15252  const std::vector<std::string>& worldTableNames,
15253  const std::string& xColumnName,
15254  const std::string& yColumnName,
15255  const std::string& geometryColumnName,
15256  const std::vector<std::vector<std::string> >& trackIds,
15257  const std::string& cbColumnName,
15258  const std::vector<std::string>& cbVals,
15259  const double minX,
15260  const double maxX,
15261  const double minY,
15262  const double maxY,
15263  const int32_t width,
15264  const int32_t height,
15265  const std::string& projection,
15266  const int64_t bgColor,
15267  const std::map<std::string, std::vector<std::string> >& styleOptions,
15268  const std::map<std::string, std::string>& options ) const;
15269 
15444 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const std::vector<std::string>& tableNames,
15445  const std::vector<std::string>& worldTableNames,
15446  const std::string& xColumnName,
15447  const std::string& yColumnName,
15448  const std::string& geometryColumnName,
15449  const std::vector<std::vector<std::string> >& trackIds,
15450  const std::string& cbColumnName,
15451  const std::vector<std::string>& cbVals,
15452  const double minX,
15453  const double maxX,
15454  const double minY,
15455  const double maxY,
15456  const int32_t width,
15457  const int32_t height,
15458  const std::string& projection,
15459  const int64_t bgColor,
15460  const std::map<std::string, std::vector<std::string> >& styleOptions,
15461  const std::map<std::string, std::string>& options,
15462  VisualizeImageClassbreakResponse& response_ ) const;
15463 
15474 VisualizeImageHeatmapResponse visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_ ) const;
15475 
15489 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_,
15490  VisualizeImageHeatmapResponse& response_ ) const;
15491 
15551 VisualizeImageHeatmapResponse visualizeImageHeatmap( const std::vector<std::string>& tableNames,
15552  const std::string& xColumnName,
15553  const std::string& yColumnName,
15554  const std::string& valueColumnName,
15555  const std::string& geometryColumnName,
15556  const double minX,
15557  const double maxX,
15558  const double minY,
15559  const double maxY,
15560  const int32_t width,
15561  const int32_t height,
15562  const std::string& projection,
15563  const std::map<std::string, std::string>& styleOptions,
15564  const std::map<std::string, std::string>& options ) const;
15565 
15628 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const std::vector<std::string>& tableNames,
15629  const std::string& xColumnName,
15630  const std::string& yColumnName,
15631  const std::string& valueColumnName,
15632  const std::string& geometryColumnName,
15633  const double minX,
15634  const double maxX,
15635  const double minY,
15636  const double maxY,
15637  const int32_t width,
15638  const int32_t height,
15639  const std::string& projection,
15640  const std::map<std::string, std::string>& styleOptions,
15641  const std::map<std::string, std::string>& options,
15642  VisualizeImageHeatmapResponse& response_ ) const;
15643 
15654 VisualizeImageLabelsResponse visualizeImageLabels( const VisualizeImageLabelsRequest& request_ ) const;
15655 
15669 VisualizeImageLabelsResponse& visualizeImageLabels( const VisualizeImageLabelsRequest& request_,
15670  VisualizeImageLabelsResponse& response_ ) const;
15671 
15719 VisualizeImageLabelsResponse visualizeImageLabels( const std::string& tableName,
15720  const std::string& xColumnName,
15721  const std::string& yColumnName,
15722  const std::string& xOffset,
15723  const std::string& yOffset,
15724  const std::string& textString,
15725  const std::string& font,
15726  const std::string& textColor,
15727  const std::string& textAngle,
15728  const std::string& textScale,
15729  const std::string& drawBox,
15730  const std::string& drawLeader,
15731  const std::string& lineWidth,
15732  const std::string& lineColor,
15733  const std::string& fillColor,
15734  const std::string& leaderXColumnName,
15735  const std::string& leaderYColumnName,
15736  const std::string& filter,
15737  const double minX,
15738  const double maxX,
15739  const double minY,
15740  const double maxY,
15741  const int32_t width,
15742  const int32_t height,
15743  const std::string& projection,
15744  const std::map<std::string, std::string>& options ) const;
15745 
15796 VisualizeImageLabelsResponse& visualizeImageLabels( const std::string& tableName,
15797  const std::string& xColumnName,
15798  const std::string& yColumnName,
15799  const std::string& xOffset,
15800  const std::string& yOffset,
15801  const std::string& textString,
15802  const std::string& font,
15803  const std::string& textColor,
15804  const std::string& textAngle,
15805  const std::string& textScale,
15806  const std::string& drawBox,
15807  const std::string& drawLeader,
15808  const std::string& lineWidth,
15809  const std::string& lineColor,
15810  const std::string& fillColor,
15811  const std::string& leaderXColumnName,
15812  const std::string& leaderYColumnName,
15813  const std::string& filter,
15814  const double minX,
15815  const double maxX,
15816  const double minY,
15817  const double maxY,
15818  const int32_t width,
15819  const int32_t height,
15820  const std::string& projection,
15821  const std::map<std::string, std::string>& options,
15822  VisualizeImageLabelsResponse& response_ ) const;
15823 
15834 VisualizeVideoResponse visualizeVideo( const VisualizeVideoRequest& request_ ) const;
15835 
15849 VisualizeVideoResponse& visualizeVideo( const VisualizeVideoRequest& request_,
15850  VisualizeVideoResponse& response_ ) const;
15851 
15957 VisualizeVideoResponse visualizeVideo( const std::vector<std::string>& tableNames,
15958  const std::vector<std::string>& worldTableNames,
15959  const std::vector<std::vector<std::string> >& trackIds,
15960  const std::string& xColumnName,
15961  const std::string& yColumnName,
15962  const std::string& geometryColumnName,
15963  const double minX,
15964  const double maxX,
15965  const double minY,
15966  const double maxY,
15967  const int32_t width,
15968  const int32_t height,
15969  const std::string& projection,
15970  const int64_t bgColor,
15971  const std::vector<std::vector<double> >& timeIntervals,
15972  const std::string& videoStyle,
15973  const std::string& sessionKey,
15974  const std::map<std::string, std::vector<std::string> >& styleOptions,
15975  const std::map<std::string, std::string>& options ) const;
15976 
16085 VisualizeVideoResponse& visualizeVideo( const std::vector<std::string>& tableNames,
16086  const std::vector<std::string>& worldTableNames,
16087  const std::vector<std::vector<std::string> >& trackIds,
16088  const std::string& xColumnName,
16089  const std::string& yColumnName,
16090  const std::string& geometryColumnName,
16091  const double minX,
16092  const double maxX,
16093  const double minY,
16094  const double maxY,
16095  const int32_t width,
16096  const int32_t height,
16097  const std::string& projection,
16098  const int64_t bgColor,
16099  const std::vector<std::vector<double> >& timeIntervals,
16100  const std::string& videoStyle,
16101  const std::string& sessionKey,
16102  const std::map<std::string, std::vector<std::string> >& styleOptions,
16103  const std::map<std::string, std::string>& options,
16104  VisualizeVideoResponse& response_ ) const;
16105 
16116 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_ ) const;
16117 
16131 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_,
16132  VisualizeVideoHeatmapResponse& response_ ) const;
16133 
16193 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
16194  const std::string& xColumnName,
16195  const std::string& yColumnName,
16196  const double minX,
16197  const double maxX,
16198  const double minY,
16199  const double maxY,
16200  const std::vector<std::vector<double> >& timeIntervals,
16201  const int32_t width,
16202  const int32_t height,
16203  const std::string& projection,
16204  const std::string& videoStyle,
16205  const std::string& sessionKey,
16206  const std::map<std::string, std::string>& styleOptions,
16207  const std::map<std::string, std::string>& options ) const;
16208 
16271 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
16272  const std::string& xColumnName,
16273  const std::string& yColumnName,
16274  const double minX,
16275  const double maxX,
16276  const double minY,
16277  const double maxY,
16278  const std::vector<std::vector<double> >& timeIntervals,
16279  const int32_t width,
16280  const int32_t height,
16281  const std::string& projection,
16282  const std::string& videoStyle,
16283  const std::string& sessionKey,
16284  const std::map<std::string, std::string>& styleOptions,
16285  const std::map<std::string, std::string>& options,
16286  VisualizeVideoHeatmapResponse& response_ ) const;
HasProcResponse hasProc(const HasProcRequest &request_) const
Checks the existence of a proc with the given name.
AggregateUnpivotResponse aggregateUnpivot(const AggregateUnpivotRequest &request_) const
Rotate the column values into rows values.
FilterByBoxResponse filterByBox(const FilterByBoxRequest &request_) const
Calculates how many objects within the given table lie in a rectangular box.
FilterByTableResponse filterByTable(const FilterByTableRequest &request_) const
Filters objects in one table based on objects in another table.
FilterByGeometryResponse filterByGeometry(const FilterByGeometryRequest &request_) const
Applies a geometry filter against a geospatial geometry column in a given table, collection or view...
FilterByBoxGeometryResponse filterByBoxGeometry(const FilterByBoxGeometryRequest &request_) const
Calculates which geospatial geometry objects from a table intersect a rectangular box...
GrantRoleResponse grantRole(const GrantRoleRequest &request_) const
Grants membership in a role to a user or role.
CreateTableMonitorResponse createTableMonitor(const CreateTableMonitorRequest &request_) const
Creates a monitor that watches for new records inserted into a particular table (identified by tableN...
AggregateHistogramResponse aggregateHistogram(const AggregateHistogramRequest &request_) const
Performs a histogram calculation given a table, a column, and an interval function.
AlterSystemPropertiesResponse alterSystemProperties(const AlterSystemPropertiesRequest &request_) const
The alterSystemProperties(const AlterSystemPropertiesRequest&) const endpoint is primarily used to si...
CreateUnionResponse createUnion(const CreateUnionRequest &request_) const
Performs a union (concatenation) of one or more existing tables or views, the results of which are st...
FilterByStringResponse filterByString(const FilterByStringRequest &request_) const
Calculates which objects from a table, collection, or view match a string expression for the given st...
FilterByListResponse filterByList(const FilterByListRequest &request_) const
Calculates which records from a table have values in the given list for the corresponding column...
ShowSystemPropertiesResponse showSystemProperties(const ShowSystemPropertiesRequest &request_) const
Returns server configuration and version related information to the caller.
InsertRecordsRandomResponse insertRecordsRandom(const InsertRecordsRandomRequest &request_) const
Generates a specified number of random records and adds them to the given table.
RawGetRecordsBySeriesResponse getRecordsBySeriesRaw(const GetRecordsBySeriesRequest &request_) const
Retrieves the complete series/track records from the given worldTableName based on the partial track ...
FilterByValueResponse filterByValue(const FilterByValueRequest &request_) const
Calculates which objects from a table has a particular value for a particular column.
CreateTypeResponse createType(const CreateTypeRequest &request_) const
Creates a new type describing the layout or schema of a table.
AggregateKMeansResponse aggregateKMeans(const AggregateKMeansRequest &request_) const
This endpoint runs the k-means algorithm - a heuristic algorithm that attempts to do k-means clusteri...
GetRecordsBySeriesResponse< TResponse > getRecordsBySeries(const GetRecordsBySeriesRequest &request_) const
Retrieves the complete series/track records from the given worldTableName based on the partial track ...
AdminAlterConfigurationResponse adminAlterConfiguration(const AdminAlterConfigurationRequest &request_) const
Update the system config file.
GrantPermissionTableResponse grantPermissionTable(const GrantPermissionTableRequest &request_) const
Grants a table-level permission to a user or role.
FilterByRangeResponse filterByRange(const FilterByRangeRequest &request_) const
Calculates which objects from a table have a column that is within the given bounds.
AggregateMinMaxGeometryResponse aggregateMinMaxGeometry(const AggregateMinMaxGeometryRequest &request_) const
Calculates and returns the minimum and maximum x- and y-coordinates of a particular geospatial geomet...
GetRecordsFromCollectionResponse< TResponse > getRecordsFromCollection(const GetRecordsFromCollectionRequest &request_) const
Retrieves records from a collection.
RawAggregateUniqueResponse aggregateUniqueRaw(const AggregateUniqueRequest &request_) const
Returns all the unique values from a particular column (specified by columnName) of a particular tabl...
UpdateRecordsResponse updateRecordsRaw(const RawUpdateRecordsRequest &request_) const
Runs multiple predicate-based updates in a single call.
FilterBySeriesResponse filterBySeries(const FilterBySeriesRequest &request_) const
Filters objects matching all points of the given track (works only on track type data).
CreateTriggerByRangeResponse createTriggerByRange(const CreateTriggerByRangeRequest &request_) const
Sets up a simple range trigger for a column_name for one or more tables.
CreateTableResponse createTable(const CreateTableRequest &request_) const
Creates a new table or collection.
RawGetRecordsResponse getRecordsRaw(const GetRecordsRequest &request_) const
Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column...
KillProcResponse killProc(const KillProcRequest &request_) const
Kills a running proc instance.
InsertRecordsResponse insertRecords(const InsertRecordsRequest< TRequest > &request_) const
Adds multiple records to the specified table.
ShowTriggersResponse showTriggers(const ShowTriggersRequest &request_) const
Retrieves information regarding the specified triggers or all existing triggers currently active...
AdminShowConfigurationResponse adminShowConfiguration(const AdminShowConfigurationRequest &request_) const
Show the current system configuration file.
FilterByRadiusResponse filterByRadius(const FilterByRadiusRequest &request_) const
Calculates which objects from a table lie within a circle with the given radius and center point (i...
CreateJoinTableResponse createJoinTable(const CreateJoinTableRequest &request_) const
Creates a table that is the result of a SQL JOIN.
RevokeRoleResponse revokeRole(const RevokeRoleRequest &request_) const
Revokes membership in a role from a user or role.
AggregateStatisticsResponse aggregateStatistics(const AggregateStatisticsRequest &request_) const
Calculates the requested statistics of the given column(s) in a given table.
AdminAlterJobsResponse adminAlterJobs(const AdminAlterJobsRequest &request_) const
Perform the requested action on a list of one or more job(s).
InsertRecordsResponse insertRecordsRaw(const RawInsertRecordsRequest &request_) const
Adds multiple records to the specified table.
AdminShutdownResponse adminShutdown(const AdminShutdownRequest &request_) const
Exits the database server application.
UpdateRecordsResponse updateRecords(const UpdateRecordsRequest< TRequest > &request_) const
Runs multiple predicate-based updates in a single call.
AggregateGroupByResponse aggregateGroupBy(const AggregateGroupByRequest &request_) const
Calculates unique combinations (groups) of values for the given columns in a given table/view/collect...
GetRecordsByColumnResponse getRecordsByColumn(const GetRecordsByColumnRequest &request_) const
For a given table, retrieves the values from the requested column(s).
RawGetRecordsByColumnResponse getRecordsByColumnRaw(const GetRecordsByColumnRequest &request_) const
For a given table, retrieves the values from the requested column(s).
DeleteUserResponse deleteUser(const DeleteUserRequest &request_) const
Deletes an existing user.
RawAggregateUnpivotResponse aggregateUnpivotRaw(const AggregateUnpivotRequest &request_) const
Rotate the column values into rows values.
AggregateMinMaxResponse aggregateMinMax(const AggregateMinMaxRequest &request_) const
Calculates and returns the minimum and maximum values of a particular column in a table...
FilterByRadiusGeometryResponse filterByRadiusGeometry(const FilterByRadiusGeometryRequest &request_) const
Calculates which geospatial geometry objects from a table intersect a circle with the given radius an...
RevokePermissionTableResponse revokePermissionTable(const RevokePermissionTableRequest &request_) const
Revokes a table-level permission from a user or role.
ShowSystemTimingResponse showSystemTiming(const ShowSystemTimingRequest &request_) const
Returns the last 100 database requests along with the request timing and internal job id...
VisualizeImageChartResponse visualizeImageChart(const VisualizeImageChartRequest &request_) const
Scatter plot is the only plot type currently supported.
CreateTriggerByAreaResponse createTriggerByArea(const CreateTriggerByAreaRequest &request_) const
Sets up an area trigger mechanism for two column_names for one or more tables.
AppendRecordsResponse appendRecords(const AppendRecordsRequest &request_) const
Append (or insert) all records from a source table (specified by sourceTableName) to a particular tar...
CreateProjectionResponse createProjection(const CreateProjectionRequest &request_) const
Creates a new projection of an existing table.
GetRecordsResponse< TResponse > getRecords(const GetRecordsRequest &request_) const
Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column...
RevokePermissionSystemResponse revokePermissionSystem(const RevokePermissionSystemRequest &request_) const
Revokes a system-level permission from a user or role.
RawAggregateGroupByResponse aggregateGroupByRaw(const AggregateGroupByRequest &request_) const
Calculates unique combinations (groups) of values for the given columns in a given table/view/collect...
ShowProcStatusResponse showProcStatus(const ShowProcStatusRequest &request_) const
Shows the statuses of running or completed proc instances.
FilterByAreaResponse filterByArea(const FilterByAreaRequest &request_) const
Calculates which objects from a table are within a named area of interest (NAI/polygon).
ExecuteProcResponse executeProc(const ExecuteProcRequest &request_) const
Executes a proc.
CreateUserInternalResponse createUserInternal(const CreateUserInternalRequest &request_) const
Creates a new internal user (a user whose credentials are managed by the database system)...
AdminShowShardsResponse adminShowShards(const AdminShowShardsRequest &request_) const
Show the mapping of shards to the corresponding rank and tom.
DeleteRecordsResponse deleteRecords(const DeleteRecordsRequest &request_) const
Deletes record(s) matching the provided criteria from the given table.
FilterResponse filter(const FilterRequest &request_) const
Filters data based on the specified expression.
ShowTableMetadataResponse showTableMetadata(const ShowTableMetadataRequest &request_) const
Retrieves the user provided metadata for the specified tables.
AlterUserResponse alterUser(const AlterUserRequest &request_) const
Alters a user.
CreateRoleResponse createRole(const CreateRoleRequest &request_) const
Creates a new role.
AdminShowJobsResponse adminShowJobs(const AdminShowJobsRequest &request_) const
Get a list of the current jobs in GPUdb.
AdminOfflineResponse adminOffline(const AdminOfflineRequest &request_) const
Take the system offline.
HasTypeResponse hasType(const HasTypeRequest &request_) const
Check for the existence of a type.
CreateUserExternalResponse createUserExternal(const CreateUserExternalRequest &request_) const
Creates a new external user (a user whose credentials are managed by an external LDAP).
ClearTableMonitorResponse clearTableMonitor(const ClearTableMonitorRequest &request_) const
Deactivates a table monitor previously created with createTableMonitor(const CreateTableMonitorReques...
GrantPermissionSystemResponse grantPermissionSystem(const GrantPermissionSystemRequest &request_) const
Grants a system-level permission to a user or role.
AdminVerifyDbResponse adminVerifyDb(const AdminVerifyDbRequest &request_) const
Verify database is in a consistent state.
HasTableResponse hasTable(const HasTableRequest &request_) const
Checks for the existence of a table with the given name.
AggregateStatisticsByRangeResponse aggregateStatisticsByRange(const AggregateStatisticsByRangeRequest &request_) const
Divides the given set into bins and calculates statistics of the values of a value-column in each bin...
DeleteRoleResponse deleteRole(const DeleteRoleRequest &request_) const
Deletes an existing role.
ClearTriggerResponse clearTrigger(const ClearTriggerRequest &request_) const
Clears or cancels the trigger identified by the specified handle.
ShowTablesByTypeResponse showTablesByType(const ShowTablesByTypeRequest &request_) const
Gets names of the tables whose type matches the given criteria.
ShowTypesResponse showTypes(const ShowTypesRequest &request_) const
Retrieves information for the specified data type.
DeleteProcResponse deleteProc(const DeleteProcRequest &request_) const
Deletes a proc.
ShowProcResponse showProc(const ShowProcRequest &request_) const
Shows information about a proc.
ShowSystemStatusResponse showSystemStatus(const ShowSystemStatusRequest &request_) const
Provides server configuration and health related status to the caller.
AlterTableResponse alterTable(const AlterTableRequest &request_) const
Apply various modifications to a table, view, or collection.
MergeRecordsResponse mergeRecords(const MergeRecordsRequest &request_) const
Create a new empty result table (specified by tableName), and insert all records from source tables (...
LockTableResponse lockTable(const LockTableRequest &request_) const
Manages global access to a table&#39;s data.
ShowTableResponse showTable(const ShowTableRequest &request_) const
Retrieves detailed information about a table, view, or collection, specified in tableName.
ShowSecurityResponse showSecurity(const ShowSecurityRequest &request_) const
Shows security information relating to users and/or roles.
AggregateConvexHullResponse aggregateConvexHull(const AggregateConvexHullRequest &request_) const
Calculates and returns the convex hull for the values in a table specified by tableName.
UpdateRecordsBySeriesResponse updateRecordsBySeries(const UpdateRecordsBySeriesRequest &request_) const
Updates the view specified by tableName to include full series (track) information from the worldTabl...
FilterByAreaGeometryResponse filterByAreaGeometry(const FilterByAreaGeometryRequest &request_) const
Calculates which geospatial geometry objects from a table intersect a named area of interest (NAI/pol...
RawGetRecordsFromCollectionResponse getRecordsFromCollectionRaw(const GetRecordsFromCollectionRequest &request_) const
Retrieves records from a collection.
InsertSymbolResponse insertSymbol(const InsertSymbolRequest &request_) const
Adds a symbol or icon (i.e.
AlterTableMetadataResponse alterTableMetadata(const AlterTableMetadataRequest &request_) const
Updates (adds or changes) metadata for tables.
CreateProcResponse createProc(const CreateProcRequest &request_) const
Creates an instance (proc) of the user-defined function (UDF) specified by the given command...
ClearTableResponse clearTable(const ClearTableRequest &request_) const
Clears (drops) one or all tables in the database cluster.
AggregateUniqueResponse aggregateUnique(const AggregateUniqueRequest &request_) const
Returns all the unique values from a particular column (specified by columnName) of a particular tabl...