GPUdb C++ API  Version 5.2.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 
17 AdminDeleteNodeResponse adminDeleteNode( const AdminDeleteNodeRequest& request_ ) const;
18 
32 AdminDeleteNodeResponse& adminDeleteNode( const AdminDeleteNodeRequest& request_,
33  AdminDeleteNodeResponse& response_ ) const;
34 
46 AdminDeleteNodeResponse adminDeleteNode( const int32_t rank,
47  const std::string& authorization,
48  const std::map<std::string, std::string>& options ) const;
49 
64 AdminDeleteNodeResponse& adminDeleteNode( const int32_t rank,
65  const std::string& authorization,
66  const std::map<std::string, std::string>& options,
67  AdminDeleteNodeResponse& response_ ) const;
68 
79 AdminGetShardAssignmentsResponse adminGetShardAssignments( const AdminGetShardAssignmentsRequest& request_ ) const;
80 
94 AdminGetShardAssignmentsResponse& adminGetShardAssignments( const AdminGetShardAssignmentsRequest& request_,
95  AdminGetShardAssignmentsResponse& response_ ) const;
96 
106 AdminGetShardAssignmentsResponse adminGetShardAssignments( const std::map<std::string, std::string>& options ) const;
107 
120 AdminGetShardAssignmentsResponse& adminGetShardAssignments( const std::map<std::string, std::string>& options,
121  AdminGetShardAssignmentsResponse& response_ ) const;
122 
134 AdminOfflineResponse adminOffline( const AdminOfflineRequest& request_ ) const;
135 
150 AdminOfflineResponse& adminOffline( const AdminOfflineRequest& request_,
151  AdminOfflineResponse& response_ ) const;
152 
165 AdminOfflineResponse adminOffline( const bool offline,
166  const std::map<std::string, std::string>& options ) const;
167 
183 AdminOfflineResponse& adminOffline( const bool offline,
184  const std::map<std::string, std::string>& options,
185  AdminOfflineResponse& response_ ) const;
186 
197 AdminRebalanceResponse adminRebalance( const AdminRebalanceRequest& request_ ) const;
198 
212 AdminRebalanceResponse& adminRebalance( const AdminRebalanceRequest& request_,
213  AdminRebalanceResponse& response_ ) const;
214 
225 AdminRebalanceResponse adminRebalance( const std::vector<std::string>& tableNames,
226  const std::map<std::string, std::string>& options ) const;
227 
241 AdminRebalanceResponse& adminRebalance( const std::vector<std::string>& tableNames,
242  const std::map<std::string, std::string>& options,
243  AdminRebalanceResponse& response_ ) const;
244 
255 AdminSetShardAssignmentsResponse adminSetShardAssignments( const AdminSetShardAssignmentsRequest& request_ ) const;
256 
270 AdminSetShardAssignmentsResponse& adminSetShardAssignments( const AdminSetShardAssignmentsRequest& request_,
271  AdminSetShardAssignmentsResponse& response_ ) const;
272 
287 AdminSetShardAssignmentsResponse adminSetShardAssignments( const int64_t version,
288  const bool partialReassignment,
289  const std::vector<int32_t>& shardAssignmentsRank,
290  const std::vector<int32_t>& shardAssignmentsTom,
291  const std::vector<int32_t>& assignmentIndex,
292  const std::map<std::string, std::string>& options ) const;
293 
311 AdminSetShardAssignmentsResponse& adminSetShardAssignments( const int64_t version,
312  const bool partialReassignment,
313  const std::vector<int32_t>& shardAssignmentsRank,
314  const std::vector<int32_t>& shardAssignmentsTom,
315  const std::vector<int32_t>& assignmentIndex,
316  const std::map<std::string, std::string>& options,
317  AdminSetShardAssignmentsResponse& response_ ) const;
318 
329 AdminShutdownResponse adminShutdown( const AdminShutdownRequest& request_ ) const;
330 
344 AdminShutdownResponse& adminShutdown( const AdminShutdownRequest& request_,
345  AdminShutdownResponse& response_ ) const;
346 
358 AdminShutdownResponse adminShutdown( const std::string& exitType,
359  const std::string& authorization,
360  const std::map<std::string, std::string>& options ) const;
361 
376 AdminShutdownResponse& adminShutdown( const std::string& exitType,
377  const std::string& authorization,
378  const std::map<std::string, std::string>& options,
379  AdminShutdownResponse& response_ ) const;
380 
393 AdminVerifyDbResponse adminVerifyDb( const AdminVerifyDbRequest& request_ ) const;
394 
410 AdminVerifyDbResponse& adminVerifyDb( const AdminVerifyDbRequest& request_,
411  AdminVerifyDbResponse& response_ ) const;
412 
424 AdminVerifyDbResponse adminVerifyDb( const std::map<std::string, std::string>& options ) const;
425 
440 AdminVerifyDbResponse& adminVerifyDb( const std::map<std::string, std::string>& options,
441  AdminVerifyDbResponse& response_ ) const;
442 
454 AggregateConvexHullResponse aggregateConvexHull( const AggregateConvexHullRequest& request_ ) const;
455 
470 AggregateConvexHullResponse& aggregateConvexHull( const AggregateConvexHullRequest& request_,
471  AggregateConvexHullResponse& response_ ) const;
472 
490 AggregateConvexHullResponse aggregateConvexHull( const std::string& tableName,
491  const std::string& xColumnName,
492  const std::string& yColumnName,
493  const std::map<std::string, std::string>& options ) const;
494 
515 AggregateConvexHullResponse& aggregateConvexHull( const std::string& tableName,
516  const std::string& xColumnName,
517  const std::string& yColumnName,
518  const std::map<std::string, std::string>& options,
519  AggregateConvexHullResponse& response_ ) const;
520 
550 RawAggregateGroupByResponse aggregateGroupByRaw( const AggregateGroupByRequest& request_ ) const;
551 
584 RawAggregateGroupByResponse& aggregateGroupByRaw( const AggregateGroupByRequest& request_,
585  RawAggregateGroupByResponse& response_ ) const;
586 
616 AggregateGroupByResponse aggregateGroupBy( const AggregateGroupByRequest& request_ ) const;
617 
650 AggregateGroupByResponse& aggregateGroupBy( const AggregateGroupByRequest& request_,
651  AggregateGroupByResponse& response_ ) const;
652 
709 AggregateGroupByResponse aggregateGroupBy( const std::string& tableName,
710  const std::vector<std::string>& columnNames,
711  const int64_t offset,
712  const int64_t limit,
713  const std::map<std::string, std::string>& options ) const;
714 
774 AggregateGroupByResponse& aggregateGroupBy( const std::string& tableName,
775  const std::vector<std::string>& columnNames,
776  const int64_t offset,
777  const int64_t limit,
778  const std::map<std::string, std::string>& options,
779  AggregateGroupByResponse& response_ ) const;
780 
799 AggregateHistogramResponse aggregateHistogram( const AggregateHistogramRequest& request_ ) const;
800 
822 AggregateHistogramResponse& aggregateHistogram( const AggregateHistogramRequest& request_,
823  AggregateHistogramResponse& response_ ) const;
824 
856 AggregateHistogramResponse aggregateHistogram( const std::string& tableName,
857  const std::string& columnName,
858  const double start,
859  const double end,
860  const double interval,
861  const std::map<std::string, std::string>& options ) const;
862 
897 AggregateHistogramResponse& aggregateHistogram( const std::string& tableName,
898  const std::string& columnName,
899  const double start,
900  const double end,
901  const double interval,
902  const std::map<std::string, std::string>& options,
903  AggregateHistogramResponse& response_ ) const;
904 
922 AggregateKMeansResponse aggregateKMeans( const AggregateKMeansRequest& request_ ) const;
923 
944 AggregateKMeansResponse& aggregateKMeans( const AggregateKMeansRequest& request_,
945  AggregateKMeansResponse& response_ ) const;
946 
982 AggregateKMeansResponse aggregateKMeans( const std::string& tableName,
983  const std::vector<std::string>& columnNames,
984  const int32_t k,
985  const double tolerance,
986  const std::map<std::string, std::string>& options ) const;
987 
1026 AggregateKMeansResponse& aggregateKMeans( const std::string& tableName,
1027  const std::vector<std::string>& columnNames,
1028  const int32_t k,
1029  const double tolerance,
1030  const std::map<std::string, std::string>& options,
1031  AggregateKMeansResponse& response_ ) const;
1032 
1044 AggregateMinMaxResponse aggregateMinMax( const AggregateMinMaxRequest& request_ ) const;
1045 
1060 AggregateMinMaxResponse& aggregateMinMax( const AggregateMinMaxRequest& request_,
1061  AggregateMinMaxResponse& response_ ) const;
1062 
1077 AggregateMinMaxResponse aggregateMinMax( const std::string& tableName,
1078  const std::string& columnName,
1079  const std::map<std::string, std::string>& options ) const;
1080 
1098 AggregateMinMaxResponse& aggregateMinMax( const std::string& tableName,
1099  const std::string& columnName,
1100  const std::map<std::string, std::string>& options,
1101  AggregateMinMaxResponse& response_ ) const;
1102 
1135 AggregateStatisticsResponse aggregateStatistics( const AggregateStatisticsRequest& request_ ) const;
1136 
1172 AggregateStatisticsResponse& aggregateStatistics( const AggregateStatisticsRequest& request_,
1173  AggregateStatisticsResponse& response_ ) const;
1174 
1223 AggregateStatisticsResponse aggregateStatistics( const std::string& tableName,
1224  const std::string& columnName,
1225  const std::string& stats,
1226  const std::map<std::string, std::string>& options ) const;
1227 
1279 AggregateStatisticsResponse& aggregateStatistics( const std::string& tableName,
1280  const std::string& columnName,
1281  const std::string& stats,
1282  const std::map<std::string, std::string>& options,
1283  AggregateStatisticsResponse& response_ ) const;
1284 
1316 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_ ) const;
1317 
1352 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_,
1353  AggregateStatisticsByRangeResponse& response_ ) const;
1354 
1416 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const std::string& tableName,
1417  const std::string& selectExpression,
1418  const std::string& columnName,
1419  const std::string& valueColumnName,
1420  const std::string& stats,
1421  const double start,
1422  const double end,
1423  const double interval,
1424  const std::map<std::string, std::string>& options ) const;
1425 
1490 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const std::string& tableName,
1491  const std::string& selectExpression,
1492  const std::string& columnName,
1493  const std::string& valueColumnName,
1494  const std::string& stats,
1495  const double start,
1496  const double end,
1497  const double interval,
1498  const std::map<std::string, std::string>& options,
1499  AggregateStatisticsByRangeResponse& response_ ) const;
1500 
1526 RawAggregateUniqueResponse aggregateUniqueRaw( const AggregateUniqueRequest& request_ ) const;
1527 
1556 RawAggregateUniqueResponse& aggregateUniqueRaw( const AggregateUniqueRequest& request_,
1557  RawAggregateUniqueResponse& response_ ) const;
1558 
1584 AggregateUniqueResponse aggregateUnique( const AggregateUniqueRequest& request_ ) const;
1585 
1614 AggregateUniqueResponse& aggregateUnique( const AggregateUniqueRequest& request_,
1615  AggregateUniqueResponse& response_ ) const;
1616 
1663 AggregateUniqueResponse aggregateUnique( const std::string& tableName,
1664  const std::string& columnName,
1665  const int64_t offset,
1666  const int64_t limit,
1667  const std::map<std::string, std::string>& options ) const;
1668 
1718 AggregateUniqueResponse& aggregateUnique( const std::string& tableName,
1719  const std::string& columnName,
1720  const int64_t offset,
1721  const int64_t limit,
1722  const std::map<std::string, std::string>& options,
1723  AggregateUniqueResponse& response_ ) const;
1724 
1739 AlterSystemPropertiesResponse alterSystemProperties( const AlterSystemPropertiesRequest& request_ ) const;
1740 
1758 AlterSystemPropertiesResponse& alterSystemProperties( const AlterSystemPropertiesRequest& request_,
1759  AlterSystemPropertiesResponse& response_ ) const;
1760 
1831 AlterSystemPropertiesResponse alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
1832  const std::map<std::string, std::string>& options ) const;
1833 
1907 AlterSystemPropertiesResponse& alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
1908  const std::map<std::string, std::string>& options,
1909  AlterSystemPropertiesResponse& response_ ) const;
1910 
1941 AlterTableResponse alterTable( const AlterTableRequest& request_ ) const;
1942 
1979 AlterTableResponse& alterTable( const AlterTableRequest& request_,
1980  AlterTableResponse& response_ ) const;
1981 
2019 AlterTableResponse alterTable( const std::string& tableName,
2020  const std::string& action,
2021  const std::string& value,
2022  const std::map<std::string, std::string>& options ) const;
2023 
2064 AlterTableResponse& alterTable( const std::string& tableName,
2065  const std::string& action,
2066  const std::string& value,
2067  const std::map<std::string, std::string>& options,
2068  AlterTableResponse& response_ ) const;
2069 
2083 AlterTableMetadataResponse alterTableMetadata( const AlterTableMetadataRequest& request_ ) const;
2084 
2101 AlterTableMetadataResponse& alterTableMetadata( const AlterTableMetadataRequest& request_,
2102  AlterTableMetadataResponse& response_ ) const;
2103 
2124 AlterTableMetadataResponse alterTableMetadata( const std::vector<std::string>& tableNames,
2125  const std::map<std::string, std::string>& metadataMap,
2126  const std::map<std::string, std::string>& options ) const;
2127 
2151 AlterTableMetadataResponse& alterTableMetadata( const std::vector<std::string>& tableNames,
2152  const std::map<std::string, std::string>& metadataMap,
2153  const std::map<std::string, std::string>& options,
2154  AlterTableMetadataResponse& response_ ) const;
2155 
2166 AlterUserResponse alterUser( const AlterUserRequest& request_ ) const;
2167 
2181 AlterUserResponse& alterUser( const AlterUserRequest& request_,
2182  AlterUserResponse& response_ ) const;
2183 
2197 AlterUserResponse alterUser( const std::string& name,
2198  const std::string& action,
2199  const std::string& value,
2200  const std::map<std::string, std::string>& options ) const;
2201 
2218 AlterUserResponse& alterUser( const std::string& name,
2219  const std::string& action,
2220  const std::string& value,
2221  const std::map<std::string, std::string>& options,
2222  AlterUserResponse& response_ ) const;
2223 
2237 ClearTableResponse clearTable( const ClearTableRequest& request_ ) const;
2238 
2255 ClearTableResponse& clearTable( const ClearTableRequest& request_,
2256  ClearTableResponse& response_ ) const;
2257 
2275 ClearTableResponse clearTable( const std::string& tableName,
2276  const std::string& authorization,
2277  const std::map<std::string, std::string>& options ) const;
2278 
2299 ClearTableResponse& clearTable( const std::string& tableName,
2300  const std::string& authorization,
2301  const std::map<std::string, std::string>& options,
2302  ClearTableResponse& response_ ) const;
2303 
2315 ClearTableMonitorResponse clearTableMonitor( const ClearTableMonitorRequest& request_ ) const;
2316 
2331 ClearTableMonitorResponse& clearTableMonitor( const ClearTableMonitorRequest& request_,
2332  ClearTableMonitorResponse& response_ ) const;
2333 
2345 ClearTableMonitorResponse clearTableMonitor( const std::string& topicId,
2346  const std::map<std::string, std::string>& options ) const;
2347 
2362 ClearTableMonitorResponse& clearTableMonitor( const std::string& topicId,
2363  const std::map<std::string, std::string>& options,
2364  ClearTableMonitorResponse& response_ ) const;
2365 
2378 ClearTriggerResponse clearTrigger( const ClearTriggerRequest& request_ ) const;
2379 
2395 ClearTriggerResponse& clearTrigger( const ClearTriggerRequest& request_,
2396  ClearTriggerResponse& response_ ) const;
2397 
2410 ClearTriggerResponse clearTrigger( const std::string& triggerId,
2411  const std::map<std::string, std::string>& options ) const;
2412 
2428 ClearTriggerResponse& clearTrigger( const std::string& triggerId,
2429  const std::map<std::string, std::string>& options,
2430  ClearTriggerResponse& response_ ) const;
2431 
2444 CreateJoinTableResponse createJoinTable( const CreateJoinTableRequest& request_ ) const;
2445 
2461 CreateJoinTableResponse& createJoinTable( const CreateJoinTableRequest& request_,
2462  CreateJoinTableResponse& response_ ) const;
2463 
2512 CreateJoinTableResponse createJoinTable( const std::string& joinTableName,
2513  const std::vector<std::string>& tableNames,
2514  const std::vector<std::string>& aliases,
2515  const std::string& expression,
2516  const std::vector<std::string>& expressions,
2517  const std::map<std::string, std::string>& options ) const;
2518 
2570 CreateJoinTableResponse& createJoinTable( const std::string& joinTableName,
2571  const std::vector<std::string>& tableNames,
2572  const std::vector<std::string>& aliases,
2573  const std::string& expression,
2574  const std::vector<std::string>& expressions,
2575  const std::map<std::string, std::string>& options,
2576  CreateJoinTableResponse& response_ ) const;
2577 
2588 CreateRoleResponse createRole( const CreateRoleRequest& request_ ) const;
2589 
2603 CreateRoleResponse& createRole( const CreateRoleRequest& request_,
2604  CreateRoleResponse& response_ ) const;
2605 
2619 CreateRoleResponse createRole( const std::string& name,
2620  const std::map<std::string, std::string>& options ) const;
2621 
2638 CreateRoleResponse& createRole( const std::string& name,
2639  const std::map<std::string, std::string>& options,
2640  CreateRoleResponse& response_ ) const;
2641 
2659 CreateTableResponse createTable( const CreateTableRequest& request_ ) const;
2660 
2682 CreateTableResponse& createTable( const CreateTableRequest& request_,
2683  CreateTableResponse& response_ ) const;
2684 
2740 CreateTableResponse createTable( const std::string& tableName,
2741  const std::string& typeId,
2742  const std::map<std::string, std::string>& options ) const;
2743 
2802 CreateTableResponse& createTable( const std::string& tableName,
2803  const std::string& typeId,
2804  const std::map<std::string, std::string>& options,
2805  CreateTableResponse& response_ ) const;
2806 
2826 CreateTableMonitorResponse createTableMonitor( const CreateTableMonitorRequest& request_ ) const;
2827 
2850 CreateTableMonitorResponse& createTableMonitor( const CreateTableMonitorRequest& request_,
2851  CreateTableMonitorResponse& response_ ) const;
2852 
2873 CreateTableMonitorResponse createTableMonitor( const std::string& tableName,
2874  const std::map<std::string, std::string>& options ) const;
2875 
2899 CreateTableMonitorResponse& createTableMonitor( const std::string& tableName,
2900  const std::map<std::string, std::string>& options,
2901  CreateTableMonitorResponse& response_ ) const;
2902 
2927 CreateTriggerByAreaResponse createTriggerByArea( const CreateTriggerByAreaRequest& request_ ) const;
2928 
2958 CreateTriggerByAreaResponse& createTriggerByArea( const CreateTriggerByAreaRequest& request_,
2959  CreateTriggerByAreaResponse& response_ ) const;
2960 
3000 CreateTriggerByAreaResponse createTriggerByArea( const std::string& requestId,
3001  const std::vector<std::string>& tableNames,
3002  const std::string& xColumnName,
3003  const std::vector<double>& xVector,
3004  const std::string& yColumnName,
3005  const std::vector<double>& yVector,
3006  const std::map<std::string, std::string>& options ) const;
3007 
3050 CreateTriggerByAreaResponse& createTriggerByArea( const std::string& requestId,
3051  const std::vector<std::string>& tableNames,
3052  const std::string& xColumnName,
3053  const std::vector<double>& xVector,
3054  const std::string& yColumnName,
3055  const std::vector<double>& yVector,
3056  const std::map<std::string, std::string>& options,
3057  CreateTriggerByAreaResponse& response_ ) const;
3058 
3082 CreateTriggerByRangeResponse createTriggerByRange( const CreateTriggerByRangeRequest& request_ ) const;
3083 
3111 CreateTriggerByRangeResponse& createTriggerByRange( const CreateTriggerByRangeRequest& request_,
3112  CreateTriggerByRangeResponse& response_ ) const;
3113 
3143 CreateTriggerByRangeResponse createTriggerByRange( const std::string& requestId,
3144  const std::vector<std::string>& tableNames,
3145  const std::string& columnName,
3146  const double min,
3147  const double max,
3148  const std::map<std::string, std::string>& options ) const;
3149 
3182 CreateTriggerByRangeResponse& createTriggerByRange( const std::string& requestId,
3183  const std::vector<std::string>& tableNames,
3184  const std::string& columnName,
3185  const double min,
3186  const double max,
3187  const std::map<std::string, std::string>& options,
3188  CreateTriggerByRangeResponse& response_ ) const;
3189 
3237 CreateTypeResponse createType( const CreateTypeRequest& request_ ) const;
3238 
3289 CreateTypeResponse& createType( const CreateTypeRequest& request_,
3290  CreateTypeResponse& response_ ) const;
3291 
3349 CreateTypeResponse createType( const std::string& typeDefinition,
3350  const std::string& label,
3351  const std::map<std::string, std::vector<std::string> >& properties,
3352  const std::map<std::string, std::string>& options ) const;
3353 
3414 CreateTypeResponse& createType( const std::string& typeDefinition,
3415  const std::string& label,
3416  const std::map<std::string, std::vector<std::string> >& properties,
3417  const std::map<std::string, std::string>& options,
3418  CreateTypeResponse& response_ ) const;
3419 
3433 CreateUnionResponse createUnion( const CreateUnionRequest& request_ ) const;
3434 
3451 CreateUnionResponse& createUnion( const CreateUnionRequest& request_,
3452  CreateUnionResponse& response_ ) const;
3453 
3480 CreateUnionResponse createUnion( const std::string& tableName,
3481  const std::vector<std::string>& tableNames,
3482  const std::vector<std::vector<std::string> >& inputColumnNames,
3483  const std::vector<std::string>& outputColumnNames,
3484  const std::map<std::string, std::string>& options ) const;
3485 
3515 CreateUnionResponse& createUnion( const std::string& tableName,
3516  const std::vector<std::string>& tableNames,
3517  const std::vector<std::vector<std::string> >& inputColumnNames,
3518  const std::vector<std::string>& outputColumnNames,
3519  const std::map<std::string, std::string>& options,
3520  CreateUnionResponse& response_ ) const;
3521 
3533 CreateUserExternalResponse createUserExternal( const CreateUserExternalRequest& request_ ) const;
3534 
3549 CreateUserExternalResponse& createUserExternal( const CreateUserExternalRequest& request_,
3550  CreateUserExternalResponse& response_ ) const;
3551 
3565 CreateUserExternalResponse createUserExternal( const std::string& name,
3566  const std::map<std::string, std::string>& options ) const;
3567 
3584 CreateUserExternalResponse& createUserExternal( const std::string& name,
3585  const std::map<std::string, std::string>& options,
3586  CreateUserExternalResponse& response_ ) const;
3587 
3598 CreateUserInternalResponse createUserInternal( const CreateUserInternalRequest& request_ ) const;
3599 
3613 CreateUserInternalResponse& createUserInternal( const CreateUserInternalRequest& request_,
3614  CreateUserInternalResponse& response_ ) const;
3615 
3631 CreateUserInternalResponse createUserInternal( const std::string& name,
3632  const std::string& password,
3633  const std::map<std::string, std::string>& options ) const;
3634 
3653 CreateUserInternalResponse& createUserInternal( const std::string& name,
3654  const std::string& password,
3655  const std::map<std::string, std::string>& options,
3656  CreateUserInternalResponse& response_ ) const;
3657 
3674 DeleteRecordsResponse deleteRecords( const DeleteRecordsRequest& request_ ) const;
3675 
3695 DeleteRecordsResponse& deleteRecords( const DeleteRecordsRequest& request_,
3696  DeleteRecordsResponse& response_ ) const;
3697 
3729 DeleteRecordsResponse deleteRecords( const std::string& tableName,
3730  const std::vector<std::string>& expressions,
3731  const std::map<std::string, std::string>& options ) const;
3732 
3767 DeleteRecordsResponse& deleteRecords( const std::string& tableName,
3768  const std::vector<std::string>& expressions,
3769  const std::map<std::string, std::string>& options,
3770  DeleteRecordsResponse& response_ ) const;
3771 
3782 DeleteRoleResponse deleteRole( const DeleteRoleRequest& request_ ) const;
3783 
3797 DeleteRoleResponse& deleteRole( const DeleteRoleRequest& request_,
3798  DeleteRoleResponse& response_ ) const;
3799 
3810 DeleteRoleResponse deleteRole( const std::string& name,
3811  const std::map<std::string, std::string>& options ) const;
3812 
3826 DeleteRoleResponse& deleteRole( const std::string& name,
3827  const std::map<std::string, std::string>& options,
3828  DeleteRoleResponse& response_ ) const;
3829 
3840 DeleteUserResponse deleteUser( const DeleteUserRequest& request_ ) const;
3841 
3855 DeleteUserResponse& deleteUser( const DeleteUserRequest& request_,
3856  DeleteUserResponse& response_ ) const;
3857 
3868 DeleteUserResponse deleteUser( const std::string& name,
3869  const std::map<std::string, std::string>& options ) const;
3870 
3884 DeleteUserResponse& deleteUser( const std::string& name,
3885  const std::map<std::string, std::string>& options,
3886  DeleteUserResponse& response_ ) const;
3887 
3898 ExecuteProcResponse executeProc( const ExecuteProcRequest& request_ ) const;
3899 
3913 ExecuteProcResponse& executeProc( const ExecuteProcRequest& request_,
3914  ExecuteProcResponse& response_ ) const;
3915 
3932 ExecuteProcResponse executeProc( const std::string& name,
3933  const std::map<std::string, std::string>& params,
3934  const std::map<std::string, std::vector<uint8_t> >& binParams,
3935  const std::map<std::string, std::string>& options ) const;
3936 
3956 ExecuteProcResponse& executeProc( const std::string& name,
3957  const std::map<std::string, std::string>& params,
3958  const std::map<std::string, std::vector<uint8_t> >& binParams,
3959  const std::map<std::string, std::string>& options,
3960  ExecuteProcResponse& response_ ) const;
3961 
3979 FilterResponse filter( const FilterRequest& request_ ) const;
3980 
4001 FilterResponse& filter( const FilterRequest& request_,
4002  FilterResponse& response_ ) const;
4003 
4032 FilterResponse filter( const std::string& tableName,
4033  const std::string& viewName,
4034  const std::string& expression,
4035  const std::map<std::string, std::string>& options ) const;
4036 
4068 FilterResponse& filter( const std::string& tableName,
4069  const std::string& viewName,
4070  const std::string& expression,
4071  const std::map<std::string, std::string>& options,
4072  FilterResponse& response_ ) const;
4073 
4089 FilterByAreaResponse filterByArea( const FilterByAreaRequest& request_ ) const;
4090 
4109 FilterByAreaResponse& filterByArea( const FilterByAreaRequest& request_,
4110  FilterByAreaResponse& response_ ) const;
4111 
4142 FilterByAreaResponse filterByArea( const std::string& tableName,
4143  const std::string& viewName,
4144  const std::string& xColumnName,
4145  const std::vector<double>& xVector,
4146  const std::string& yColumnName,
4147  const std::vector<double>& yVector,
4148  const std::map<std::string, std::string>& options ) const;
4149 
4183 FilterByAreaResponse& filterByArea( const std::string& tableName,
4184  const std::string& viewName,
4185  const std::string& xColumnName,
4186  const std::vector<double>& xVector,
4187  const std::string& yColumnName,
4188  const std::vector<double>& yVector,
4189  const std::map<std::string, std::string>& options,
4190  FilterByAreaResponse& response_ ) const;
4191 
4207 FilterByBoxResponse filterByBox( const FilterByBoxRequest& request_ ) const;
4208 
4227 FilterByBoxResponse& filterByBox( const FilterByBoxRequest& request_,
4228  FilterByBoxResponse& response_ ) const;
4229 
4264 FilterByBoxResponse filterByBox( const std::string& tableName,
4265  const std::string& viewName,
4266  const std::string& xColumnName,
4267  const double minX,
4268  const double maxX,
4269  const std::string& yColumnName,
4270  const double minY,
4271  const double maxY,
4272  const std::map<std::string, std::string>& options ) const;
4273 
4311 FilterByBoxResponse& filterByBox( const std::string& tableName,
4312  const std::string& viewName,
4313  const std::string& xColumnName,
4314  const double minX,
4315  const double maxX,
4316  const std::string& yColumnName,
4317  const double minY,
4318  const double maxY,
4319  const std::map<std::string, std::string>& options,
4320  FilterByBoxResponse& response_ ) const;
4321 
4334 FilterByGeometryResponse filterByGeometry( const FilterByGeometryRequest& request_ ) const;
4335 
4351 FilterByGeometryResponse& filterByGeometry( const FilterByGeometryRequest& request_,
4352  FilterByGeometryResponse& response_ ) const;
4353 
4379 FilterByGeometryResponse filterByGeometry( const std::string& tableName,
4380  const std::string& viewName,
4381  const std::string& columnName,
4382  const std::string& inputWkt,
4383  const std::string& operation,
4384  const std::map<std::string, std::string>& options ) const;
4385 
4414 FilterByGeometryResponse& filterByGeometry( const std::string& tableName,
4415  const std::string& viewName,
4416  const std::string& columnName,
4417  const std::string& inputWkt,
4418  const std::string& operation,
4419  const std::map<std::string, std::string>& options,
4420  FilterByGeometryResponse& response_ ) const;
4421 
4444 FilterByListResponse filterByList( const FilterByListRequest& request_ ) const;
4445 
4471 FilterByListResponse& filterByList( const FilterByListRequest& request_,
4472  FilterByListResponse& response_ ) const;
4473 
4511 FilterByListResponse filterByList( const std::string& tableName,
4512  const std::string& viewName,
4513  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
4514  const std::map<std::string, std::string>& options ) const;
4515 
4556 FilterByListResponse& filterByList( const std::string& tableName,
4557  const std::string& viewName,
4558  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
4559  const std::map<std::string, std::string>& options,
4560  FilterByListResponse& response_ ) const;
4561 
4584 FilterByRadiusResponse filterByRadius( const FilterByRadiusRequest& request_ ) const;
4585 
4611 FilterByRadiusResponse& filterByRadius( const FilterByRadiusRequest& request_,
4612  FilterByRadiusResponse& response_ ) const;
4613 
4656 FilterByRadiusResponse filterByRadius( const std::string& tableName,
4657  const std::string& viewName,
4658  const std::string& xColumnName,
4659  const double xCenter,
4660  const std::string& yColumnName,
4661  const double yCenter,
4662  const double radius,
4663  const std::map<std::string, std::string>& options ) const;
4664 
4710 FilterByRadiusResponse& filterByRadius( const std::string& tableName,
4711  const std::string& viewName,
4712  const std::string& xColumnName,
4713  const double xCenter,
4714  const std::string& yColumnName,
4715  const double yCenter,
4716  const double radius,
4717  const std::map<std::string, std::string>& options,
4718  FilterByRadiusResponse& response_ ) const;
4719 
4737 FilterByRangeResponse filterByRange( const FilterByRangeRequest& request_ ) const;
4738 
4759 FilterByRangeResponse& filterByRange( const FilterByRangeRequest& request_,
4760  FilterByRangeResponse& response_ ) const;
4761 
4788 FilterByRangeResponse filterByRange( const std::string& tableName,
4789  const std::string& viewName,
4790  const std::string& columnName,
4791  const double lowerBound,
4792  const double upperBound,
4793  const std::map<std::string, std::string>& options ) const;
4794 
4824 FilterByRangeResponse& filterByRange( const std::string& tableName,
4825  const std::string& viewName,
4826  const std::string& columnName,
4827  const double lowerBound,
4828  const double upperBound,
4829  const std::map<std::string, std::string>& options,
4830  FilterByRangeResponse& response_ ) const;
4831 
4855 FilterBySeriesResponse filterBySeries( const FilterBySeriesRequest& request_ ) const;
4856 
4883 FilterBySeriesResponse& filterBySeries( const FilterBySeriesRequest& request_,
4884  FilterBySeriesResponse& response_ ) const;
4885 
4937 FilterBySeriesResponse filterBySeries( const std::string& tableName,
4938  const std::string& viewName,
4939  const std::string& trackId,
4940  const std::vector<std::string>& targetTrackIds,
4941  const std::map<std::string, std::string>& options ) const;
4942 
4997 FilterBySeriesResponse& filterBySeries( const std::string& tableName,
4998  const std::string& viewName,
4999  const std::string& trackId,
5000  const std::vector<std::string>& targetTrackIds,
5001  const std::map<std::string, std::string>& options,
5002  FilterBySeriesResponse& response_ ) const;
5003 
5077 FilterByStringResponse filterByString( const FilterByStringRequest& request_ ) const;
5078 
5155 FilterByStringResponse& filterByString( const FilterByStringRequest& request_,
5156  FilterByStringResponse& response_ ) const;
5157 
5248 FilterByStringResponse filterByString( const std::string& tableName,
5249  const std::string& viewName,
5250  const std::string& expression,
5251  const std::string& mode,
5252  const std::vector<std::string>& columnNames,
5253  const std::map<std::string, std::string>& options ) const;
5254 
5348 FilterByStringResponse& filterByString( const std::string& tableName,
5349  const std::string& viewName,
5350  const std::string& expression,
5351  const std::string& mode,
5352  const std::vector<std::string>& columnNames,
5353  const std::map<std::string, std::string>& options,
5354  FilterByStringResponse& response_ ) const;
5355 
5373 FilterByTableResponse filterByTable( const FilterByTableRequest& request_ ) const;
5374 
5395 FilterByTableResponse& filterByTable( const FilterByTableRequest& request_,
5396  FilterByTableResponse& response_ ) const;
5397 
5429 FilterByTableResponse filterByTable( const std::string& tableName,
5430  const std::string& viewName,
5431  const std::string& columnName,
5432  const std::string& sourceTableName,
5433  const std::string& sourceTableColumnName,
5434  const std::map<std::string, std::string>& options ) const;
5435 
5470 FilterByTableResponse& filterByTable( const std::string& tableName,
5471  const std::string& viewName,
5472  const std::string& columnName,
5473  const std::string& sourceTableName,
5474  const std::string& sourceTableColumnName,
5475  const std::map<std::string, std::string>& options,
5476  FilterByTableResponse& response_ ) const;
5477 
5495 FilterByValueResponse filterByValue( const FilterByValueRequest& request_ ) const;
5496 
5517 FilterByValueResponse& filterByValue( const FilterByValueRequest& request_,
5518  FilterByValueResponse& response_ ) const;
5519 
5549 FilterByValueResponse filterByValue( const std::string& tableName,
5550  const std::string& viewName,
5551  const bool isString,
5552  const double value,
5553  const std::string& valueStr,
5554  const std::string& columnName,
5555  const std::map<std::string, std::string>& options ) const;
5556 
5589 FilterByValueResponse& filterByValue( const std::string& tableName,
5590  const std::string& viewName,
5591  const bool isString,
5592  const double value,
5593  const std::string& valueStr,
5594  const std::string& columnName,
5595  const std::map<std::string, std::string>& options,
5596  FilterByValueResponse& response_ ) const;
5597 
5620 RawGetRecordsResponse getRecordsRaw( const GetRecordsRequest& request_ ) const;
5621 
5647 RawGetRecordsResponse& getRecordsRaw( const GetRecordsRequest& request_,
5648  RawGetRecordsResponse& response_ ) const;
5649 
5673 template<typename TResponse>
5674 GetRecordsResponse<TResponse> getRecords( const GetRecordsRequest& request_ ) const
5675 {
5676  RawGetRecordsResponse actualResponse_;
5677  submitRequest("/get/records", request_, actualResponse_, false);
5678  GetRecordsResponse<TResponse> response_;
5679  response_.tableName = actualResponse_.tableName;
5680  response_.typeName = actualResponse_.typeName;
5681  response_.typeSchema = actualResponse_.typeSchema;
5682  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
5683  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
5684  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
5685  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
5686  return response_;
5687 }
5688 
5689 
5716 template<typename TResponse>
5717 GetRecordsResponse<TResponse>& getRecords( const GetRecordsRequest& request_,
5718  GetRecordsResponse<TResponse>& response_ ) const
5719 {
5720  RawGetRecordsResponse actualResponse_;
5721  submitRequest("/get/records", request_, actualResponse_, false);
5722  response_.tableName = actualResponse_.tableName;
5723  response_.typeName = actualResponse_.typeName;
5724  response_.typeSchema = actualResponse_.typeSchema;
5725  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
5726  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
5727  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
5728  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
5729  return response_;
5730 }
5731 
5732 
5775 template<typename TResponse>
5776 GetRecordsResponse<TResponse> getRecords( const std::string& tableName,
5777  const int64_t offset,
5778  const int64_t limit,
5779  const std::map<std::string, std::string>& options ) const
5780 {
5781  GetRecordsRequest actualRequest_;
5782  actualRequest_.tableName = tableName;
5783  actualRequest_.offset = offset;
5784  actualRequest_.limit = limit;
5785  actualRequest_.options = options;
5786  RawGetRecordsResponse actualResponse_;
5787  submitRequest("/get/records", actualRequest_, actualResponse_, false);
5788  GetRecordsResponse<TResponse> response_;
5789  response_.tableName = actualResponse_.tableName;
5790  response_.typeName = actualResponse_.typeName;
5791  response_.typeSchema = actualResponse_.typeSchema;
5792  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
5793  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
5794  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
5795  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
5796  return response_;
5797 }
5798 
5799 
5845 template<typename TResponse>
5846 GetRecordsResponse<TResponse>& getRecords( const std::string& tableName,
5847  const int64_t offset,
5848  const int64_t limit,
5849  const std::map<std::string, std::string>& options,
5850  GetRecordsResponse<TResponse>& response_ ) const
5851 {
5852  GetRecordsRequest actualRequest_;
5853  actualRequest_.tableName = tableName;
5854  actualRequest_.offset = offset;
5855  actualRequest_.limit = limit;
5856  actualRequest_.options = options;
5857  RawGetRecordsResponse actualResponse_;
5858  submitRequest("/get/records", actualRequest_, actualResponse_, false);
5859  response_.tableName = actualResponse_.tableName;
5860  response_.typeName = actualResponse_.typeName;
5861  response_.typeSchema = actualResponse_.typeSchema;
5862  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
5863  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
5864  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
5865  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
5866  return response_;
5867 }
5868 
5869 
5894 template<typename TResponse>
5895 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
5896  const GetRecordsRequest& request_ ) const
5897 {
5898  RawGetRecordsResponse actualResponse_;
5899  submitRequest("/get/records", request_, actualResponse_, false);
5900  GetRecordsResponse<TResponse> response_;
5901  response_.tableName = actualResponse_.tableName;
5902  response_.typeName = actualResponse_.typeName;
5903  response_.typeSchema = actualResponse_.typeSchema;
5904  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
5905  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
5906  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
5907  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
5908  return response_;
5909 }
5910 
5911 
5936 template<typename TResponse>
5937 GetRecordsResponse<TResponse> getRecords( const Type& type_,
5938  const GetRecordsRequest& request_ ) const
5939 {
5940  RawGetRecordsResponse actualResponse_;
5941  submitRequest("/get/records", request_, actualResponse_, false);
5942  GetRecordsResponse<TResponse> response_;
5943  response_.tableName = actualResponse_.tableName;
5944  response_.typeName = actualResponse_.typeName;
5945  response_.typeSchema = actualResponse_.typeSchema;
5946  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
5947  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
5948  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
5949  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
5950  return response_;
5951 }
5952 
5953 
5981 template<typename TResponse>
5982 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
5983  const GetRecordsRequest& request_,
5984  GetRecordsResponse<TResponse>& response_ ) const
5985 {
5986  RawGetRecordsResponse actualResponse_;
5987  submitRequest("/get/records", request_, actualResponse_, false);
5988  response_.tableName = actualResponse_.tableName;
5989  response_.typeName = actualResponse_.typeName;
5990  response_.typeSchema = actualResponse_.typeSchema;
5991  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
5992  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
5993  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
5994  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
5995  return response_;
5996 }
5997 
5998 
6026 template<typename TResponse>
6027 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
6028  const GetRecordsRequest& request_,
6029  GetRecordsResponse<TResponse>& response_ ) const
6030 {
6031  RawGetRecordsResponse actualResponse_;
6032  submitRequest("/get/records", request_, actualResponse_, false);
6033  response_.tableName = actualResponse_.tableName;
6034  response_.typeName = actualResponse_.typeName;
6035  response_.typeSchema = actualResponse_.typeSchema;
6036  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
6037  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
6038  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
6039  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
6040  return response_;
6041 }
6042 
6043 
6087 template<typename TResponse>
6088 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
6089  const std::string& tableName,
6090  const int64_t offset,
6091  const int64_t limit,
6092  const std::map<std::string, std::string>& options ) const
6093 {
6094  GetRecordsRequest actualRequest_;
6095  actualRequest_.tableName = tableName;
6096  actualRequest_.offset = offset;
6097  actualRequest_.limit = limit;
6098  actualRequest_.options = options;
6099  RawGetRecordsResponse actualResponse_;
6100  submitRequest("/get/records", actualRequest_, actualResponse_, false);
6101  GetRecordsResponse<TResponse> response_;
6102  response_.tableName = actualResponse_.tableName;
6103  response_.typeName = actualResponse_.typeName;
6104  response_.typeSchema = actualResponse_.typeSchema;
6105  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
6106  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
6107  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
6108  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
6109  return response_;
6110 }
6111 
6112 
6156 template<typename TResponse>
6157 GetRecordsResponse<TResponse> getRecords( const Type& type_,
6158  const std::string& tableName,
6159  const int64_t offset,
6160  const int64_t limit,
6161  const std::map<std::string, std::string>& options ) const
6162 {
6163  GetRecordsRequest actualRequest_;
6164  actualRequest_.tableName = tableName;
6165  actualRequest_.offset = offset;
6166  actualRequest_.limit = limit;
6167  actualRequest_.options = options;
6168  RawGetRecordsResponse actualResponse_;
6169  submitRequest("/get/records", actualRequest_, actualResponse_, false);
6170  GetRecordsResponse<TResponse> response_;
6171  response_.tableName = actualResponse_.tableName;
6172  response_.typeName = actualResponse_.typeName;
6173  response_.typeSchema = actualResponse_.typeSchema;
6174  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
6175  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
6176  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
6177  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
6178  return response_;
6179 }
6180 
6181 
6228 template<typename TResponse>
6229 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
6230  const std::string& tableName,
6231  const int64_t offset,
6232  const int64_t limit,
6233  const std::map<std::string, std::string>& options,
6234  GetRecordsResponse<TResponse>& response_ ) const
6235 {
6236  GetRecordsRequest actualRequest_;
6237  actualRequest_.tableName = tableName;
6238  actualRequest_.offset = offset;
6239  actualRequest_.limit = limit;
6240  actualRequest_.options = options;
6241  RawGetRecordsResponse actualResponse_;
6242  submitRequest("/get/records", actualRequest_, actualResponse_, false);
6243  response_.tableName = actualResponse_.tableName;
6244  response_.typeName = actualResponse_.typeName;
6245  response_.typeSchema = actualResponse_.typeSchema;
6246  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
6247  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
6248  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
6249  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
6250  return response_;
6251 }
6252 
6253 
6300 template<typename TResponse>
6301 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
6302  const std::string& tableName,
6303  const int64_t offset,
6304  const int64_t limit,
6305  const std::map<std::string, std::string>& options,
6306  GetRecordsResponse<TResponse>& response_ ) const
6307 {
6308  GetRecordsRequest actualRequest_;
6309  actualRequest_.tableName = tableName;
6310  actualRequest_.offset = offset;
6311  actualRequest_.limit = limit;
6312  actualRequest_.options = options;
6313  RawGetRecordsResponse actualResponse_;
6314  submitRequest("/get/records", actualRequest_, actualResponse_, false);
6315  response_.tableName = actualResponse_.tableName;
6316  response_.typeName = actualResponse_.typeName;
6317  response_.typeSchema = actualResponse_.typeSchema;
6318  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
6319  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
6320  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
6321  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
6322  return response_;
6323 }
6324 
6325 
6352 RawGetRecordsByColumnResponse getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_ ) const;
6353 
6383 RawGetRecordsByColumnResponse& getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_,
6384  RawGetRecordsByColumnResponse& response_ ) const;
6385 
6412 GetRecordsByColumnResponse getRecordsByColumn( const GetRecordsByColumnRequest& request_ ) const;
6413 
6443 GetRecordsByColumnResponse& getRecordsByColumn( const GetRecordsByColumnRequest& request_,
6444  GetRecordsByColumnResponse& response_ ) const;
6445 
6494 GetRecordsByColumnResponse getRecordsByColumn( const std::string& tableName,
6495  const std::vector<std::string>& columnNames,
6496  const int64_t offset,
6497  const int64_t limit,
6498  const std::map<std::string, std::string>& options ) const;
6499 
6551 GetRecordsByColumnResponse& getRecordsByColumn( const std::string& tableName,
6552  const std::vector<std::string>& columnNames,
6553  const int64_t offset,
6554  const int64_t limit,
6555  const std::map<std::string, std::string>& options,
6556  GetRecordsByColumnResponse& response_ ) const;
6557 
6578 RawGetRecordsBySeriesResponse getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_ ) const;
6579 
6604 RawGetRecordsBySeriesResponse& getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_,
6605  RawGetRecordsBySeriesResponse& response_ ) const;
6606 
6627 template<typename TResponse>
6628 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const GetRecordsBySeriesRequest& request_ ) const
6629 {
6630  RawGetRecordsBySeriesResponse actualResponse_;
6631  submitRequest("/get/records/byseries", request_, actualResponse_, false);
6632  GetRecordsBySeriesResponse<TResponse> response_;
6633  response_.tableNames = actualResponse_.tableNames;
6634  response_.typeNames = actualResponse_.typeNames;
6635  response_.typeSchemas = actualResponse_.typeSchemas;
6636  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
6637 
6638  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
6639  {
6640  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
6641  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
6642  }
6643 
6644  return response_;
6645 }
6646 
6647 
6673 template<typename TResponse>
6674 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const GetRecordsBySeriesRequest& request_,
6675  GetRecordsBySeriesResponse<TResponse>& response_ ) const
6676 {
6677  RawGetRecordsBySeriesResponse actualResponse_;
6678  submitRequest("/get/records/byseries", request_, actualResponse_, false);
6679  response_.tableNames = actualResponse_.tableNames;
6680  response_.typeNames = actualResponse_.typeNames;
6681  response_.typeSchemas = actualResponse_.typeSchemas;
6682  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
6683 
6684  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
6685  {
6686  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
6687  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
6688  }
6689 
6690  return response_;
6691 }
6692 
6693 
6732 template<typename TResponse>
6733 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const std::string& tableName,
6734  const std::string& worldTableName,
6735  const int32_t offset,
6736  const int32_t limit,
6737  const std::map<std::string, std::string>& options ) const
6738 {
6739  GetRecordsBySeriesRequest actualRequest_;
6740  actualRequest_.tableName = tableName;
6741  actualRequest_.worldTableName = worldTableName;
6742  actualRequest_.offset = offset;
6743  actualRequest_.limit = limit;
6744  actualRequest_.options = options;
6745  RawGetRecordsBySeriesResponse actualResponse_;
6746  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
6747  GetRecordsBySeriesResponse<TResponse> response_;
6748  response_.tableNames = actualResponse_.tableNames;
6749  response_.typeNames = actualResponse_.typeNames;
6750  response_.typeSchemas = actualResponse_.typeSchemas;
6751  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
6752 
6753  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
6754  {
6755  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
6756  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
6757  }
6758 
6759  return response_;
6760 }
6761 
6762 
6804 template<typename TResponse>
6805 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const std::string& tableName,
6806  const std::string& worldTableName,
6807  const int32_t offset,
6808  const int32_t limit,
6809  const std::map<std::string, std::string>& options,
6810  GetRecordsBySeriesResponse<TResponse>& response_ ) const
6811 {
6812  GetRecordsBySeriesRequest actualRequest_;
6813  actualRequest_.tableName = tableName;
6814  actualRequest_.worldTableName = worldTableName;
6815  actualRequest_.offset = offset;
6816  actualRequest_.limit = limit;
6817  actualRequest_.options = options;
6818  RawGetRecordsBySeriesResponse actualResponse_;
6819  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
6820  response_.tableNames = actualResponse_.tableNames;
6821  response_.typeNames = actualResponse_.typeNames;
6822  response_.typeSchemas = actualResponse_.typeSchemas;
6823  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
6824 
6825  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
6826  {
6827  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
6828  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
6829  }
6830 
6831  return response_;
6832 }
6833 
6834 
6858 template<typename TResponse>
6859 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
6860  const GetRecordsBySeriesRequest& request_ ) const
6861 {
6862  RawGetRecordsBySeriesResponse actualResponse_;
6863  submitRequest("/get/records/byseries", request_, actualResponse_, false);
6864  GetRecordsBySeriesResponse<TResponse> response_;
6865  response_.tableNames = actualResponse_.tableNames;
6866  response_.typeNames = actualResponse_.typeNames;
6867  response_.typeSchemas = actualResponse_.typeSchemas;
6868  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
6869 
6870  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
6871  {
6872  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
6873  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
6874  }
6875 
6876  return response_;
6877 }
6878 
6879 
6902 template<typename TResponse>
6903 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
6904  const GetRecordsBySeriesRequest& request_ ) const
6905 {
6906  RawGetRecordsBySeriesResponse actualResponse_;
6907  submitRequest("/get/records/byseries", request_, actualResponse_, false);
6908  GetRecordsBySeriesResponse<TResponse> response_;
6909  response_.tableNames = actualResponse_.tableNames;
6910  response_.typeNames = actualResponse_.typeNames;
6911  response_.typeSchemas = actualResponse_.typeSchemas;
6912  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
6913 
6914  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
6915  {
6916  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
6917  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
6918  }
6919 
6920  return response_;
6921 }
6922 
6923 
6950 template<typename TResponse>
6951 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
6952  const GetRecordsBySeriesRequest& request_,
6953  GetRecordsBySeriesResponse<TResponse>& response_ ) const
6954 {
6955  RawGetRecordsBySeriesResponse actualResponse_;
6956  submitRequest("/get/records/byseries", request_, actualResponse_, false);
6957  response_.tableNames = actualResponse_.tableNames;
6958  response_.typeNames = actualResponse_.typeNames;
6959  response_.typeSchemas = actualResponse_.typeSchemas;
6960  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
6961 
6962  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
6963  {
6964  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
6965  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
6966  }
6967 
6968  return response_;
6969 }
6970 
6971 
6998 template<typename TResponse>
6999 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
7000  const GetRecordsBySeriesRequest& request_,
7001  GetRecordsBySeriesResponse<TResponse>& response_ ) const
7002 {
7003  RawGetRecordsBySeriesResponse actualResponse_;
7004  submitRequest("/get/records/byseries", request_, actualResponse_, false);
7005  response_.tableNames = actualResponse_.tableNames;
7006  response_.typeNames = actualResponse_.typeNames;
7007  response_.typeSchemas = actualResponse_.typeSchemas;
7008  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
7009 
7010  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
7011  {
7012  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
7013  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
7014  }
7015 
7016  return response_;
7017 }
7018 
7019 
7059 template<typename TResponse>
7060 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
7061  const std::string& tableName,
7062  const std::string& worldTableName,
7063  const int32_t offset,
7064  const int32_t limit,
7065  const std::map<std::string, std::string>& options ) const
7066 {
7067  GetRecordsBySeriesRequest actualRequest_;
7068  actualRequest_.tableName = tableName;
7069  actualRequest_.worldTableName = worldTableName;
7070  actualRequest_.offset = offset;
7071  actualRequest_.limit = limit;
7072  actualRequest_.options = options;
7073  RawGetRecordsBySeriesResponse actualResponse_;
7074  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
7075  GetRecordsBySeriesResponse<TResponse> response_;
7076  response_.tableNames = actualResponse_.tableNames;
7077  response_.typeNames = actualResponse_.typeNames;
7078  response_.typeSchemas = actualResponse_.typeSchemas;
7079  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
7080 
7081  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
7082  {
7083  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
7084  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
7085  }
7086 
7087  return response_;
7088 }
7089 
7090 
7130 template<typename TResponse>
7131 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
7132  const std::string& tableName,
7133  const std::string& worldTableName,
7134  const int32_t offset,
7135  const int32_t limit,
7136  const std::map<std::string, std::string>& options ) const
7137 {
7138  GetRecordsBySeriesRequest actualRequest_;
7139  actualRequest_.tableName = tableName;
7140  actualRequest_.worldTableName = worldTableName;
7141  actualRequest_.offset = offset;
7142  actualRequest_.limit = limit;
7143  actualRequest_.options = options;
7144  RawGetRecordsBySeriesResponse actualResponse_;
7145  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
7146  GetRecordsBySeriesResponse<TResponse> response_;
7147  response_.tableNames = actualResponse_.tableNames;
7148  response_.typeNames = actualResponse_.typeNames;
7149  response_.typeSchemas = actualResponse_.typeSchemas;
7150  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
7151 
7152  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
7153  {
7154  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
7155  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
7156  }
7157 
7158  return response_;
7159 }
7160 
7161 
7204 template<typename TResponse>
7205 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
7206  const std::string& tableName,
7207  const std::string& worldTableName,
7208  const int32_t offset,
7209  const int32_t limit,
7210  const std::map<std::string, std::string>& options,
7211  GetRecordsBySeriesResponse<TResponse>& response_ ) const
7212 {
7213  GetRecordsBySeriesRequest actualRequest_;
7214  actualRequest_.tableName = tableName;
7215  actualRequest_.worldTableName = worldTableName;
7216  actualRequest_.offset = offset;
7217  actualRequest_.limit = limit;
7218  actualRequest_.options = options;
7219  RawGetRecordsBySeriesResponse actualResponse_;
7220  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
7221  response_.tableNames = actualResponse_.tableNames;
7222  response_.typeNames = actualResponse_.typeNames;
7223  response_.typeSchemas = actualResponse_.typeSchemas;
7224  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
7225 
7226  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
7227  {
7228  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
7229  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
7230  }
7231 
7232  return response_;
7233 }
7234 
7235 
7278 template<typename TResponse>
7279 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
7280  const std::string& tableName,
7281  const std::string& worldTableName,
7282  const int32_t offset,
7283  const int32_t limit,
7284  const std::map<std::string, std::string>& options,
7285  GetRecordsBySeriesResponse<TResponse>& response_ ) const
7286 {
7287  GetRecordsBySeriesRequest actualRequest_;
7288  actualRequest_.tableName = tableName;
7289  actualRequest_.worldTableName = worldTableName;
7290  actualRequest_.offset = offset;
7291  actualRequest_.limit = limit;
7292  actualRequest_.options = options;
7293  RawGetRecordsBySeriesResponse actualResponse_;
7294  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
7295  response_.tableNames = actualResponse_.tableNames;
7296  response_.typeNames = actualResponse_.typeNames;
7297  response_.typeSchemas = actualResponse_.typeSchemas;
7298  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
7299 
7300  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
7301  {
7302  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
7303  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
7304  }
7305 
7306  return response_;
7307 }
7308 
7309 
7328 RawGetRecordsFromCollectionResponse getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_ ) const;
7329 
7351 RawGetRecordsFromCollectionResponse& getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_,
7352  RawGetRecordsFromCollectionResponse& response_ ) const;
7353 
7373 template<typename TResponse>
7374 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_ ) const
7375 {
7376  RawGetRecordsFromCollectionResponse actualResponse_;
7377  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
7378  GetRecordsFromCollectionResponse<TResponse> response_;
7379  response_.tableName = actualResponse_.tableName;
7380  response_.typeNames = actualResponse_.typeNames;
7381  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
7382  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7383  response_.recordIds = actualResponse_.recordIds;
7384  return response_;
7385 }
7386 
7387 
7410 template<typename TResponse>
7411 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_,
7412  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
7413 {
7414  RawGetRecordsFromCollectionResponse actualResponse_;
7415  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
7416  response_.tableName = actualResponse_.tableName;
7417  response_.typeNames = actualResponse_.typeNames;
7418  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
7419  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7420  response_.recordIds = actualResponse_.recordIds;
7421  return response_;
7422 }
7423 
7424 
7459 template<typename TResponse>
7460 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const std::string& tableName,
7461  const int64_t offset,
7462  const int64_t limit,
7463  const std::map<std::string, std::string>& options ) const
7464 {
7465  GetRecordsFromCollectionRequest actualRequest_;
7466  actualRequest_.tableName = tableName;
7467  actualRequest_.offset = offset;
7468  actualRequest_.limit = limit;
7469  actualRequest_.options = options;
7470  RawGetRecordsFromCollectionResponse actualResponse_;
7471  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
7472  GetRecordsFromCollectionResponse<TResponse> response_;
7473  response_.tableName = actualResponse_.tableName;
7474  response_.typeNames = actualResponse_.typeNames;
7475  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
7476  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7477  response_.recordIds = actualResponse_.recordIds;
7478  return response_;
7479 }
7480 
7481 
7519 template<typename TResponse>
7520 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const std::string& tableName,
7521  const int64_t offset,
7522  const int64_t limit,
7523  const std::map<std::string, std::string>& options,
7524  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
7525 {
7526  GetRecordsFromCollectionRequest actualRequest_;
7527  actualRequest_.tableName = tableName;
7528  actualRequest_.offset = offset;
7529  actualRequest_.limit = limit;
7530  actualRequest_.options = options;
7531  RawGetRecordsFromCollectionResponse actualResponse_;
7532  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
7533  response_.tableName = actualResponse_.tableName;
7534  response_.typeNames = actualResponse_.typeNames;
7535  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
7536  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7537  response_.recordIds = actualResponse_.recordIds;
7538  return response_;
7539 }
7540 
7541 
7562 template<typename TResponse>
7563 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
7564  const GetRecordsFromCollectionRequest& request_ ) const
7565 {
7566  RawGetRecordsFromCollectionResponse actualResponse_;
7567  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
7568  GetRecordsFromCollectionResponse<TResponse> response_;
7569  response_.tableName = actualResponse_.tableName;
7570  response_.typeNames = actualResponse_.typeNames;
7571  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
7572  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7573  response_.recordIds = actualResponse_.recordIds;
7574  return response_;
7575 }
7576 
7577 
7598 template<typename TResponse>
7599 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
7600  const GetRecordsFromCollectionRequest& request_ ) const
7601 {
7602  RawGetRecordsFromCollectionResponse actualResponse_;
7603  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
7604  GetRecordsFromCollectionResponse<TResponse> response_;
7605  response_.tableName = actualResponse_.tableName;
7606  response_.typeNames = actualResponse_.typeNames;
7607  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
7608  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7609  response_.recordIds = actualResponse_.recordIds;
7610  return response_;
7611 }
7612 
7613 
7637 template<typename TResponse>
7638 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
7639  const GetRecordsFromCollectionRequest& request_,
7640  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
7641 {
7642  RawGetRecordsFromCollectionResponse actualResponse_;
7643  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
7644  response_.tableName = actualResponse_.tableName;
7645  response_.typeNames = actualResponse_.typeNames;
7646  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
7647  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7648  response_.recordIds = actualResponse_.recordIds;
7649  return response_;
7650 }
7651 
7652 
7676 template<typename TResponse>
7677 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
7678  const GetRecordsFromCollectionRequest& request_,
7679  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
7680 {
7681  RawGetRecordsFromCollectionResponse actualResponse_;
7682  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
7683  response_.tableName = actualResponse_.tableName;
7684  response_.typeNames = actualResponse_.typeNames;
7685  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
7686  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7687  response_.recordIds = actualResponse_.recordIds;
7688  return response_;
7689 }
7690 
7691 
7727 template<typename TResponse>
7728 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
7729  const std::string& tableName,
7730  const int64_t offset,
7731  const int64_t limit,
7732  const std::map<std::string, std::string>& options ) const
7733 {
7734  GetRecordsFromCollectionRequest actualRequest_;
7735  actualRequest_.tableName = tableName;
7736  actualRequest_.offset = offset;
7737  actualRequest_.limit = limit;
7738  actualRequest_.options = options;
7739  RawGetRecordsFromCollectionResponse actualResponse_;
7740  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
7741  GetRecordsFromCollectionResponse<TResponse> response_;
7742  response_.tableName = actualResponse_.tableName;
7743  response_.typeNames = actualResponse_.typeNames;
7744  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
7745  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7746  response_.recordIds = actualResponse_.recordIds;
7747  return response_;
7748 }
7749 
7750 
7786 template<typename TResponse>
7787 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
7788  const std::string& tableName,
7789  const int64_t offset,
7790  const int64_t limit,
7791  const std::map<std::string, std::string>& options ) const
7792 {
7793  GetRecordsFromCollectionRequest actualRequest_;
7794  actualRequest_.tableName = tableName;
7795  actualRequest_.offset = offset;
7796  actualRequest_.limit = limit;
7797  actualRequest_.options = options;
7798  RawGetRecordsFromCollectionResponse actualResponse_;
7799  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
7800  GetRecordsFromCollectionResponse<TResponse> response_;
7801  response_.tableName = actualResponse_.tableName;
7802  response_.typeNames = actualResponse_.typeNames;
7803  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
7804  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7805  response_.recordIds = actualResponse_.recordIds;
7806  return response_;
7807 }
7808 
7809 
7848 template<typename TResponse>
7849 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
7850  const std::string& tableName,
7851  const int64_t offset,
7852  const int64_t limit,
7853  const std::map<std::string, std::string>& options,
7854  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
7855 {
7856  GetRecordsFromCollectionRequest actualRequest_;
7857  actualRequest_.tableName = tableName;
7858  actualRequest_.offset = offset;
7859  actualRequest_.limit = limit;
7860  actualRequest_.options = options;
7861  RawGetRecordsFromCollectionResponse actualResponse_;
7862  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
7863  response_.tableName = actualResponse_.tableName;
7864  response_.typeNames = actualResponse_.typeNames;
7865  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
7866  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7867  response_.recordIds = actualResponse_.recordIds;
7868  return response_;
7869 }
7870 
7871 
7910 template<typename TResponse>
7911 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
7912  const std::string& tableName,
7913  const int64_t offset,
7914  const int64_t limit,
7915  const std::map<std::string, std::string>& options,
7916  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
7917 {
7918  GetRecordsFromCollectionRequest actualRequest_;
7919  actualRequest_.tableName = tableName;
7920  actualRequest_.offset = offset;
7921  actualRequest_.limit = limit;
7922  actualRequest_.options = options;
7923  RawGetRecordsFromCollectionResponse actualResponse_;
7924  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
7925  response_.tableName = actualResponse_.tableName;
7926  response_.typeNames = actualResponse_.typeNames;
7927  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
7928  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7929  response_.recordIds = actualResponse_.recordIds;
7930  return response_;
7931 }
7932 
7933 
7944 GrantPermissionSystemResponse grantPermissionSystem( const GrantPermissionSystemRequest& request_ ) const;
7945 
7959 GrantPermissionSystemResponse& grantPermissionSystem( const GrantPermissionSystemRequest& request_,
7960  GrantPermissionSystemResponse& response_ ) const;
7961 
7975 GrantPermissionSystemResponse grantPermissionSystem( const std::string& name,
7976  const std::string& permission,
7977  const std::map<std::string, std::string>& options ) const;
7978 
7995 GrantPermissionSystemResponse& grantPermissionSystem( const std::string& name,
7996  const std::string& permission,
7997  const std::map<std::string, std::string>& options,
7998  GrantPermissionSystemResponse& response_ ) const;
7999 
8010 GrantPermissionTableResponse grantPermissionTable( const GrantPermissionTableRequest& request_ ) const;
8011 
8025 GrantPermissionTableResponse& grantPermissionTable( const GrantPermissionTableRequest& request_,
8026  GrantPermissionTableResponse& response_ ) const;
8027 
8048 GrantPermissionTableResponse grantPermissionTable( const std::string& name,
8049  const std::string& permission,
8050  const std::string& tableName,
8051  const std::string& filterExpression,
8052  const std::map<std::string, std::string>& options ) const;
8053 
8077 GrantPermissionTableResponse& grantPermissionTable( const std::string& name,
8078  const std::string& permission,
8079  const std::string& tableName,
8080  const std::string& filterExpression,
8081  const std::map<std::string, std::string>& options,
8082  GrantPermissionTableResponse& response_ ) const;
8083 
8094 GrantRoleResponse grantRole( const GrantRoleRequest& request_ ) const;
8095 
8109 GrantRoleResponse& grantRole( const GrantRoleRequest& request_,
8110  GrantRoleResponse& response_ ) const;
8111 
8125 GrantRoleResponse grantRole( const std::string& role,
8126  const std::string& member,
8127  const std::map<std::string, std::string>& options ) const;
8128 
8145 GrantRoleResponse& grantRole( const std::string& role,
8146  const std::string& member,
8147  const std::map<std::string, std::string>& options,
8148  GrantRoleResponse& response_ ) const;
8149 
8160 HasTableResponse hasTable( const HasTableRequest& request_ ) const;
8161 
8175 HasTableResponse& hasTable( const HasTableRequest& request_,
8176  HasTableResponse& response_ ) const;
8177 
8188 HasTableResponse hasTable( const std::string& tableName,
8189  const std::map<std::string, std::string>& options ) const;
8190 
8204 HasTableResponse& hasTable( const std::string& tableName,
8205  const std::map<std::string, std::string>& options,
8206  HasTableResponse& response_ ) const;
8207 
8218 HasTypeResponse hasType( const HasTypeRequest& request_ ) const;
8219 
8233 HasTypeResponse& hasType( const HasTypeRequest& request_,
8234  HasTypeResponse& response_ ) const;
8235 
8247 HasTypeResponse hasType( const std::string& typeId,
8248  const std::map<std::string, std::string>& options ) const;
8249 
8264 HasTypeResponse& hasType( const std::string& typeId,
8265  const std::map<std::string, std::string>& options,
8266  HasTypeResponse& response_ ) const;
8267 
8297 InsertRecordsResponse insertRecordsRaw( const RawInsertRecordsRequest& request_ ) const;
8298 
8331 InsertRecordsResponse& insertRecordsRaw( const RawInsertRecordsRequest& request_,
8332  InsertRecordsResponse& response_ ) const;
8333 
8364 template<typename TRequest>
8365 InsertRecordsResponse insertRecords( const InsertRecordsRequest<TRequest>& request_ ) const
8366 {
8367  RawInsertRecordsRequest actualRequest_;
8368  actualRequest_.tableName = request_.tableName;
8369  avro::encode(actualRequest_.list, request_.data, this->threadCount, this->executor);
8370  actualRequest_.options = request_.options;
8371  InsertRecordsResponse actualResponse_;
8372  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
8373  return actualResponse_;
8374 }
8375 
8376 
8410 template<typename TRequest>
8411 InsertRecordsResponse& insertRecords( const InsertRecordsRequest<TRequest>& request_,
8412  InsertRecordsResponse& response_ ) const
8413 {
8414  RawInsertRecordsRequest actualRequest_;
8415  actualRequest_.tableName = request_.tableName;
8416  avro::encode(actualRequest_.list, request_.data, this->threadCount, this->executor);
8417  actualRequest_.options = request_.options;
8418  submitRequest("/insert/records", actualRequest_, response_, true);
8419  return response_;
8420 }
8421 
8422 
8478 template<typename TRequest>
8479 InsertRecordsResponse insertRecords( const std::string& tableName,
8480  const std::vector<TRequest>& data,
8481  const std::map<std::string, std::string>& options ) const
8482 {
8483  RawInsertRecordsRequest actualRequest_;
8484  actualRequest_.tableName = tableName;
8485  avro::encode(actualRequest_.list, data, this->threadCount, this->executor);
8486  actualRequest_.options = options;
8487  InsertRecordsResponse actualResponse_;
8488  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
8489  return actualResponse_;
8490 }
8491 
8492 
8551 template<typename TRequest>
8552 InsertRecordsResponse& insertRecords( const std::string& tableName,
8553  const std::vector<TRequest>& data,
8554  const std::map<std::string, std::string>& options,
8555  InsertRecordsResponse& response_ ) const
8556 {
8557  RawInsertRecordsRequest actualRequest_;
8558  actualRequest_.tableName = tableName;
8559  avro::encode(actualRequest_.list, data, this->threadCount, this->executor);
8560  actualRequest_.options = options;
8561  submitRequest("/insert/records", actualRequest_, response_, true);
8562  return response_;
8563 }
8564 
8565 
8584 InsertRecordsRandomResponse insertRecordsRandom( const InsertRecordsRandomRequest& request_ ) const;
8585 
8607 InsertRecordsRandomResponse& insertRecordsRandom( const InsertRecordsRandomRequest& request_,
8608  InsertRecordsRandomResponse& response_ ) const;
8609 
8749 InsertRecordsRandomResponse insertRecordsRandom( const std::string& tableName,
8750  const int64_t count,
8751  const std::map<std::string, std::map<std::string, double> >& options ) const;
8752 
8895 InsertRecordsRandomResponse& insertRecordsRandom( const std::string& tableName,
8896  const int64_t count,
8897  const std::map<std::string, std::map<std::string, double> >& options,
8898  InsertRecordsRandomResponse& response_ ) const;
8899 
8919 InsertSymbolResponse insertSymbol( const InsertSymbolRequest& request_ ) const;
8920 
8943 InsertSymbolResponse& insertSymbol( const InsertSymbolRequest& request_,
8944  InsertSymbolResponse& response_ ) const;
8945 
8983 InsertSymbolResponse insertSymbol( const std::string& symbolId,
8984  const std::string& symbolFormat,
8985  const std::vector<uint8_t>& symbolData,
8986  const std::map<std::string, std::string>& options ) const;
8987 
9028 InsertSymbolResponse& insertSymbol( const std::string& symbolId,
9029  const std::string& symbolFormat,
9030  const std::vector<uint8_t>& symbolData,
9031  const std::map<std::string, std::string>& options,
9032  InsertSymbolResponse& response_ ) const;
9033 
9050 LockTableResponse lockTable( const LockTableRequest& request_ ) const;
9051 
9071 LockTableResponse& lockTable( const LockTableRequest& request_,
9072  LockTableResponse& response_ ) const;
9073 
9096 LockTableResponse lockTable( const std::string& tableName,
9097  const std::string& lockType,
9098  const std::map<std::string, std::string>& options ) const;
9099 
9125 LockTableResponse& lockTable( const std::string& tableName,
9126  const std::string& lockType,
9127  const std::map<std::string, std::string>& options,
9128  LockTableResponse& response_ ) const;
9129 
9140 RevokePermissionSystemResponse revokePermissionSystem( const RevokePermissionSystemRequest& request_ ) const;
9141 
9155 RevokePermissionSystemResponse& revokePermissionSystem( const RevokePermissionSystemRequest& request_,
9156  RevokePermissionSystemResponse& response_ ) const;
9157 
9171 RevokePermissionSystemResponse revokePermissionSystem( const std::string& name,
9172  const std::string& permission,
9173  const std::map<std::string, std::string>& options ) const;
9174 
9191 RevokePermissionSystemResponse& revokePermissionSystem( const std::string& name,
9192  const std::string& permission,
9193  const std::map<std::string, std::string>& options,
9194  RevokePermissionSystemResponse& response_ ) const;
9195 
9206 RevokePermissionTableResponse revokePermissionTable( const RevokePermissionTableRequest& request_ ) const;
9207 
9221 RevokePermissionTableResponse& revokePermissionTable( const RevokePermissionTableRequest& request_,
9222  RevokePermissionTableResponse& response_ ) const;
9223 
9240 RevokePermissionTableResponse revokePermissionTable( const std::string& name,
9241  const std::string& permission,
9242  const std::string& tableName,
9243  const std::map<std::string, std::string>& options ) const;
9244 
9264 RevokePermissionTableResponse& revokePermissionTable( const std::string& name,
9265  const std::string& permission,
9266  const std::string& tableName,
9267  const std::map<std::string, std::string>& options,
9268  RevokePermissionTableResponse& response_ ) const;
9269 
9280 RevokeRoleResponse revokeRole( const RevokeRoleRequest& request_ ) const;
9281 
9295 RevokeRoleResponse& revokeRole( const RevokeRoleRequest& request_,
9296  RevokeRoleResponse& response_ ) const;
9297 
9311 RevokeRoleResponse revokeRole( const std::string& role,
9312  const std::string& member,
9313  const std::map<std::string, std::string>& options ) const;
9314 
9331 RevokeRoleResponse& revokeRole( const std::string& role,
9332  const std::string& member,
9333  const std::map<std::string, std::string>& options,
9334  RevokeRoleResponse& response_ ) const;
9335 
9348 ShowSecurityResponse showSecurity( const ShowSecurityRequest& request_ ) const;
9349 
9365 ShowSecurityResponse& showSecurity( const ShowSecurityRequest& request_,
9366  ShowSecurityResponse& response_ ) const;
9367 
9382 ShowSecurityResponse showSecurity( const std::vector<std::string>& names,
9383  const std::map<std::string, std::string>& options ) const;
9384 
9402 ShowSecurityResponse& showSecurity( const std::vector<std::string>& names,
9403  const std::map<std::string, std::string>& options,
9404  ShowSecurityResponse& response_ ) const;
9405 
9418 ShowSystemPropertiesResponse showSystemProperties( const ShowSystemPropertiesRequest& request_ ) const;
9419 
9435 ShowSystemPropertiesResponse& showSystemProperties( const ShowSystemPropertiesRequest& request_,
9436  ShowSystemPropertiesResponse& response_ ) const;
9437 
9455 ShowSystemPropertiesResponse showSystemProperties( const std::map<std::string, std::string>& options ) const;
9456 
9477 ShowSystemPropertiesResponse& showSystemProperties( const std::map<std::string, std::string>& options,
9478  ShowSystemPropertiesResponse& response_ ) const;
9479 
9491 ShowSystemStatusResponse showSystemStatus( const ShowSystemStatusRequest& request_ ) const;
9492 
9507 ShowSystemStatusResponse& showSystemStatus( const ShowSystemStatusRequest& request_,
9508  ShowSystemStatusResponse& response_ ) const;
9509 
9521 ShowSystemStatusResponse showSystemStatus( const std::map<std::string, std::string>& options ) const;
9522 
9537 ShowSystemStatusResponse& showSystemStatus( const std::map<std::string, std::string>& options,
9538  ShowSystemStatusResponse& response_ ) const;
9539 
9552 ShowSystemTimingResponse showSystemTiming( const ShowSystemTimingRequest& request_ ) const;
9553 
9569 ShowSystemTimingResponse& showSystemTiming( const ShowSystemTimingRequest& request_,
9570  ShowSystemTimingResponse& response_ ) const;
9571 
9584 ShowSystemTimingResponse showSystemTiming( const std::map<std::string, std::string>& options ) const;
9585 
9601 ShowSystemTimingResponse& showSystemTiming( const std::map<std::string, std::string>& options,
9602  ShowSystemTimingResponse& response_ ) const;
9603 
9639 ShowTableResponse showTable( const ShowTableRequest& request_ ) const;
9640 
9679 ShowTableResponse& showTable( const ShowTableRequest& request_,
9680  ShowTableResponse& response_ ) const;
9681 
9732 ShowTableResponse showTable( const std::string& tableName,
9733  const std::map<std::string, std::string>& options ) const;
9734 
9788 ShowTableResponse& showTable( const std::string& tableName,
9789  const std::map<std::string, std::string>& options,
9790  ShowTableResponse& response_ ) const;
9791 
9802 ShowTableMetadataResponse showTableMetadata( const ShowTableMetadataRequest& request_ ) const;
9803 
9817 ShowTableMetadataResponse& showTableMetadata( const ShowTableMetadataRequest& request_,
9818  ShowTableMetadataResponse& response_ ) const;
9819 
9831 ShowTableMetadataResponse showTableMetadata( const std::vector<std::string>& tableNames,
9832  const std::map<std::string, std::string>& options ) const;
9833 
9848 ShowTableMetadataResponse& showTableMetadata( const std::vector<std::string>& tableNames,
9849  const std::map<std::string, std::string>& options,
9850  ShowTableMetadataResponse& response_ ) const;
9851 
9866 ShowTablesByTypeResponse showTablesByType( const ShowTablesByTypeRequest& request_ ) const;
9867 
9885 ShowTablesByTypeResponse& showTablesByType( const ShowTablesByTypeRequest& request_,
9886  ShowTablesByTypeResponse& response_ ) const;
9887 
9904 ShowTablesByTypeResponse showTablesByType( const std::string& typeId,
9905  const std::string& label,
9906  const std::map<std::string, std::string>& options ) const;
9907 
9927 ShowTablesByTypeResponse& showTablesByType( const std::string& typeId,
9928  const std::string& label,
9929  const std::map<std::string, std::string>& options,
9930  ShowTablesByTypeResponse& response_ ) const;
9931 
9943 ShowTriggersResponse showTriggers( const ShowTriggersRequest& request_ ) const;
9944 
9959 ShowTriggersResponse& showTriggers( const ShowTriggersRequest& request_,
9960  ShowTriggersResponse& response_ ) const;
9961 
9975 ShowTriggersResponse showTriggers( const std::vector<std::string>& triggerIds,
9976  const std::map<std::string, std::string>& options ) const;
9977 
9994 ShowTriggersResponse& showTriggers( const std::vector<std::string>& triggerIds,
9995  const std::map<std::string, std::string>& options,
9996  ShowTriggersResponse& response_ ) const;
9997 
10012 ShowTypesResponse showTypes( const ShowTypesRequest& request_ ) const;
10013 
10031 ShowTypesResponse& showTypes( const ShowTypesRequest& request_,
10032  ShowTypesResponse& response_ ) const;
10033 
10050 ShowTypesResponse showTypes( const std::string& typeId,
10051  const std::string& label,
10052  const std::map<std::string, std::string>& options ) const;
10053 
10073 ShowTypesResponse& showTypes( const std::string& typeId,
10074  const std::string& label,
10075  const std::map<std::string, std::string>& options,
10076  ShowTypesResponse& response_ ) const;
10077 
10106 UpdateRecordsResponse updateRecordsRaw( const RawUpdateRecordsRequest& request_ ) const;
10107 
10139 UpdateRecordsResponse& updateRecordsRaw( const RawUpdateRecordsRequest& request_,
10140  UpdateRecordsResponse& response_ ) const;
10141 
10171 template<typename TRequest>
10172 UpdateRecordsResponse updateRecords( const UpdateRecordsRequest<TRequest>& request_ ) const
10173 {
10174  RawUpdateRecordsRequest actualRequest_;
10175  actualRequest_.tableName = request_.tableName;
10176  actualRequest_.expressions = request_.expressions;
10177  actualRequest_.newValuesMaps = request_.newValuesMaps;
10178  avro::encode(actualRequest_.recordsToInsert, request_.data, this->threadCount, this->executor);
10179  actualRequest_.options = request_.options;
10180  UpdateRecordsResponse actualResponse_;
10181  submitRequest("/update/records", actualRequest_, actualResponse_, true);
10182  return actualResponse_;
10183 }
10184 
10185 
10218 template<typename TRequest>
10219 UpdateRecordsResponse& updateRecords( const UpdateRecordsRequest<TRequest>& request_,
10220  UpdateRecordsResponse& response_ ) const
10221 {
10222  RawUpdateRecordsRequest actualRequest_;
10223  actualRequest_.tableName = request_.tableName;
10224  actualRequest_.expressions = request_.expressions;
10225  actualRequest_.newValuesMaps = request_.newValuesMaps;
10226  avro::encode(actualRequest_.recordsToInsert, request_.data, this->threadCount, this->executor);
10227  actualRequest_.options = request_.options;
10228  submitRequest("/update/records", actualRequest_, response_, true);
10229  return response_;
10230 }
10231 
10232 
10296 template<typename TRequest>
10297 UpdateRecordsResponse updateRecords( const std::string& tableName,
10298  const std::vector<std::string>& expressions,
10299  const std::vector<std::map<std::string, std::string> >& newValuesMaps,
10300  const std::vector<TRequest>& data,
10301  const std::map<std::string, std::string>& options ) const
10302 {
10303  RawUpdateRecordsRequest actualRequest_;
10304  actualRequest_.tableName = tableName;
10305  actualRequest_.expressions = expressions;
10306  actualRequest_.newValuesMaps = newValuesMaps;
10307  avro::encode(actualRequest_.recordsToInsert, data, this->threadCount, this->executor);
10308  actualRequest_.options = options;
10309  UpdateRecordsResponse actualResponse_;
10310  submitRequest("/update/records", actualRequest_, actualResponse_, true);
10311  return actualResponse_;
10312 }
10313 
10314 
10381 template<typename TRequest>
10382 UpdateRecordsResponse& updateRecords( const std::string& tableName,
10383  const std::vector<std::string>& expressions,
10384  const std::vector<std::map<std::string, std::string> >& newValuesMaps,
10385  const std::vector<TRequest>& data,
10386  const std::map<std::string, std::string>& options,
10387  UpdateRecordsResponse& response_ ) const
10388 {
10389  RawUpdateRecordsRequest actualRequest_;
10390  actualRequest_.tableName = tableName;
10391  actualRequest_.expressions = expressions;
10392  actualRequest_.newValuesMaps = newValuesMaps;
10393  avro::encode(actualRequest_.recordsToInsert, data, this->threadCount, this->executor);
10394  actualRequest_.options = options;
10395  submitRequest("/update/records", actualRequest_, response_, true);
10396  return response_;
10397 }
10398 
10399 
10412 UpdateRecordsBySeriesResponse updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_ ) const;
10413 
10429 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_,
10430  UpdateRecordsBySeriesResponse& response_ ) const;
10431 
10451 UpdateRecordsBySeriesResponse updateRecordsBySeries( const std::string& tableName,
10452  const std::string& worldTableName,
10453  const std::string& viewName,
10454  const std::vector<std::string>& reserved,
10455  const std::map<std::string, std::string>& options ) const;
10456 
10479 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const std::string& tableName,
10480  const std::string& worldTableName,
10481  const std::string& viewName,
10482  const std::vector<std::string>& reserved,
10483  const std::map<std::string, std::string>& options,
10484  UpdateRecordsBySeriesResponse& response_ ) const;
10485 
10496 VisualizeImageResponse visualizeImage( const VisualizeImageRequest& request_ ) const;
10497 
10511 VisualizeImageResponse& visualizeImage( const VisualizeImageRequest& request_,
10512  VisualizeImageResponse& response_ ) const;
10513 
10565 VisualizeImageResponse visualizeImage( const std::vector<std::string>& tableNames,
10566  const std::vector<std::string>& worldTableNames,
10567  const std::string& xColumnName,
10568  const std::string& yColumnName,
10569  const std::vector<std::vector<std::string> >& trackIds,
10570  const double minX,
10571  const double maxX,
10572  const double minY,
10573  const double maxY,
10574  const int32_t width,
10575  const int32_t height,
10576  const std::string& projection,
10577  const int64_t bgColor,
10578  const std::map<std::string, std::vector<std::string> >& styleOptions,
10579  const std::map<std::string, std::string>& options ) const;
10580 
10635 VisualizeImageResponse& visualizeImage( const std::vector<std::string>& tableNames,
10636  const std::vector<std::string>& worldTableNames,
10637  const std::string& xColumnName,
10638  const std::string& yColumnName,
10639  const std::vector<std::vector<std::string> >& trackIds,
10640  const double minX,
10641  const double maxX,
10642  const double minY,
10643  const double maxY,
10644  const int32_t width,
10645  const int32_t height,
10646  const std::string& projection,
10647  const int64_t bgColor,
10648  const std::map<std::string, std::vector<std::string> >& styleOptions,
10649  const std::map<std::string, std::string>& options,
10650  VisualizeImageResponse& response_ ) const;
10651 
10662 VisualizeImageClassbreakResponse visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_ ) const;
10663 
10677 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_,
10678  VisualizeImageClassbreakResponse& response_ ) const;
10679 
10735 VisualizeImageClassbreakResponse visualizeImageClassbreak( const std::vector<std::string>& tableNames,
10736  const std::vector<std::string>& worldTableNames,
10737  const std::string& xColumnName,
10738  const std::string& yColumnName,
10739  const std::vector<std::vector<std::string> >& trackIds,
10740  const std::string& cbColumnName1,
10741  const std::vector<std::string>& cbVals1,
10742  const std::vector<std::string>& cbColumnName2,
10743  const std::vector<std::vector<std::string> >& cbVals2,
10744  const double minX,
10745  const double maxX,
10746  const double minY,
10747  const double maxY,
10748  const int32_t width,
10749  const int32_t height,
10750  const std::string& projection,
10751  const int64_t bgColor,
10752  const std::map<std::string, std::vector<std::string> >& styleOptions,
10753  const std::map<std::string, std::string>& options ) const;
10754 
10813 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const std::vector<std::string>& tableNames,
10814  const std::vector<std::string>& worldTableNames,
10815  const std::string& xColumnName,
10816  const std::string& yColumnName,
10817  const std::vector<std::vector<std::string> >& trackIds,
10818  const std::string& cbColumnName1,
10819  const std::vector<std::string>& cbVals1,
10820  const std::vector<std::string>& cbColumnName2,
10821  const std::vector<std::vector<std::string> >& cbVals2,
10822  const double minX,
10823  const double maxX,
10824  const double minY,
10825  const double maxY,
10826  const int32_t width,
10827  const int32_t height,
10828  const std::string& projection,
10829  const int64_t bgColor,
10830  const std::map<std::string, std::vector<std::string> >& styleOptions,
10831  const std::map<std::string, std::string>& options,
10832  VisualizeImageClassbreakResponse& response_ ) const;
10833 
10844 VisualizeImageHeatmapResponse visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_ ) const;
10845 
10859 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_,
10860  VisualizeImageHeatmapResponse& response_ ) const;
10861 
10894 VisualizeImageHeatmapResponse visualizeImageHeatmap( const std::vector<std::string>& tableNames,
10895  const std::string& xColumnName,
10896  const std::string& yColumnName,
10897  const std::string& valueColumnName,
10898  const double minX,
10899  const double maxX,
10900  const double minY,
10901  const double maxY,
10902  const int32_t width,
10903  const int32_t height,
10904  const std::string& projection,
10905  const std::map<std::string, std::string>& styleOptions,
10906  const std::map<std::string, std::string>& options ) const;
10907 
10943 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const std::vector<std::string>& tableNames,
10944  const std::string& xColumnName,
10945  const std::string& yColumnName,
10946  const std::string& valueColumnName,
10947  const double minX,
10948  const double maxX,
10949  const double minY,
10950  const double maxY,
10951  const int32_t width,
10952  const int32_t height,
10953  const std::string& projection,
10954  const std::map<std::string, std::string>& styleOptions,
10955  const std::map<std::string, std::string>& options,
10956  VisualizeImageHeatmapResponse& response_ ) const;
10957 
10968 VisualizeImageLabelsResponse visualizeImageLabels( const VisualizeImageLabelsRequest& request_ ) const;
10969 
10983 VisualizeImageLabelsResponse& visualizeImageLabels( const VisualizeImageLabelsRequest& request_,
10984  VisualizeImageLabelsResponse& response_ ) const;
10985 
11021 VisualizeImageLabelsResponse visualizeImageLabels( const std::string& tableName,
11022  const std::string& xColumnName,
11023  const std::string& yColumnName,
11024  const std::string& xOffset,
11025  const std::string& yOffset,
11026  const std::string& textString,
11027  const std::string& font,
11028  const std::string& textColor,
11029  const std::string& textAngle,
11030  const std::string& textScale,
11031  const std::string& drawBox,
11032  const std::string& drawLeader,
11033  const std::string& lineWidth,
11034  const std::string& lineColor,
11035  const std::string& fillColor,
11036  const std::string& leaderXColumnName,
11037  const std::string& leaderYColumnName,
11038  const double minX,
11039  const double maxX,
11040  const double minY,
11041  const double maxY,
11042  const int32_t width,
11043  const int32_t height,
11044  const std::string& projection,
11045  const std::map<std::string, std::string>& options ) const;
11046 
11085 VisualizeImageLabelsResponse& visualizeImageLabels( const std::string& tableName,
11086  const std::string& xColumnName,
11087  const std::string& yColumnName,
11088  const std::string& xOffset,
11089  const std::string& yOffset,
11090  const std::string& textString,
11091  const std::string& font,
11092  const std::string& textColor,
11093  const std::string& textAngle,
11094  const std::string& textScale,
11095  const std::string& drawBox,
11096  const std::string& drawLeader,
11097  const std::string& lineWidth,
11098  const std::string& lineColor,
11099  const std::string& fillColor,
11100  const std::string& leaderXColumnName,
11101  const std::string& leaderYColumnName,
11102  const double minX,
11103  const double maxX,
11104  const double minY,
11105  const double maxY,
11106  const int32_t width,
11107  const int32_t height,
11108  const std::string& projection,
11109  const std::map<std::string, std::string>& options,
11110  VisualizeImageLabelsResponse& response_ ) const;
11111 
11148 VisualizeVideoResponse visualizeVideo( const VisualizeVideoRequest& request_ ) const;
11149 
11189 VisualizeVideoResponse& visualizeVideo( const VisualizeVideoRequest& request_,
11190  VisualizeVideoResponse& response_ ) const;
11191 
11293 VisualizeVideoResponse visualizeVideo( const std::vector<std::string>& tableNames,
11294  const std::vector<std::string>& worldTableNames,
11295  const std::vector<std::vector<std::string> >& trackIds,
11296  const std::string& xColumnName,
11297  const std::string& yColumnName,
11298  const double minX,
11299  const double maxX,
11300  const double minY,
11301  const double maxY,
11302  const int32_t width,
11303  const int32_t height,
11304  const std::string& projection,
11305  const int64_t bgColor,
11306  const std::vector<std::vector<double> >& timeIntervals,
11307  const std::string& videoStyle,
11308  const std::string& sessionKey,
11309  const std::map<std::string, std::vector<std::string> >& styleOptions,
11310  const std::map<std::string, std::string>& options ) const;
11311 
11416 VisualizeVideoResponse& visualizeVideo( const std::vector<std::string>& tableNames,
11417  const std::vector<std::string>& worldTableNames,
11418  const std::vector<std::vector<std::string> >& trackIds,
11419  const std::string& xColumnName,
11420  const std::string& yColumnName,
11421  const double minX,
11422  const double maxX,
11423  const double minY,
11424  const double maxY,
11425  const int32_t width,
11426  const int32_t height,
11427  const std::string& projection,
11428  const int64_t bgColor,
11429  const std::vector<std::vector<double> >& timeIntervals,
11430  const std::string& videoStyle,
11431  const std::string& sessionKey,
11432  const std::map<std::string, std::vector<std::string> >& styleOptions,
11433  const std::map<std::string, std::string>& options,
11434  VisualizeVideoResponse& response_ ) const;
11435 
11446 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_ ) const;
11447 
11461 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_,
11462  VisualizeVideoHeatmapResponse& response_ ) const;
11463 
11498 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
11499  const std::string& xColumnName,
11500  const std::string& yColumnName,
11501  const double minX,
11502  const double maxX,
11503  const double minY,
11504  const double maxY,
11505  const std::vector<std::vector<double> >& timeIntervals,
11506  const int32_t width,
11507  const int32_t height,
11508  const std::string& projection,
11509  const std::string& videoStyle,
11510  const std::string& sessionKey,
11511  const std::map<std::string, std::string>& styleOptions,
11512  const std::map<std::string, std::string>& options ) const;
11513 
11551 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
11552  const std::string& xColumnName,
11553  const std::string& yColumnName,
11554  const double minX,
11555  const double maxX,
11556  const double minY,
11557  const double maxY,
11558  const std::vector<std::vector<double> >& timeIntervals,
11559  const int32_t width,
11560  const int32_t height,
11561  const std::string& projection,
11562  const std::string& videoStyle,
11563  const std::string& sessionKey,
11564  const std::map<std::string, std::string>& styleOptions,
11565  const std::map<std::string, std::string>& options,
11566  VisualizeVideoHeatmapResponse& response_ ) const;
ShowTypesResponse showTypes(const ShowTypesRequest &request_) const
Retrieves information for the specified data type.
RawGetRecordsBySeriesResponse getRecordsBySeriesRaw(const GetRecordsBySeriesRequest &request_) const
Retrieves the complete series/track records from the given worldTableName based on the partial track ...
FilterByBoxResponse filterByBox(const FilterByBoxRequest &request_) const
Calculates how many objects within the given table lie in a rectangular box.
UpdateRecordsBySeriesResponse updateRecordsBySeries(const UpdateRecordsBySeriesRequest &request_) const
Updates the view specified by tableName to include full series (track) information from the worldTabl...
ExecuteProcResponse executeProc(const ExecuteProcRequest &request_) const
Executes a proc in the GPUdb Node.js proc server.
ShowTriggersResponse showTriggers(const ShowTriggersRequest &request_) const
Retrieves information regarding the specified triggers or all existing triggers currently active with...
FilterBySeriesResponse filterBySeries(const FilterBySeriesRequest &request_) const
Filters objects matching all points of the given track (works only on track type data).
CreateTypeResponse createType(const CreateTypeRequest &request_) const
Creates a new type in GPUdb describing the layout or schema of a table.
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.
AggregateConvexHullResponse aggregateConvexHull(const AggregateConvexHullRequest &request_) const
Calculates and returns the convex hull for the values in a table specified by tableName.
InsertRecordsRandomResponse insertRecordsRandom(const InsertRecordsRandomRequest &request_) const
Generates a specified number of random records and adds them to the given table.
FilterByGeometryResponse filterByGeometry(const FilterByGeometryRequest &request_) const
Applies a geometry filter against a spatial column named WKT in a given table, collection or view...
RawGetRecordsFromCollectionResponse getRecordsFromCollectionRaw(const GetRecordsFromCollectionRequest &request_) const
Retrieves records from a collection.
InsertRecordsResponse insertRecordsRaw(const RawInsertRecordsRequest &request_) const
Adds multiple records to the specified table.
HasTypeResponse hasType(const HasTypeRequest &request_) const
Check the existence of a type in GPUdb.
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...
CreateUnionResponse createUnion(const CreateUnionRequest &request_) const
Creates a table that is the concatenation of one or more existing tables.
UpdateRecordsResponse updateRecords(const UpdateRecordsRequest< TRequest > &request_) const
Runs multiple predicate-based updates in a single call.
CreateTableMonitorResponse createTableMonitor(const CreateTableMonitorRequest &request_) const
Creates a monitor that watches for new records inserted into a particular table (identified by tableN...
DeleteUserResponse deleteUser(const DeleteUserRequest &request_) const
Deletes an existing user.
AdminShutdownResponse adminShutdown(const AdminShutdownRequest &request_) const
Exits the GPUdb server application.
CreateUserInternalResponse createUserInternal(const CreateUserInternalRequest &request_) const
Creates a new internal user (a user whose credentials are managed by GPUdb).
AggregateMinMaxResponse aggregateMinMax(const AggregateMinMaxRequest &request_) const
Calculates and returns the minimum and maximum values of a particular column in a table...
CreateUserExternalResponse createUserExternal(const CreateUserExternalRequest &request_) const
Creates a new external user (a user whose credentials are managed by an external LDAP).
ShowTableResponse showTable(const ShowTableRequest &request_) const
Retrieves detailed information about a particular GPUdb table, specified in tableName.
RawAggregateGroupByResponse aggregateGroupByRaw(const AggregateGroupByRequest &request_) const
Calculates unique combinations (groups) of values for the given columns in a given table/view/collect...
DeleteRoleResponse deleteRole(const DeleteRoleRequest &request_) const
Deletes an existing role.
AlterSystemPropertiesResponse alterSystemProperties(const AlterSystemPropertiesRequest &request_) const
The alter_system_properties endpoint is primarily used to simplify the testing of GPUdb and is not ex...
DeleteRecordsResponse deleteRecords(const DeleteRecordsRequest &request_) const
Deletes record(s) matching the provided criteria from the given table.
RawGetRecordsResponse getRecordsRaw(const GetRecordsRequest &request_) const
Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column...
CreateRoleResponse createRole(const CreateRoleRequest &request_) const
Creates a new role.
AggregateHistogramResponse aggregateHistogram(const AggregateHistogramRequest &request_) const
Performs a histogram calculation given a table, a column, and an interval function.
CreateJoinTableResponse createJoinTable(const CreateJoinTableRequest &request_) const
Creates a table that is the result of a SQL JOIN.
FilterByStringResponse filterByString(const FilterByStringRequest &request_) const
Calculates which objects from a table, collection, or view match a string expression for the given st...
GetRecordsByColumnResponse getRecordsByColumn(const GetRecordsByColumnRequest &request_) const
For a given table, retrieves the values of the given columns within a given range.
RawGetRecordsByColumnResponse getRecordsByColumnRaw(const GetRecordsByColumnRequest &request_) const
For a given table, retrieves the values of the given columns within a given range.
AggregateKMeansResponse aggregateKMeans(const AggregateKMeansRequest &request_) const
This endpoint runs the k-means algorithm - a heuristic algorithm that attempts to do k-means clusteri...
RevokePermissionTableResponse revokePermissionTable(const RevokePermissionTableRequest &request_) const
Revokes a table-level permission from a user or role.
AdminVerifyDbResponse adminVerifyDb(const AdminVerifyDbRequest &request_) const
Verify database is in a consistent state.
GetRecordsFromCollectionResponse< TResponse > getRecordsFromCollection(const GetRecordsFromCollectionRequest &request_) const
Retrieves records from a collection.
GrantRoleResponse grantRole(const GrantRoleRequest &request_) const
Grants membership in a role to a user or role.
UpdateRecordsResponse updateRecordsRaw(const RawUpdateRecordsRequest &request_) const
Runs multiple predicate-based updates in a single call.
ClearTriggerResponse clearTrigger(const ClearTriggerRequest &request_) const
Clears or cancels the trigger identified by the specified handle.
GetRecordsBySeriesResponse< TResponse > getRecordsBySeries(const GetRecordsBySeriesRequest &request_) const
Retrieves the complete series/track records from the given worldTableName based on the partial track ...
AggregateGroupByResponse aggregateGroupBy(const AggregateGroupByRequest &request_) const
Calculates unique combinations (groups) of values for the given columns in a given table/view/collect...
FilterByValueResponse filterByValue(const FilterByValueRequest &request_) const
Calculates which objects from a table has a particular value for a particular column.
AlterUserResponse alterUser(const AlterUserRequest &request_) const
Alters a user.
AggregateStatisticsResponse aggregateStatistics(const AggregateStatisticsRequest &request_) const
Calculates the requested statistics of a given column in a given table.
FilterByListResponse filterByList(const FilterByListRequest &request_) const
Calculates which records from a table have values in the given list for the corresponding column...
FilterByRangeResponse filterByRange(const FilterByRangeRequest &request_) const
Calculates which objects from a table have a column that is within the given bounds.
AdminOfflineResponse adminOffline(const AdminOfflineRequest &request_) const
Take the system offline.
VisualizeVideoResponse visualizeVideo(const VisualizeVideoRequest &request_) const
Creates raster images of data in the given table based on provided input parameters.
GrantPermissionTableResponse grantPermissionTable(const GrantPermissionTableRequest &request_) const
Grants a table-level permission to a user or role.
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.
CreateTriggerByAreaResponse createTriggerByArea(const CreateTriggerByAreaRequest &request_) const
Sets up an area trigger mechanism for two column_names for one or more tables.
CreateTableResponse createTable(const CreateTableRequest &request_) const
Creates a new table or collection in GPUdb.
AlterTableResponse alterTable(const AlterTableRequest &request_) const
Apply various modifications to a table or collection.
InsertRecordsResponse insertRecords(const InsertRecordsRequest< TRequest > &request_) const
Adds multiple records to the specified table.
RevokeRoleResponse revokeRole(const RevokeRoleRequest &request_) const
Revokes membership in a role from a user or role.
CreateTriggerByRangeResponse createTriggerByRange(const CreateTriggerByRangeRequest &request_) const
Sets up a simple range trigger for a column_name for one or more tables.
GetRecordsResponse< TResponse > getRecords(const GetRecordsRequest &request_) const
Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column...
RawAggregateUniqueResponse aggregateUniqueRaw(const AggregateUniqueRequest &request_) const
Returns all the unique values from a particular column (specified by columnName) of a particular tabl...
FilterByTableResponse filterByTable(const FilterByTableRequest &request_) const
Filters objects in one table based on objects in another table.
ClearTableResponse clearTable(const ClearTableRequest &request_) const
Clears (drops) one or all tables in the GPUdb cluster.
InsertSymbolResponse insertSymbol(const InsertSymbolRequest &request_) const
Adds a symbol or icon (i.e.
LockTableResponse lockTable(const LockTableRequest &request_) const
Manages global access to a table&#39;s data.
FilterByAreaResponse filterByArea(const FilterByAreaRequest &request_) const
Calculates which objects from a table are within a named area of interest (NAI/polygon).
AggregateUniqueResponse aggregateUnique(const AggregateUniqueRequest &request_) const
Returns all the unique values from a particular column (specified by columnName) of a particular tabl...
ShowSystemTimingResponse showSystemTiming(const ShowSystemTimingRequest &request_) const
Returns the last 100 requests made to GPUdb along with the request timing and internal job id...
ShowSecurityResponse showSecurity(const ShowSecurityRequest &request_) const
Shows security information relating to users and/or roles.
AlterTableMetadataResponse alterTableMetadata(const AlterTableMetadataRequest &request_) const
Updates (adds or changes) metadata for tables.
ShowSystemStatusResponse showSystemStatus(const ShowSystemStatusRequest &request_) const
Provides server configuration and health related status to the caller.
HasTableResponse hasTable(const HasTableRequest &request_) const
Checks the existence of a table with the given name in GPUdb.
RevokePermissionSystemResponse revokePermissionSystem(const RevokePermissionSystemRequest &request_) const
Revokes a system-level permission from a user or role.
ShowSystemPropertiesResponse showSystemProperties(const ShowSystemPropertiesRequest &request_) const
Returns server configuration and version related information to the caller.
FilterByRadiusResponse filterByRadius(const FilterByRadiusRequest &request_) const
Calculates which objects from a table lie within a circle with the given radius and center point (i...
ShowTablesByTypeResponse showTablesByType(const ShowTablesByTypeRequest &request_) const
Gets names of the tables from GPUdb based on the type information.