GPUdb C++ API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
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 
168 AdminOfflineResponse adminOffline( const bool offline,
169  const std::map<std::string, std::string>& options ) const;
170 
189 AdminOfflineResponse& adminOffline( const bool offline,
190  const std::map<std::string, std::string>& options,
191  AdminOfflineResponse& response_ ) const;
192 
203 AdminRebalanceResponse adminRebalance( const AdminRebalanceRequest& request_ ) const;
204 
218 AdminRebalanceResponse& adminRebalance( const AdminRebalanceRequest& request_,
219  AdminRebalanceResponse& response_ ) const;
220 
231 AdminRebalanceResponse adminRebalance( const std::vector<std::string>& tableNames,
232  const std::map<std::string, std::string>& options ) const;
233 
247 AdminRebalanceResponse& adminRebalance( const std::vector<std::string>& tableNames,
248  const std::map<std::string, std::string>& options,
249  AdminRebalanceResponse& response_ ) const;
250 
261 AdminSetShardAssignmentsResponse adminSetShardAssignments( const AdminSetShardAssignmentsRequest& request_ ) const;
262 
276 AdminSetShardAssignmentsResponse& adminSetShardAssignments( const AdminSetShardAssignmentsRequest& request_,
277  AdminSetShardAssignmentsResponse& response_ ) const;
278 
293 AdminSetShardAssignmentsResponse adminSetShardAssignments( const int64_t version,
294  const bool partialReassignment,
295  const std::vector<int32_t>& shardAssignmentsRank,
296  const std::vector<int32_t>& shardAssignmentsTom,
297  const std::vector<int32_t>& assignmentIndex,
298  const std::map<std::string, std::string>& options ) const;
299 
317 AdminSetShardAssignmentsResponse& adminSetShardAssignments( const int64_t version,
318  const bool partialReassignment,
319  const std::vector<int32_t>& shardAssignmentsRank,
320  const std::vector<int32_t>& shardAssignmentsTom,
321  const std::vector<int32_t>& assignmentIndex,
322  const std::map<std::string, std::string>& options,
323  AdminSetShardAssignmentsResponse& response_ ) const;
324 
335 AdminShutdownResponse adminShutdown( const AdminShutdownRequest& request_ ) const;
336 
350 AdminShutdownResponse& adminShutdown( const AdminShutdownRequest& request_,
351  AdminShutdownResponse& response_ ) const;
352 
364 AdminShutdownResponse adminShutdown( const std::string& exitType,
365  const std::string& authorization,
366  const std::map<std::string, std::string>& options ) const;
367 
382 AdminShutdownResponse& adminShutdown( const std::string& exitType,
383  const std::string& authorization,
384  const std::map<std::string, std::string>& options,
385  AdminShutdownResponse& response_ ) const;
386 
399 AdminVerifyDbResponse adminVerifyDb( const AdminVerifyDbRequest& request_ ) const;
400 
416 AdminVerifyDbResponse& adminVerifyDb( const AdminVerifyDbRequest& request_,
417  AdminVerifyDbResponse& response_ ) const;
418 
430 AdminVerifyDbResponse adminVerifyDb( const std::map<std::string, std::string>& options ) const;
431 
446 AdminVerifyDbResponse& adminVerifyDb( const std::map<std::string, std::string>& options,
447  AdminVerifyDbResponse& response_ ) const;
448 
460 AggregateConvexHullResponse aggregateConvexHull( const AggregateConvexHullRequest& request_ ) const;
461 
476 AggregateConvexHullResponse& aggregateConvexHull( const AggregateConvexHullRequest& request_,
477  AggregateConvexHullResponse& response_ ) const;
478 
495 AggregateConvexHullResponse aggregateConvexHull( const std::string& tableName,
496  const std::string& xColumnName,
497  const std::string& yColumnName,
498  const std::map<std::string, std::string>& options ) const;
499 
519 AggregateConvexHullResponse& aggregateConvexHull( const std::string& tableName,
520  const std::string& xColumnName,
521  const std::string& yColumnName,
522  const std::map<std::string, std::string>& options,
523  AggregateConvexHullResponse& response_ ) const;
524 
578 RawAggregateGroupByResponse aggregateGroupByRaw( const AggregateGroupByRequest& request_ ) const;
579 
636 RawAggregateGroupByResponse& aggregateGroupByRaw( const AggregateGroupByRequest& request_,
637  RawAggregateGroupByResponse& response_ ) const;
638 
692 AggregateGroupByResponse aggregateGroupBy( const AggregateGroupByRequest& request_ ) const;
693 
750 AggregateGroupByResponse& aggregateGroupBy( const AggregateGroupByRequest& request_,
751  AggregateGroupByResponse& response_ ) const;
752 
881 AggregateGroupByResponse aggregateGroupBy( const std::string& tableName,
882  const std::vector<std::string>& columnNames,
883  const int64_t offset,
884  const int64_t limit,
885  const std::map<std::string, std::string>& options ) const;
886 
1018 AggregateGroupByResponse& aggregateGroupBy( const std::string& tableName,
1019  const std::vector<std::string>& columnNames,
1020  const int64_t offset,
1021  const int64_t limit,
1022  const std::map<std::string, std::string>& options,
1023  AggregateGroupByResponse& response_ ) const;
1024 
1043 AggregateHistogramResponse aggregateHistogram( const AggregateHistogramRequest& request_ ) const;
1044 
1066 AggregateHistogramResponse& aggregateHistogram( const AggregateHistogramRequest& request_,
1067  AggregateHistogramResponse& response_ ) const;
1068 
1099 AggregateHistogramResponse aggregateHistogram( const std::string& tableName,
1100  const std::string& columnName,
1101  const double start,
1102  const double end,
1103  const double interval,
1104  const std::map<std::string, std::string>& options ) const;
1105 
1139 AggregateHistogramResponse& aggregateHistogram( const std::string& tableName,
1140  const std::string& columnName,
1141  const double start,
1142  const double end,
1143  const double interval,
1144  const std::map<std::string, std::string>& options,
1145  AggregateHistogramResponse& response_ ) const;
1146 
1164 AggregateKMeansResponse aggregateKMeans( const AggregateKMeansRequest& request_ ) const;
1165 
1186 AggregateKMeansResponse& aggregateKMeans( const AggregateKMeansRequest& request_,
1187  AggregateKMeansResponse& response_ ) const;
1188 
1226 AggregateKMeansResponse aggregateKMeans( const std::string& tableName,
1227  const std::vector<std::string>& columnNames,
1228  const int32_t k,
1229  const double tolerance,
1230  const std::map<std::string, std::string>& options ) const;
1231 
1272 AggregateKMeansResponse& aggregateKMeans( const std::string& tableName,
1273  const std::vector<std::string>& columnNames,
1274  const int32_t k,
1275  const double tolerance,
1276  const std::map<std::string, std::string>& options,
1277  AggregateKMeansResponse& response_ ) const;
1278 
1290 AggregateMinMaxResponse aggregateMinMax( const AggregateMinMaxRequest& request_ ) const;
1291 
1306 AggregateMinMaxResponse& aggregateMinMax( const AggregateMinMaxRequest& request_,
1307  AggregateMinMaxResponse& response_ ) const;
1308 
1323 AggregateMinMaxResponse aggregateMinMax( const std::string& tableName,
1324  const std::string& columnName,
1325  const std::map<std::string, std::string>& options ) const;
1326 
1344 AggregateMinMaxResponse& aggregateMinMax( const std::string& tableName,
1345  const std::string& columnName,
1346  const std::map<std::string, std::string>& options,
1347  AggregateMinMaxResponse& response_ ) const;
1348 
1390 AggregateStatisticsResponse aggregateStatistics( const AggregateStatisticsRequest& request_ ) const;
1391 
1436 AggregateStatisticsResponse& aggregateStatistics( const AggregateStatisticsRequest& request_,
1437  AggregateStatisticsResponse& response_ ) const;
1438 
1534 AggregateStatisticsResponse aggregateStatistics( const std::string& tableName,
1535  const std::string& columnName,
1536  const std::string& stats,
1537  const std::map<std::string, std::string>& options ) const;
1538 
1637 AggregateStatisticsResponse& aggregateStatistics( const std::string& tableName,
1638  const std::string& columnName,
1639  const std::string& stats,
1640  const std::map<std::string, std::string>& options,
1641  AggregateStatisticsResponse& response_ ) const;
1642 
1674 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_ ) const;
1675 
1710 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_,
1711  AggregateStatisticsByRangeResponse& response_ ) const;
1712 
1778 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const std::string& tableName,
1779  const std::string& selectExpression,
1780  const std::string& columnName,
1781  const std::string& valueColumnName,
1782  const std::string& stats,
1783  const double start,
1784  const double end,
1785  const double interval,
1786  const std::map<std::string, std::string>& options ) const;
1787 
1856 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const std::string& tableName,
1857  const std::string& selectExpression,
1858  const std::string& columnName,
1859  const std::string& valueColumnName,
1860  const std::string& stats,
1861  const double start,
1862  const double end,
1863  const double interval,
1864  const std::map<std::string, std::string>& options,
1865  AggregateStatisticsByRangeResponse& response_ ) const;
1866 
1906 RawAggregateUniqueResponse aggregateUniqueRaw( const AggregateUniqueRequest& request_ ) const;
1907 
1950 RawAggregateUniqueResponse& aggregateUniqueRaw( const AggregateUniqueRequest& request_,
1951  RawAggregateUniqueResponse& response_ ) const;
1952 
1992 AggregateUniqueResponse aggregateUnique( const AggregateUniqueRequest& request_ ) const;
1993 
2036 AggregateUniqueResponse& aggregateUnique( const AggregateUniqueRequest& request_,
2037  AggregateUniqueResponse& response_ ) const;
2038 
2124 AggregateUniqueResponse aggregateUnique( const std::string& tableName,
2125  const std::string& columnName,
2126  const int64_t offset,
2127  const int64_t limit,
2128  const std::map<std::string, std::string>& options ) const;
2129 
2218 AggregateUniqueResponse& aggregateUnique( const std::string& tableName,
2219  const std::string& columnName,
2220  const int64_t offset,
2221  const int64_t limit,
2222  const std::map<std::string, std::string>& options,
2223  AggregateUniqueResponse& response_ ) const;
2224 
2241 AlterSystemPropertiesResponse alterSystemProperties( const AlterSystemPropertiesRequest& request_ ) const;
2242 
2262 AlterSystemPropertiesResponse& alterSystemProperties( const AlterSystemPropertiesRequest& request_,
2263  AlterSystemPropertiesResponse& response_ ) const;
2264 
2364 AlterSystemPropertiesResponse alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
2365  const std::map<std::string, std::string>& options ) const;
2366 
2469 AlterSystemPropertiesResponse& alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
2470  const std::map<std::string, std::string>& options,
2471  AlterSystemPropertiesResponse& response_ ) const;
2472 
2505 AlterTableResponse alterTable( const AlterTableRequest& request_ ) const;
2506 
2544 AlterTableResponse& alterTable( const AlterTableRequest& request_,
2545  AlterTableResponse& response_ ) const;
2546 
2638 AlterTableResponse alterTable( const std::string& tableName,
2639  const std::string& action,
2640  const std::string& value,
2641  const std::map<std::string, std::string>& options ) const;
2642 
2737 AlterTableResponse& alterTable( const std::string& tableName,
2738  const std::string& action,
2739  const std::string& value,
2740  const std::map<std::string, std::string>& options,
2741  AlterTableResponse& response_ ) const;
2742 
2756 AlterTableMetadataResponse alterTableMetadata( const AlterTableMetadataRequest& request_ ) const;
2757 
2774 AlterTableMetadataResponse& alterTableMetadata( const AlterTableMetadataRequest& request_,
2775  AlterTableMetadataResponse& response_ ) const;
2776 
2797 AlterTableMetadataResponse alterTableMetadata( const std::vector<std::string>& tableNames,
2798  const std::map<std::string, std::string>& metadataMap,
2799  const std::map<std::string, std::string>& options ) const;
2800 
2824 AlterTableMetadataResponse& alterTableMetadata( const std::vector<std::string>& tableNames,
2825  const std::map<std::string, std::string>& metadataMap,
2826  const std::map<std::string, std::string>& options,
2827  AlterTableMetadataResponse& response_ ) const;
2828 
2839 AlterUserResponse alterUser( const AlterUserRequest& request_ ) const;
2840 
2854 AlterUserResponse& alterUser( const AlterUserRequest& request_,
2855  AlterUserResponse& response_ ) const;
2856 
2873 AlterUserResponse alterUser( const std::string& name,
2874  const std::string& action,
2875  const std::string& value,
2876  const std::map<std::string, std::string>& options ) const;
2877 
2897 AlterUserResponse& alterUser( const std::string& name,
2898  const std::string& action,
2899  const std::string& value,
2900  const std::map<std::string, std::string>& options,
2901  AlterUserResponse& response_ ) const;
2902 
2916 ClearTableResponse clearTable( const ClearTableRequest& request_ ) const;
2917 
2934 ClearTableResponse& clearTable( const ClearTableRequest& request_,
2935  ClearTableResponse& response_ ) const;
2936 
2952 ClearTableResponse clearTable( const std::string& tableName,
2953  const std::string& authorization,
2954  const std::map<std::string, std::string>& options ) const;
2955 
2974 ClearTableResponse& clearTable( const std::string& tableName,
2975  const std::string& authorization,
2976  const std::map<std::string, std::string>& options,
2977  ClearTableResponse& response_ ) const;
2978 
2990 ClearTableMonitorResponse clearTableMonitor( const ClearTableMonitorRequest& request_ ) const;
2991 
3006 ClearTableMonitorResponse& clearTableMonitor( const ClearTableMonitorRequest& request_,
3007  ClearTableMonitorResponse& response_ ) const;
3008 
3020 ClearTableMonitorResponse clearTableMonitor( const std::string& topicId,
3021  const std::map<std::string, std::string>& options ) const;
3022 
3037 ClearTableMonitorResponse& clearTableMonitor( const std::string& topicId,
3038  const std::map<std::string, std::string>& options,
3039  ClearTableMonitorResponse& response_ ) const;
3040 
3053 ClearTriggerResponse clearTrigger( const ClearTriggerRequest& request_ ) const;
3054 
3070 ClearTriggerResponse& clearTrigger( const ClearTriggerRequest& request_,
3071  ClearTriggerResponse& response_ ) const;
3072 
3085 ClearTriggerResponse clearTrigger( const std::string& triggerId,
3086  const std::map<std::string, std::string>& options ) const;
3087 
3103 ClearTriggerResponse& clearTrigger( const std::string& triggerId,
3104  const std::map<std::string, std::string>& options,
3105  ClearTriggerResponse& response_ ) const;
3106 
3119 CreateJoinTableResponse createJoinTable( const CreateJoinTableRequest& request_ ) const;
3120 
3136 CreateJoinTableResponse& createJoinTable( const CreateJoinTableRequest& request_,
3137  CreateJoinTableResponse& response_ ) const;
3138 
3227 CreateJoinTableResponse createJoinTable( const std::string& joinTableName,
3228  const std::vector<std::string>& tableNames,
3229  const std::vector<std::string>& columnNames,
3230  const std::vector<std::string>& expressions,
3231  const std::map<std::string, std::string>& options ) const;
3232 
3324 CreateJoinTableResponse& createJoinTable( const std::string& joinTableName,
3325  const std::vector<std::string>& tableNames,
3326  const std::vector<std::string>& columnNames,
3327  const std::vector<std::string>& expressions,
3328  const std::map<std::string, std::string>& options,
3329  CreateJoinTableResponse& response_ ) const;
3330 
3344 CreateProcResponse createProc( const CreateProcRequest& request_ ) const;
3345 
3362 CreateProcResponse& createProc( const CreateProcRequest& request_,
3363  CreateProcResponse& response_ ) const;
3364 
3411 CreateProcResponse createProc( const std::string& procName,
3412  const std::string& executionMode,
3413  const std::map<std::string, std::vector<uint8_t> >& files,
3414  const std::string& command,
3415  const std::vector<std::string>& args,
3416  const std::map<std::string, std::string>& options ) const;
3417 
3467 CreateProcResponse& createProc( const std::string& procName,
3468  const std::string& executionMode,
3469  const std::map<std::string, std::vector<uint8_t> >& files,
3470  const std::string& command,
3471  const std::vector<std::string>& args,
3472  const std::map<std::string, std::string>& options,
3473  CreateProcResponse& response_ ) const;
3474 
3509 CreateProjectionResponse createProjection( const CreateProjectionRequest& request_ ) const;
3510 
3548 CreateProjectionResponse& createProjection( const CreateProjectionRequest& request_,
3549  CreateProjectionResponse& response_ ) const;
3550 
3640 CreateProjectionResponse createProjection( const std::string& tableName,
3641  const std::string& projectionName,
3642  const std::vector<std::string>& columnNames,
3643  const std::map<std::string, std::string>& options ) const;
3644 
3737 CreateProjectionResponse& createProjection( const std::string& tableName,
3738  const std::string& projectionName,
3739  const std::vector<std::string>& columnNames,
3740  const std::map<std::string, std::string>& options,
3741  CreateProjectionResponse& response_ ) const;
3742 
3753 CreateRoleResponse createRole( const CreateRoleRequest& request_ ) const;
3754 
3768 CreateRoleResponse& createRole( const CreateRoleRequest& request_,
3769  CreateRoleResponse& response_ ) const;
3770 
3783 CreateRoleResponse createRole( const std::string& name,
3784  const std::map<std::string, std::string>& options ) const;
3785 
3801 CreateRoleResponse& createRole( const std::string& name,
3802  const std::map<std::string, std::string>& options,
3803  CreateRoleResponse& response_ ) const;
3804 
3824 CreateTableResponse createTable( const CreateTableRequest& request_ ) const;
3825 
3848 CreateTableResponse& createTable( const CreateTableRequest& request_,
3849  CreateTableResponse& response_ ) const;
3850 
3937 CreateTableResponse createTable( const std::string& tableName,
3938  const std::string& typeId,
3939  const std::map<std::string, std::string>& options ) const;
3940 
4030 CreateTableResponse& createTable( const std::string& tableName,
4031  const std::string& typeId,
4032  const std::map<std::string, std::string>& options,
4033  CreateTableResponse& response_ ) const;
4034 
4054 CreateTableMonitorResponse createTableMonitor( const CreateTableMonitorRequest& request_ ) const;
4055 
4078 CreateTableMonitorResponse& createTableMonitor( const CreateTableMonitorRequest& request_,
4079  CreateTableMonitorResponse& response_ ) const;
4080 
4101 CreateTableMonitorResponse createTableMonitor( const std::string& tableName,
4102  const std::map<std::string, std::string>& options ) const;
4103 
4127 CreateTableMonitorResponse& createTableMonitor( const std::string& tableName,
4128  const std::map<std::string, std::string>& options,
4129  CreateTableMonitorResponse& response_ ) const;
4130 
4155 CreateTriggerByAreaResponse createTriggerByArea( const CreateTriggerByAreaRequest& request_ ) const;
4156 
4186 CreateTriggerByAreaResponse& createTriggerByArea( const CreateTriggerByAreaRequest& request_,
4187  CreateTriggerByAreaResponse& response_ ) const;
4188 
4230 CreateTriggerByAreaResponse createTriggerByArea( const std::string& requestId,
4231  const std::vector<std::string>& tableNames,
4232  const std::string& xColumnName,
4233  const std::vector<double>& xVector,
4234  const std::string& yColumnName,
4235  const std::vector<double>& yVector,
4236  const std::map<std::string, std::string>& options ) const;
4237 
4282 CreateTriggerByAreaResponse& createTriggerByArea( const std::string& requestId,
4283  const std::vector<std::string>& tableNames,
4284  const std::string& xColumnName,
4285  const std::vector<double>& xVector,
4286  const std::string& yColumnName,
4287  const std::vector<double>& yVector,
4288  const std::map<std::string, std::string>& options,
4289  CreateTriggerByAreaResponse& response_ ) const;
4290 
4314 CreateTriggerByRangeResponse createTriggerByRange( const CreateTriggerByRangeRequest& request_ ) const;
4315 
4343 CreateTriggerByRangeResponse& createTriggerByRange( const CreateTriggerByRangeRequest& request_,
4344  CreateTriggerByRangeResponse& response_ ) const;
4345 
4377 CreateTriggerByRangeResponse createTriggerByRange( const std::string& requestId,
4378  const std::vector<std::string>& tableNames,
4379  const std::string& columnName,
4380  const double min,
4381  const double max,
4382  const std::map<std::string, std::string>& options ) const;
4383 
4418 CreateTriggerByRangeResponse& createTriggerByRange( const std::string& requestId,
4419  const std::vector<std::string>& tableNames,
4420  const std::string& columnName,
4421  const double min,
4422  const double max,
4423  const std::map<std::string, std::string>& options,
4424  CreateTriggerByRangeResponse& response_ ) const;
4425 
4473 CreateTypeResponse createType( const CreateTypeRequest& request_ ) const;
4474 
4525 CreateTypeResponse& createType( const CreateTypeRequest& request_,
4526  CreateTypeResponse& response_ ) const;
4527 
4708 CreateTypeResponse createType( const std::string& typeDefinition,
4709  const std::string& label,
4710  const std::map<std::string, std::vector<std::string> >& properties,
4711  const std::map<std::string, std::string>& options ) const;
4712 
4896 CreateTypeResponse& createType( const std::string& typeDefinition,
4897  const std::string& label,
4898  const std::map<std::string, std::vector<std::string> >& properties,
4899  const std::map<std::string, std::string>& options,
4900  CreateTypeResponse& response_ ) const;
4901 
4919 CreateUnionResponse createUnion( const CreateUnionRequest& request_ ) const;
4920 
4941 CreateUnionResponse& createUnion( const CreateUnionRequest& request_,
4942  CreateUnionResponse& response_ ) const;
4943 
5023 CreateUnionResponse createUnion( const std::string& tableName,
5024  const std::vector<std::string>& tableNames,
5025  const std::vector<std::vector<std::string> >& inputColumnNames,
5026  const std::vector<std::string>& outputColumnNames,
5027  const std::map<std::string, std::string>& options ) const;
5028 
5111 CreateUnionResponse& createUnion( const std::string& tableName,
5112  const std::vector<std::string>& tableNames,
5113  const std::vector<std::vector<std::string> >& inputColumnNames,
5114  const std::vector<std::string>& outputColumnNames,
5115  const std::map<std::string, std::string>& options,
5116  CreateUnionResponse& response_ ) const;
5117 
5129 CreateUserExternalResponse createUserExternal( const CreateUserExternalRequest& request_ ) const;
5130 
5145 CreateUserExternalResponse& createUserExternal( const CreateUserExternalRequest& request_,
5146  CreateUserExternalResponse& response_ ) const;
5147 
5161 CreateUserExternalResponse createUserExternal( const std::string& name,
5162  const std::map<std::string, std::string>& options ) const;
5163 
5180 CreateUserExternalResponse& createUserExternal( const std::string& name,
5181  const std::map<std::string, std::string>& options,
5182  CreateUserExternalResponse& response_ ) const;
5183 
5195 CreateUserInternalResponse createUserInternal( const CreateUserInternalRequest& request_ ) const;
5196 
5211 CreateUserInternalResponse& createUserInternal( const CreateUserInternalRequest& request_,
5212  CreateUserInternalResponse& response_ ) const;
5213 
5229 CreateUserInternalResponse createUserInternal( const std::string& name,
5230  const std::string& password,
5231  const std::map<std::string, std::string>& options ) const;
5232 
5251 CreateUserInternalResponse& createUserInternal( const std::string& name,
5252  const std::string& password,
5253  const std::map<std::string, std::string>& options,
5254  CreateUserInternalResponse& response_ ) const;
5255 
5266 DeleteProcResponse deleteProc( const DeleteProcRequest& request_ ) const;
5267 
5281 DeleteProcResponse& deleteProc( const DeleteProcRequest& request_,
5282  DeleteProcResponse& response_ ) const;
5283 
5295 DeleteProcResponse deleteProc( const std::string& procName,
5296  const std::map<std::string, std::string>& options ) const;
5297 
5312 DeleteProcResponse& deleteProc( const std::string& procName,
5313  const std::map<std::string, std::string>& options,
5314  DeleteProcResponse& response_ ) const;
5315 
5332 DeleteRecordsResponse deleteRecords( const DeleteRecordsRequest& request_ ) const;
5333 
5353 DeleteRecordsResponse& deleteRecords( const DeleteRecordsRequest& request_,
5354  DeleteRecordsResponse& response_ ) const;
5355 
5387 DeleteRecordsResponse deleteRecords( const std::string& tableName,
5388  const std::vector<std::string>& expressions,
5389  const std::map<std::string, std::string>& options ) const;
5390 
5425 DeleteRecordsResponse& deleteRecords( const std::string& tableName,
5426  const std::vector<std::string>& expressions,
5427  const std::map<std::string, std::string>& options,
5428  DeleteRecordsResponse& response_ ) const;
5429 
5440 DeleteRoleResponse deleteRole( const DeleteRoleRequest& request_ ) const;
5441 
5455 DeleteRoleResponse& deleteRole( const DeleteRoleRequest& request_,
5456  DeleteRoleResponse& response_ ) const;
5457 
5468 DeleteRoleResponse deleteRole( const std::string& name,
5469  const std::map<std::string, std::string>& options ) const;
5470 
5484 DeleteRoleResponse& deleteRole( const std::string& name,
5485  const std::map<std::string, std::string>& options,
5486  DeleteRoleResponse& response_ ) const;
5487 
5498 DeleteUserResponse deleteUser( const DeleteUserRequest& request_ ) const;
5499 
5513 DeleteUserResponse& deleteUser( const DeleteUserRequest& request_,
5514  DeleteUserResponse& response_ ) const;
5515 
5526 DeleteUserResponse deleteUser( const std::string& name,
5527  const std::map<std::string, std::string>& options ) const;
5528 
5542 DeleteUserResponse& deleteUser( const std::string& name,
5543  const std::map<std::string, std::string>& options,
5544  DeleteUserResponse& response_ ) const;
5545 
5557 ExecuteProcResponse executeProc( const ExecuteProcRequest& request_ ) const;
5558 
5573 ExecuteProcResponse& executeProc( const ExecuteProcRequest& request_,
5574  ExecuteProcResponse& response_ ) const;
5575 
5636 ExecuteProcResponse executeProc( const std::string& procName,
5637  const std::map<std::string, std::string>& params,
5638  const std::map<std::string, std::vector<uint8_t> >& binParams,
5639  const std::vector<std::string>& inputTableNames,
5640  const std::map<std::string, std::vector<std::string> >& inputColumnNames,
5641  const std::vector<std::string>& outputTableNames,
5642  const std::map<std::string, std::string>& options ) const;
5643 
5707 ExecuteProcResponse& executeProc( const std::string& procName,
5708  const std::map<std::string, std::string>& params,
5709  const std::map<std::string, std::vector<uint8_t> >& binParams,
5710  const std::vector<std::string>& inputTableNames,
5711  const std::map<std::string, std::vector<std::string> >& inputColumnNames,
5712  const std::vector<std::string>& outputTableNames,
5713  const std::map<std::string, std::string>& options,
5714  ExecuteProcResponse& response_ ) const;
5715 
5733 FilterResponse filter( const FilterRequest& request_ ) const;
5734 
5755 FilterResponse& filter( const FilterRequest& request_,
5756  FilterResponse& response_ ) const;
5757 
5796 FilterResponse filter( const std::string& tableName,
5797  const std::string& viewName,
5798  const std::string& expression,
5799  const std::map<std::string, std::string>& options ) const;
5800 
5842 FilterResponse& filter( const std::string& tableName,
5843  const std::string& viewName,
5844  const std::string& expression,
5845  const std::map<std::string, std::string>& options,
5846  FilterResponse& response_ ) const;
5847 
5867 FilterByAreaResponse filterByArea( const FilterByAreaRequest& request_ ) const;
5868 
5891 FilterByAreaResponse& filterByArea( const FilterByAreaRequest& request_,
5892  FilterByAreaResponse& response_ ) const;
5893 
5928 FilterByAreaResponse filterByArea( const std::string& tableName,
5929  const std::string& viewName,
5930  const std::string& xColumnName,
5931  const std::vector<double>& xVector,
5932  const std::string& yColumnName,
5933  const std::vector<double>& yVector,
5934  const std::map<std::string, std::string>& options ) const;
5935 
5973 FilterByAreaResponse& filterByArea( const std::string& tableName,
5974  const std::string& viewName,
5975  const std::string& xColumnName,
5976  const std::vector<double>& xVector,
5977  const std::string& yColumnName,
5978  const std::vector<double>& yVector,
5979  const std::map<std::string, std::string>& options,
5980  FilterByAreaResponse& response_ ) const;
5981 
5997 FilterByBoxResponse filterByBox( const FilterByBoxRequest& request_ ) const;
5998 
6017 FilterByBoxResponse& filterByBox( const FilterByBoxRequest& request_,
6018  FilterByBoxResponse& response_ ) const;
6019 
6054 FilterByBoxResponse filterByBox( const std::string& tableName,
6055  const std::string& viewName,
6056  const std::string& xColumnName,
6057  const double minX,
6058  const double maxX,
6059  const std::string& yColumnName,
6060  const double minY,
6061  const double maxY,
6062  const std::map<std::string, std::string>& options ) const;
6063 
6101 FilterByBoxResponse& filterByBox( const std::string& tableName,
6102  const std::string& viewName,
6103  const std::string& xColumnName,
6104  const double minX,
6105  const double maxX,
6106  const std::string& yColumnName,
6107  const double minY,
6108  const double maxY,
6109  const std::map<std::string, std::string>& options,
6110  FilterByBoxResponse& response_ ) const;
6111 
6124 FilterByGeometryResponse filterByGeometry( const FilterByGeometryRequest& request_ ) const;
6125 
6141 FilterByGeometryResponse& filterByGeometry( const FilterByGeometryRequest& request_,
6142  FilterByGeometryResponse& response_ ) const;
6143 
6186 FilterByGeometryResponse filterByGeometry( const std::string& tableName,
6187  const std::string& viewName,
6188  const std::string& columnName,
6189  const std::string& inputWkt,
6190  const std::string& operation,
6191  const std::map<std::string, std::string>& options ) const;
6192 
6238 FilterByGeometryResponse& filterByGeometry( const std::string& tableName,
6239  const std::string& viewName,
6240  const std::string& columnName,
6241  const std::string& inputWkt,
6242  const std::string& operation,
6243  const std::map<std::string, std::string>& options,
6244  FilterByGeometryResponse& response_ ) const;
6245 
6269 FilterByListResponse filterByList( const FilterByListRequest& request_ ) const;
6270 
6297 FilterByListResponse& filterByList( const FilterByListRequest& request_,
6298  FilterByListResponse& response_ ) const;
6299 
6343 FilterByListResponse filterByList( const std::string& tableName,
6344  const std::string& viewName,
6345  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
6346  const std::map<std::string, std::string>& options ) const;
6347 
6394 FilterByListResponse& filterByList( const std::string& tableName,
6395  const std::string& viewName,
6396  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
6397  const std::map<std::string, std::string>& options,
6398  FilterByListResponse& response_ ) const;
6399 
6422 FilterByRadiusResponse filterByRadius( const FilterByRadiusRequest& request_ ) const;
6423 
6449 FilterByRadiusResponse& filterByRadius( const FilterByRadiusRequest& request_,
6450  FilterByRadiusResponse& response_ ) const;
6451 
6494 FilterByRadiusResponse filterByRadius( const std::string& tableName,
6495  const std::string& viewName,
6496  const std::string& xColumnName,
6497  const double xCenter,
6498  const std::string& yColumnName,
6499  const double yCenter,
6500  const double radius,
6501  const std::map<std::string, std::string>& options ) const;
6502 
6548 FilterByRadiusResponse& filterByRadius( const std::string& tableName,
6549  const std::string& viewName,
6550  const std::string& xColumnName,
6551  const double xCenter,
6552  const std::string& yColumnName,
6553  const double yCenter,
6554  const double radius,
6555  const std::map<std::string, std::string>& options,
6556  FilterByRadiusResponse& response_ ) const;
6557 
6577 FilterByRangeResponse filterByRange( const FilterByRangeRequest& request_ ) const;
6578 
6601 FilterByRangeResponse& filterByRange( const FilterByRangeRequest& request_,
6602  FilterByRangeResponse& response_ ) const;
6603 
6631 FilterByRangeResponse filterByRange( const std::string& tableName,
6632  const std::string& viewName,
6633  const std::string& columnName,
6634  const double lowerBound,
6635  const double upperBound,
6636  const std::map<std::string, std::string>& options ) const;
6637 
6668 FilterByRangeResponse& filterByRange( const std::string& tableName,
6669  const std::string& viewName,
6670  const std::string& columnName,
6671  const double lowerBound,
6672  const double upperBound,
6673  const std::map<std::string, std::string>& options,
6674  FilterByRangeResponse& response_ ) const;
6675 
6699 FilterBySeriesResponse filterBySeries( const FilterBySeriesRequest& request_ ) const;
6700 
6727 FilterBySeriesResponse& filterBySeries( const FilterBySeriesRequest& request_,
6728  FilterBySeriesResponse& response_ ) const;
6729 
6785 FilterBySeriesResponse filterBySeries( const std::string& tableName,
6786  const std::string& viewName,
6787  const std::string& trackId,
6788  const std::vector<std::string>& targetTrackIds,
6789  const std::map<std::string, std::string>& options ) const;
6790 
6849 FilterBySeriesResponse& filterBySeries( const std::string& tableName,
6850  const std::string& viewName,
6851  const std::string& trackId,
6852  const std::vector<std::string>& targetTrackIds,
6853  const std::map<std::string, std::string>& options,
6854  FilterBySeriesResponse& response_ ) const;
6855 
6870 FilterByStringResponse filterByString( const FilterByStringRequest& request_ ) const;
6871 
6889 FilterByStringResponse& filterByString( const FilterByStringRequest& request_,
6890  FilterByStringResponse& response_ ) const;
6891 
6945 FilterByStringResponse filterByString( const std::string& tableName,
6946  const std::string& viewName,
6947  const std::string& expression,
6948  const std::string& mode,
6949  const std::vector<std::string>& columnNames,
6950  const std::map<std::string, std::string>& options ) const;
6951 
7008 FilterByStringResponse& filterByString( const std::string& tableName,
7009  const std::string& viewName,
7010  const std::string& expression,
7011  const std::string& mode,
7012  const std::vector<std::string>& columnNames,
7013  const std::map<std::string, std::string>& options,
7014  FilterByStringResponse& response_ ) const;
7015 
7034 FilterByTableResponse filterByTable( const FilterByTableRequest& request_ ) const;
7035 
7057 FilterByTableResponse& filterByTable( const FilterByTableRequest& request_,
7058  FilterByTableResponse& response_ ) const;
7059 
7128 FilterByTableResponse filterByTable( const std::string& tableName,
7129  const std::string& viewName,
7130  const std::string& columnName,
7131  const std::string& sourceTableName,
7132  const std::string& sourceTableColumnName,
7133  const std::map<std::string, std::string>& options ) const;
7134 
7206 FilterByTableResponse& filterByTable( const std::string& tableName,
7207  const std::string& viewName,
7208  const std::string& columnName,
7209  const std::string& sourceTableName,
7210  const std::string& sourceTableColumnName,
7211  const std::map<std::string, std::string>& options,
7212  FilterByTableResponse& response_ ) const;
7213 
7233 FilterByValueResponse filterByValue( const FilterByValueRequest& request_ ) const;
7234 
7257 FilterByValueResponse& filterByValue( const FilterByValueRequest& request_,
7258  FilterByValueResponse& response_ ) const;
7259 
7290 FilterByValueResponse filterByValue( const std::string& tableName,
7291  const std::string& viewName,
7292  const bool isString,
7293  const double value,
7294  const std::string& valueStr,
7295  const std::string& columnName,
7296  const std::map<std::string, std::string>& options ) const;
7297 
7331 FilterByValueResponse& filterByValue( const std::string& tableName,
7332  const std::string& viewName,
7333  const bool isString,
7334  const double value,
7335  const std::string& valueStr,
7336  const std::string& columnName,
7337  const std::map<std::string, std::string>& options,
7338  FilterByValueResponse& response_ ) const;
7339 
7359 RawGetRecordsResponse getRecordsRaw( const GetRecordsRequest& request_ ) const;
7360 
7383 RawGetRecordsResponse& getRecordsRaw( const GetRecordsRequest& request_,
7384  RawGetRecordsResponse& response_ ) const;
7385 
7406 template<typename TResponse>
7407 GetRecordsResponse<TResponse> getRecords( const GetRecordsRequest& request_ ) const
7408 {
7409  if (request_.encoding != "binary")
7410  throw GPUdbException( "This function only supports binary encoding" );
7411 
7412  RawGetRecordsResponse actualResponse_;
7413  submitRequest("/get/records", request_, actualResponse_, false);
7414  GetRecordsResponse<TResponse> response_;
7415  response_.tableName = actualResponse_.tableName;
7416  response_.typeName = actualResponse_.typeName;
7417  response_.typeSchema = actualResponse_.typeSchema;
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_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7421  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7422  return response_;
7423 }
7424 
7425 
7449 template<typename TResponse>
7450 GetRecordsResponse<TResponse>& getRecords( const GetRecordsRequest& request_,
7451  GetRecordsResponse<TResponse>& response_ ) const
7452 {
7453  if (request_.encoding != "binary")
7454  throw GPUdbException( "This function only supports binary encoding" );
7455 
7456  RawGetRecordsResponse actualResponse_;
7457  submitRequest("/get/records", request_, actualResponse_, false);
7458  response_.tableName = actualResponse_.tableName;
7459  response_.typeName = actualResponse_.typeName;
7460  response_.typeSchema = actualResponse_.typeSchema;
7461  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
7462  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7463  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7464  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7465  return response_;
7466 }
7467 
7468 
7519 template<typename TResponse>
7520 GetRecordsResponse<TResponse> getRecords( const std::string& tableName,
7521  const int64_t offset,
7522  const int64_t limit,
7523  const std::map<std::string, std::string>& options ) const
7524 {
7525  GetRecordsRequest actualRequest_;
7526  actualRequest_.tableName = tableName;
7527  actualRequest_.offset = offset;
7528  actualRequest_.limit = limit;
7529  actualRequest_.options = options;
7530  RawGetRecordsResponse actualResponse_;
7531  submitRequest("/get/records", actualRequest_, actualResponse_, false);
7532  GetRecordsResponse<TResponse> response_;
7533  response_.tableName = actualResponse_.tableName;
7534  response_.typeName = actualResponse_.typeName;
7535  response_.typeSchema = actualResponse_.typeSchema;
7536  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
7537  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7538  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7539  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7540  return response_;
7541 }
7542 
7543 
7597 template<typename TResponse>
7598 GetRecordsResponse<TResponse>& getRecords( const std::string& tableName,
7599  const int64_t offset,
7600  const int64_t limit,
7601  const std::map<std::string, std::string>& options,
7602  GetRecordsResponse<TResponse>& response_ ) const
7603 {
7604  GetRecordsRequest actualRequest_;
7605  actualRequest_.tableName = tableName;
7606  actualRequest_.offset = offset;
7607  actualRequest_.limit = limit;
7608  actualRequest_.options = options;
7609  RawGetRecordsResponse actualResponse_;
7610  submitRequest("/get/records", actualRequest_, actualResponse_, false);
7611  response_.tableName = actualResponse_.tableName;
7612  response_.typeName = actualResponse_.typeName;
7613  response_.typeSchema = actualResponse_.typeSchema;
7614  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
7615  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7616  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7617  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7618  return response_;
7619 }
7620 
7621 
7643 template<typename TResponse>
7644 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
7645  const GetRecordsRequest& request_ ) const
7646 {
7647  if (request_.encoding != "binary")
7648  throw GPUdbException( "This function only supports binary encoding" );
7649 
7650  RawGetRecordsResponse actualResponse_;
7651  submitRequest("/get/records", request_, actualResponse_, false);
7652  GetRecordsResponse<TResponse> response_;
7653  response_.tableName = actualResponse_.tableName;
7654  response_.typeName = actualResponse_.typeName;
7655  response_.typeSchema = actualResponse_.typeSchema;
7656  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
7657  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7658  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7659  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7660  return response_;
7661 }
7662 
7663 
7685 template<typename TResponse>
7686 GetRecordsResponse<TResponse> getRecords( const Type& type_,
7687  const GetRecordsRequest& request_ ) const
7688 {
7689  if (request_.encoding != "binary")
7690  throw GPUdbException( "This function only supports binary encoding" );
7691 
7692  RawGetRecordsResponse actualResponse_;
7693  submitRequest("/get/records", request_, actualResponse_, false);
7694  GetRecordsResponse<TResponse> response_;
7695  response_.tableName = actualResponse_.tableName;
7696  response_.typeName = actualResponse_.typeName;
7697  response_.typeSchema = actualResponse_.typeSchema;
7698  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
7699  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7700  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7701  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7702  return response_;
7703 }
7704 
7705 
7730 template<typename TResponse>
7731 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
7732  const GetRecordsRequest& request_,
7733  GetRecordsResponse<TResponse>& response_ ) const
7734 {
7735  if (request_.encoding != "binary")
7736  throw GPUdbException( "This function only supports binary encoding" );
7737 
7738  RawGetRecordsResponse actualResponse_;
7739  submitRequest("/get/records", request_, actualResponse_, false);
7740  response_.tableName = actualResponse_.tableName;
7741  response_.typeName = actualResponse_.typeName;
7742  response_.typeSchema = actualResponse_.typeSchema;
7743  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
7744  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7745  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7746  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7747  return response_;
7748 }
7749 
7750 
7775 template<typename TResponse>
7776 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
7777  const GetRecordsRequest& request_,
7778  GetRecordsResponse<TResponse>& response_ ) const
7779 {
7780  if (request_.encoding != "binary")
7781  throw GPUdbException( "This function only supports binary encoding" );
7782 
7783  RawGetRecordsResponse actualResponse_;
7784  submitRequest("/get/records", request_, actualResponse_, false);
7785  response_.tableName = actualResponse_.tableName;
7786  response_.typeName = actualResponse_.typeName;
7787  response_.typeSchema = actualResponse_.typeSchema;
7788  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
7789  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7790  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7791  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7792  return response_;
7793 }
7794 
7795 
7847 template<typename TResponse>
7848 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
7849  const std::string& tableName,
7850  const int64_t offset,
7851  const int64_t limit,
7852  const std::map<std::string, std::string>& options ) const
7853 {
7854  GetRecordsRequest actualRequest_;
7855  actualRequest_.tableName = tableName;
7856  actualRequest_.offset = offset;
7857  actualRequest_.limit = limit;
7858  actualRequest_.options = options;
7859  RawGetRecordsResponse actualResponse_;
7860  submitRequest("/get/records", actualRequest_, actualResponse_, false);
7861  GetRecordsResponse<TResponse> response_;
7862  response_.tableName = actualResponse_.tableName;
7863  response_.typeName = actualResponse_.typeName;
7864  response_.typeSchema = actualResponse_.typeSchema;
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_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7868  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7869  return response_;
7870 }
7871 
7872 
7924 template<typename TResponse>
7925 GetRecordsResponse<TResponse> getRecords( const Type& type_,
7926  const std::string& tableName,
7927  const int64_t offset,
7928  const int64_t limit,
7929  const std::map<std::string, std::string>& options ) const
7930 {
7931  GetRecordsRequest actualRequest_;
7932  actualRequest_.tableName = tableName;
7933  actualRequest_.offset = offset;
7934  actualRequest_.limit = limit;
7935  actualRequest_.options = options;
7936  RawGetRecordsResponse actualResponse_;
7937  submitRequest("/get/records", actualRequest_, actualResponse_, false);
7938  GetRecordsResponse<TResponse> response_;
7939  response_.tableName = actualResponse_.tableName;
7940  response_.typeName = actualResponse_.typeName;
7941  response_.typeSchema = actualResponse_.typeSchema;
7942  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
7943  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
7944  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
7945  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
7946  return response_;
7947 }
7948 
7949 
8004 template<typename TResponse>
8005 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
8006  const std::string& tableName,
8007  const int64_t offset,
8008  const int64_t limit,
8009  const std::map<std::string, std::string>& options,
8010  GetRecordsResponse<TResponse>& response_ ) const
8011 {
8012  GetRecordsRequest actualRequest_;
8013  actualRequest_.tableName = tableName;
8014  actualRequest_.offset = offset;
8015  actualRequest_.limit = limit;
8016  actualRequest_.options = options;
8017  RawGetRecordsResponse actualResponse_;
8018  submitRequest("/get/records", actualRequest_, actualResponse_, false);
8019  response_.tableName = actualResponse_.tableName;
8020  response_.typeName = actualResponse_.typeName;
8021  response_.typeSchema = actualResponse_.typeSchema;
8022  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
8023  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
8024  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
8025  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
8026  return response_;
8027 }
8028 
8029 
8084 template<typename TResponse>
8085 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
8086  const std::string& tableName,
8087  const int64_t offset,
8088  const int64_t limit,
8089  const std::map<std::string, std::string>& options,
8090  GetRecordsResponse<TResponse>& response_ ) const
8091 {
8092  GetRecordsRequest actualRequest_;
8093  actualRequest_.tableName = tableName;
8094  actualRequest_.offset = offset;
8095  actualRequest_.limit = limit;
8096  actualRequest_.options = options;
8097  RawGetRecordsResponse actualResponse_;
8098  submitRequest("/get/records", actualRequest_, actualResponse_, false);
8099  response_.tableName = actualResponse_.tableName;
8100  response_.typeName = actualResponse_.typeName;
8101  response_.typeSchema = actualResponse_.typeSchema;
8102  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
8103  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
8104  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
8105  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
8106  return response_;
8107 }
8108 
8109 
8136 RawGetRecordsByColumnResponse getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_ ) const;
8137 
8167 RawGetRecordsByColumnResponse& getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_,
8168  RawGetRecordsByColumnResponse& response_ ) const;
8169 
8196 GetRecordsByColumnResponse getRecordsByColumn( const GetRecordsByColumnRequest& request_ ) const;
8197 
8227 GetRecordsByColumnResponse& getRecordsByColumn( const GetRecordsByColumnRequest& request_,
8228  GetRecordsByColumnResponse& response_ ) const;
8229 
8287 GetRecordsByColumnResponse getRecordsByColumn( const std::string& tableName,
8288  const std::vector<std::string>& columnNames,
8289  const int64_t offset,
8290  const int64_t limit,
8291  const std::map<std::string, std::string>& options ) const;
8292 
8353 GetRecordsByColumnResponse& getRecordsByColumn( const std::string& tableName,
8354  const std::vector<std::string>& columnNames,
8355  const int64_t offset,
8356  const int64_t limit,
8357  const std::map<std::string, std::string>& options,
8358  GetRecordsByColumnResponse& response_ ) const;
8359 
8380 RawGetRecordsBySeriesResponse getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_ ) const;
8381 
8406 RawGetRecordsBySeriesResponse& getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_,
8407  RawGetRecordsBySeriesResponse& response_ ) const;
8408 
8429 template<typename TResponse>
8430 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const GetRecordsBySeriesRequest& request_ ) const
8431 {
8432  if (request_.encoding != "binary")
8433  throw GPUdbException( "This function only supports binary encoding" );
8434 
8435  RawGetRecordsBySeriesResponse actualResponse_;
8436  submitRequest("/get/records/byseries", request_, actualResponse_, false);
8437  GetRecordsBySeriesResponse<TResponse> response_;
8438  response_.tableNames = actualResponse_.tableNames;
8439  response_.typeNames = actualResponse_.typeNames;
8440  response_.typeSchemas = actualResponse_.typeSchemas;
8441  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8442 
8443  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8444  {
8445  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
8446  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8447  }
8448 
8449  return response_;
8450 }
8451 
8452 
8478 template<typename TResponse>
8479 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const GetRecordsBySeriesRequest& request_,
8480  GetRecordsBySeriesResponse<TResponse>& response_ ) const
8481 {
8482  if (request_.encoding != "binary")
8483  throw GPUdbException( "This function only supports binary encoding" );
8484 
8485  RawGetRecordsBySeriesResponse actualResponse_;
8486  submitRequest("/get/records/byseries", request_, actualResponse_, false);
8487  response_.tableNames = actualResponse_.tableNames;
8488  response_.typeNames = actualResponse_.typeNames;
8489  response_.typeSchemas = actualResponse_.typeSchemas;
8490  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8491 
8492  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8493  {
8494  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
8495  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8496  }
8497 
8498  return response_;
8499 }
8500 
8501 
8539 template<typename TResponse>
8540 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const std::string& tableName,
8541  const std::string& worldTableName,
8542  const int32_t offset,
8543  const int32_t limit,
8544  const std::map<std::string, std::string>& options ) const
8545 {
8546  GetRecordsBySeriesRequest actualRequest_;
8547  actualRequest_.tableName = tableName;
8548  actualRequest_.worldTableName = worldTableName;
8549  actualRequest_.offset = offset;
8550  actualRequest_.limit = limit;
8551  actualRequest_.options = options;
8552  RawGetRecordsBySeriesResponse actualResponse_;
8553  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
8554  GetRecordsBySeriesResponse<TResponse> response_;
8555  response_.tableNames = actualResponse_.tableNames;
8556  response_.typeNames = actualResponse_.typeNames;
8557  response_.typeSchemas = actualResponse_.typeSchemas;
8558  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8559 
8560  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8561  {
8562  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
8563  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8564  }
8565 
8566  return response_;
8567 }
8568 
8569 
8610 template<typename TResponse>
8611 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const std::string& tableName,
8612  const std::string& worldTableName,
8613  const int32_t offset,
8614  const int32_t limit,
8615  const std::map<std::string, std::string>& options,
8616  GetRecordsBySeriesResponse<TResponse>& response_ ) const
8617 {
8618  GetRecordsBySeriesRequest actualRequest_;
8619  actualRequest_.tableName = tableName;
8620  actualRequest_.worldTableName = worldTableName;
8621  actualRequest_.offset = offset;
8622  actualRequest_.limit = limit;
8623  actualRequest_.options = options;
8624  RawGetRecordsBySeriesResponse actualResponse_;
8625  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
8626  response_.tableNames = actualResponse_.tableNames;
8627  response_.typeNames = actualResponse_.typeNames;
8628  response_.typeSchemas = actualResponse_.typeSchemas;
8629  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8630 
8631  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8632  {
8633  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
8634  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8635  }
8636 
8637  return response_;
8638 }
8639 
8640 
8664 template<typename TResponse>
8665 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
8666  const GetRecordsBySeriesRequest& request_ ) const
8667 {
8668  if (request_.encoding != "binary")
8669  throw GPUdbException( "This function only supports binary encoding" );
8670 
8671  RawGetRecordsBySeriesResponse actualResponse_;
8672  submitRequest("/get/records/byseries", request_, actualResponse_, false);
8673  GetRecordsBySeriesResponse<TResponse> response_;
8674  response_.tableNames = actualResponse_.tableNames;
8675  response_.typeNames = actualResponse_.typeNames;
8676  response_.typeSchemas = actualResponse_.typeSchemas;
8677  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8678 
8679  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8680  {
8681  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
8682  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8683  }
8684 
8685  return response_;
8686 }
8687 
8688 
8711 template<typename TResponse>
8712 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
8713  const GetRecordsBySeriesRequest& request_ ) const
8714 {
8715  if (request_.encoding != "binary")
8716  throw GPUdbException( "This function only supports binary encoding" );
8717 
8718  RawGetRecordsBySeriesResponse actualResponse_;
8719  submitRequest("/get/records/byseries", request_, actualResponse_, false);
8720  GetRecordsBySeriesResponse<TResponse> response_;
8721  response_.tableNames = actualResponse_.tableNames;
8722  response_.typeNames = actualResponse_.typeNames;
8723  response_.typeSchemas = actualResponse_.typeSchemas;
8724  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8725 
8726  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8727  {
8728  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
8729  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8730  }
8731 
8732  return response_;
8733 }
8734 
8735 
8762 template<typename TResponse>
8763 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
8764  const GetRecordsBySeriesRequest& request_,
8765  GetRecordsBySeriesResponse<TResponse>& response_ ) const
8766 {
8767  if (request_.encoding != "binary")
8768  throw GPUdbException( "This function only supports binary encoding" );
8769 
8770  RawGetRecordsBySeriesResponse actualResponse_;
8771  submitRequest("/get/records/byseries", request_, actualResponse_, false);
8772  response_.tableNames = actualResponse_.tableNames;
8773  response_.typeNames = actualResponse_.typeNames;
8774  response_.typeSchemas = actualResponse_.typeSchemas;
8775  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8776 
8777  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8778  {
8779  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
8780  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8781  }
8782 
8783  return response_;
8784 }
8785 
8786 
8813 template<typename TResponse>
8814 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
8815  const GetRecordsBySeriesRequest& request_,
8816  GetRecordsBySeriesResponse<TResponse>& response_ ) const
8817 {
8818  if (request_.encoding != "binary")
8819  throw GPUdbException( "This function only supports binary encoding" );
8820 
8821  RawGetRecordsBySeriesResponse actualResponse_;
8822  submitRequest("/get/records/byseries", request_, actualResponse_, false);
8823  response_.tableNames = actualResponse_.tableNames;
8824  response_.typeNames = actualResponse_.typeNames;
8825  response_.typeSchemas = actualResponse_.typeSchemas;
8826  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8827 
8828  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8829  {
8830  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
8831  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8832  }
8833 
8834  return response_;
8835 }
8836 
8837 
8876 template<typename TResponse>
8877 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
8878  const std::string& tableName,
8879  const std::string& worldTableName,
8880  const int32_t offset,
8881  const int32_t limit,
8882  const std::map<std::string, std::string>& options ) const
8883 {
8884  GetRecordsBySeriesRequest actualRequest_;
8885  actualRequest_.tableName = tableName;
8886  actualRequest_.worldTableName = worldTableName;
8887  actualRequest_.offset = offset;
8888  actualRequest_.limit = limit;
8889  actualRequest_.options = options;
8890  RawGetRecordsBySeriesResponse actualResponse_;
8891  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
8892  GetRecordsBySeriesResponse<TResponse> response_;
8893  response_.tableNames = actualResponse_.tableNames;
8894  response_.typeNames = actualResponse_.typeNames;
8895  response_.typeSchemas = actualResponse_.typeSchemas;
8896  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8897 
8898  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8899  {
8900  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
8901  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8902  }
8903 
8904  return response_;
8905 }
8906 
8907 
8946 template<typename TResponse>
8947 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
8948  const std::string& tableName,
8949  const std::string& worldTableName,
8950  const int32_t offset,
8951  const int32_t limit,
8952  const std::map<std::string, std::string>& options ) const
8953 {
8954  GetRecordsBySeriesRequest actualRequest_;
8955  actualRequest_.tableName = tableName;
8956  actualRequest_.worldTableName = worldTableName;
8957  actualRequest_.offset = offset;
8958  actualRequest_.limit = limit;
8959  actualRequest_.options = options;
8960  RawGetRecordsBySeriesResponse actualResponse_;
8961  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
8962  GetRecordsBySeriesResponse<TResponse> response_;
8963  response_.tableNames = actualResponse_.tableNames;
8964  response_.typeNames = actualResponse_.typeNames;
8965  response_.typeSchemas = actualResponse_.typeSchemas;
8966  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
8967 
8968  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
8969  {
8970  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
8971  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
8972  }
8973 
8974  return response_;
8975 }
8976 
8977 
9019 template<typename TResponse>
9020 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
9021  const std::string& tableName,
9022  const std::string& worldTableName,
9023  const int32_t offset,
9024  const int32_t limit,
9025  const std::map<std::string, std::string>& options,
9026  GetRecordsBySeriesResponse<TResponse>& response_ ) const
9027 {
9028  GetRecordsBySeriesRequest actualRequest_;
9029  actualRequest_.tableName = tableName;
9030  actualRequest_.worldTableName = worldTableName;
9031  actualRequest_.offset = offset;
9032  actualRequest_.limit = limit;
9033  actualRequest_.options = options;
9034  RawGetRecordsBySeriesResponse actualResponse_;
9035  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
9036  response_.tableNames = actualResponse_.tableNames;
9037  response_.typeNames = actualResponse_.typeNames;
9038  response_.typeSchemas = actualResponse_.typeSchemas;
9039  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
9040 
9041  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
9042  {
9043  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
9044  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
9045  }
9046 
9047  return response_;
9048 }
9049 
9050 
9092 template<typename TResponse>
9093 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
9094  const std::string& tableName,
9095  const std::string& worldTableName,
9096  const int32_t offset,
9097  const int32_t limit,
9098  const std::map<std::string, std::string>& options,
9099  GetRecordsBySeriesResponse<TResponse>& response_ ) const
9100 {
9101  GetRecordsBySeriesRequest actualRequest_;
9102  actualRequest_.tableName = tableName;
9103  actualRequest_.worldTableName = worldTableName;
9104  actualRequest_.offset = offset;
9105  actualRequest_.limit = limit;
9106  actualRequest_.options = options;
9107  RawGetRecordsBySeriesResponse actualResponse_;
9108  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
9109  response_.tableNames = actualResponse_.tableNames;
9110  response_.typeNames = actualResponse_.typeNames;
9111  response_.typeSchemas = actualResponse_.typeSchemas;
9112  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
9113 
9114  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
9115  {
9116  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
9117  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->threadCount, this->executor);
9118  }
9119 
9120  return response_;
9121 }
9122 
9123 
9142 RawGetRecordsFromCollectionResponse getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_ ) const;
9143 
9165 RawGetRecordsFromCollectionResponse& getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_,
9166  RawGetRecordsFromCollectionResponse& response_ ) const;
9167 
9187 template<typename TResponse>
9188 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_ ) const
9189 {
9190  if (request_.encoding != "binary")
9191  throw GPUdbException( "This function only supports binary encoding" );
9192 
9193  RawGetRecordsFromCollectionResponse actualResponse_;
9194  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
9195  GetRecordsFromCollectionResponse<TResponse> response_;
9196  response_.tableName = actualResponse_.tableName;
9197  response_.typeNames = actualResponse_.typeNames;
9198  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
9199  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9200  response_.recordIds = actualResponse_.recordIds;
9201  return response_;
9202 }
9203 
9204 
9227 template<typename TResponse>
9228 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_,
9229  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
9230 {
9231  if (request_.encoding != "binary")
9232  throw GPUdbException( "This function only supports binary encoding" );
9233 
9234  RawGetRecordsFromCollectionResponse actualResponse_;
9235  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
9236  response_.tableName = actualResponse_.tableName;
9237  response_.typeNames = actualResponse_.typeNames;
9238  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
9239  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9240  response_.recordIds = actualResponse_.recordIds;
9241  return response_;
9242 }
9243 
9244 
9282 template<typename TResponse>
9283 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const std::string& tableName,
9284  const int64_t offset,
9285  const int64_t limit,
9286  const std::map<std::string, std::string>& options ) const
9287 {
9288  GetRecordsFromCollectionRequest actualRequest_;
9289  actualRequest_.tableName = tableName;
9290  actualRequest_.offset = offset;
9291  actualRequest_.limit = limit;
9292  actualRequest_.options = options;
9293  RawGetRecordsFromCollectionResponse actualResponse_;
9294  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
9295  GetRecordsFromCollectionResponse<TResponse> response_;
9296  response_.tableName = actualResponse_.tableName;
9297  response_.typeNames = actualResponse_.typeNames;
9298  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
9299  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9300  response_.recordIds = actualResponse_.recordIds;
9301  return response_;
9302 }
9303 
9304 
9345 template<typename TResponse>
9346 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const std::string& tableName,
9347  const int64_t offset,
9348  const int64_t limit,
9349  const std::map<std::string, std::string>& options,
9350  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
9351 {
9352  GetRecordsFromCollectionRequest actualRequest_;
9353  actualRequest_.tableName = tableName;
9354  actualRequest_.offset = offset;
9355  actualRequest_.limit = limit;
9356  actualRequest_.options = options;
9357  RawGetRecordsFromCollectionResponse actualResponse_;
9358  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
9359  response_.tableName = actualResponse_.tableName;
9360  response_.typeNames = actualResponse_.typeNames;
9361  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
9362  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9363  response_.recordIds = actualResponse_.recordIds;
9364  return response_;
9365 }
9366 
9367 
9388 template<typename TResponse>
9389 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
9390  const GetRecordsFromCollectionRequest& request_ ) const
9391 {
9392  if (request_.encoding != "binary")
9393  throw GPUdbException( "This function only supports binary encoding" );
9394 
9395  RawGetRecordsFromCollectionResponse actualResponse_;
9396  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
9397  GetRecordsFromCollectionResponse<TResponse> response_;
9398  response_.tableName = actualResponse_.tableName;
9399  response_.typeNames = actualResponse_.typeNames;
9400  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9401  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9402  response_.recordIds = actualResponse_.recordIds;
9403  return response_;
9404 }
9405 
9406 
9427 template<typename TResponse>
9428 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
9429  const GetRecordsFromCollectionRequest& request_ ) const
9430 {
9431  if (request_.encoding != "binary")
9432  throw GPUdbException( "This function only supports binary encoding" );
9433 
9434  RawGetRecordsFromCollectionResponse actualResponse_;
9435  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
9436  GetRecordsFromCollectionResponse<TResponse> response_;
9437  response_.tableName = actualResponse_.tableName;
9438  response_.typeNames = actualResponse_.typeNames;
9439  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9440  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9441  response_.recordIds = actualResponse_.recordIds;
9442  return response_;
9443 }
9444 
9445 
9469 template<typename TResponse>
9470 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
9471  const GetRecordsFromCollectionRequest& request_,
9472  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
9473 {
9474  if (request_.encoding != "binary")
9475  throw GPUdbException( "This function only supports binary encoding" );
9476 
9477  RawGetRecordsFromCollectionResponse actualResponse_;
9478  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
9479  response_.tableName = actualResponse_.tableName;
9480  response_.typeNames = actualResponse_.typeNames;
9481  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9482  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9483  response_.recordIds = actualResponse_.recordIds;
9484  return response_;
9485 }
9486 
9487 
9511 template<typename TResponse>
9512 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
9513  const GetRecordsFromCollectionRequest& request_,
9514  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
9515 {
9516  if (request_.encoding != "binary")
9517  throw GPUdbException( "This function only supports binary encoding" );
9518 
9519  RawGetRecordsFromCollectionResponse actualResponse_;
9520  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
9521  response_.tableName = actualResponse_.tableName;
9522  response_.typeNames = actualResponse_.typeNames;
9523  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9524  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9525  response_.recordIds = actualResponse_.recordIds;
9526  return response_;
9527 }
9528 
9529 
9568 template<typename TResponse>
9569 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
9570  const std::string& tableName,
9571  const int64_t offset,
9572  const int64_t limit,
9573  const std::map<std::string, std::string>& options ) const
9574 {
9575  GetRecordsFromCollectionRequest actualRequest_;
9576  actualRequest_.tableName = tableName;
9577  actualRequest_.offset = offset;
9578  actualRequest_.limit = limit;
9579  actualRequest_.options = options;
9580  RawGetRecordsFromCollectionResponse actualResponse_;
9581  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
9582  GetRecordsFromCollectionResponse<TResponse> response_;
9583  response_.tableName = actualResponse_.tableName;
9584  response_.typeNames = actualResponse_.typeNames;
9585  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9586  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9587  response_.recordIds = actualResponse_.recordIds;
9588  return response_;
9589 }
9590 
9591 
9630 template<typename TResponse>
9631 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
9632  const std::string& tableName,
9633  const int64_t offset,
9634  const int64_t limit,
9635  const std::map<std::string, std::string>& options ) const
9636 {
9637  GetRecordsFromCollectionRequest actualRequest_;
9638  actualRequest_.tableName = tableName;
9639  actualRequest_.offset = offset;
9640  actualRequest_.limit = limit;
9641  actualRequest_.options = options;
9642  RawGetRecordsFromCollectionResponse actualResponse_;
9643  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
9644  GetRecordsFromCollectionResponse<TResponse> response_;
9645  response_.tableName = actualResponse_.tableName;
9646  response_.typeNames = actualResponse_.typeNames;
9647  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9648  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9649  response_.recordIds = actualResponse_.recordIds;
9650  return response_;
9651 }
9652 
9653 
9695 template<typename TResponse>
9696 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
9697  const std::string& tableName,
9698  const int64_t offset,
9699  const int64_t limit,
9700  const std::map<std::string, std::string>& options,
9701  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
9702 {
9703  GetRecordsFromCollectionRequest actualRequest_;
9704  actualRequest_.tableName = tableName;
9705  actualRequest_.offset = offset;
9706  actualRequest_.limit = limit;
9707  actualRequest_.options = options;
9708  RawGetRecordsFromCollectionResponse actualResponse_;
9709  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
9710  response_.tableName = actualResponse_.tableName;
9711  response_.typeNames = actualResponse_.typeNames;
9712  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
9713  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9714  response_.recordIds = actualResponse_.recordIds;
9715  return response_;
9716 }
9717 
9718 
9760 template<typename TResponse>
9761 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
9762  const std::string& tableName,
9763  const int64_t offset,
9764  const int64_t limit,
9765  const std::map<std::string, std::string>& options,
9766  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
9767 {
9768  GetRecordsFromCollectionRequest actualRequest_;
9769  actualRequest_.tableName = tableName;
9770  actualRequest_.offset = offset;
9771  actualRequest_.limit = limit;
9772  actualRequest_.options = options;
9773  RawGetRecordsFromCollectionResponse actualResponse_;
9774  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
9775  response_.tableName = actualResponse_.tableName;
9776  response_.typeNames = actualResponse_.typeNames;
9777  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
9778  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->threadCount, this->executor);
9779  response_.recordIds = actualResponse_.recordIds;
9780  return response_;
9781 }
9782 
9783 
9794 GrantPermissionSystemResponse grantPermissionSystem( const GrantPermissionSystemRequest& request_ ) const;
9795 
9809 GrantPermissionSystemResponse& grantPermissionSystem( const GrantPermissionSystemRequest& request_,
9810  GrantPermissionSystemResponse& response_ ) const;
9811 
9832 GrantPermissionSystemResponse grantPermissionSystem( const std::string& name,
9833  const std::string& permission,
9834  const std::map<std::string, std::string>& options ) const;
9835 
9859 GrantPermissionSystemResponse& grantPermissionSystem( const std::string& name,
9860  const std::string& permission,
9861  const std::map<std::string, std::string>& options,
9862  GrantPermissionSystemResponse& response_ ) const;
9863 
9874 GrantPermissionTableResponse grantPermissionTable( const GrantPermissionTableRequest& request_ ) const;
9875 
9889 GrantPermissionTableResponse& grantPermissionTable( const GrantPermissionTableRequest& request_,
9890  GrantPermissionTableResponse& response_ ) const;
9891 
9921 GrantPermissionTableResponse grantPermissionTable( const std::string& name,
9922  const std::string& permission,
9923  const std::string& tableName,
9924  const std::string& filterExpression,
9925  const std::map<std::string, std::string>& options ) const;
9926 
9959 GrantPermissionTableResponse& grantPermissionTable( const std::string& name,
9960  const std::string& permission,
9961  const std::string& tableName,
9962  const std::string& filterExpression,
9963  const std::map<std::string, std::string>& options,
9964  GrantPermissionTableResponse& response_ ) const;
9965 
9976 GrantRoleResponse grantRole( const GrantRoleRequest& request_ ) const;
9977 
9991 GrantRoleResponse& grantRole( const GrantRoleRequest& request_,
9992  GrantRoleResponse& response_ ) const;
9993 
10007 GrantRoleResponse grantRole( const std::string& role,
10008  const std::string& member,
10009  const std::map<std::string, std::string>& options ) const;
10010 
10027 GrantRoleResponse& grantRole( const std::string& role,
10028  const std::string& member,
10029  const std::map<std::string, std::string>& options,
10030  GrantRoleResponse& response_ ) const;
10031 
10042 HasProcResponse hasProc( const HasProcRequest& request_ ) const;
10043 
10057 HasProcResponse& hasProc( const HasProcRequest& request_,
10058  HasProcResponse& response_ ) const;
10059 
10070 HasProcResponse hasProc( const std::string& procName,
10071  const std::map<std::string, std::string>& options ) const;
10072 
10086 HasProcResponse& hasProc( const std::string& procName,
10087  const std::map<std::string, std::string>& options,
10088  HasProcResponse& response_ ) const;
10089 
10100 HasTableResponse hasTable( const HasTableRequest& request_ ) const;
10101 
10115 HasTableResponse& hasTable( const HasTableRequest& request_,
10116  HasTableResponse& response_ ) const;
10117 
10128 HasTableResponse hasTable( const std::string& tableName,
10129  const std::map<std::string, std::string>& options ) const;
10130 
10144 HasTableResponse& hasTable( const std::string& tableName,
10145  const std::map<std::string, std::string>& options,
10146  HasTableResponse& response_ ) const;
10147 
10158 HasTypeResponse hasType( const HasTypeRequest& request_ ) const;
10159 
10173 HasTypeResponse& hasType( const HasTypeRequest& request_,
10174  HasTypeResponse& response_ ) const;
10175 
10186 HasTypeResponse hasType( const std::string& typeId,
10187  const std::map<std::string, std::string>& options ) const;
10188 
10202 HasTypeResponse& hasType( const std::string& typeId,
10203  const std::map<std::string, std::string>& options,
10204  HasTypeResponse& response_ ) const;
10205 
10233 InsertRecordsResponse insertRecordsRaw( const RawInsertRecordsRequest& request_ ) const;
10234 
10265 InsertRecordsResponse& insertRecordsRaw( const RawInsertRecordsRequest& request_,
10266  InsertRecordsResponse& response_ ) const;
10267 
10296 template<typename TRequest>
10297 InsertRecordsResponse insertRecords( const InsertRecordsRequest<TRequest>& request_ ) const
10298 {
10299  RawInsertRecordsRequest actualRequest_;
10300  actualRequest_.tableName = request_.tableName;
10301  avro::encode(actualRequest_.list, request_.data, this->threadCount, this->executor);
10302  actualRequest_.options = request_.options;
10303  InsertRecordsResponse actualResponse_;
10304  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
10305  return actualResponse_;
10306 }
10307 
10308 
10340 template<typename TRequest>
10341 InsertRecordsResponse& insertRecords( const InsertRecordsRequest<TRequest>& request_,
10342  InsertRecordsResponse& response_ ) const
10343 {
10344  RawInsertRecordsRequest actualRequest_;
10345  actualRequest_.tableName = request_.tableName;
10346  avro::encode(actualRequest_.list, request_.data, this->threadCount, this->executor);
10347  actualRequest_.options = request_.options;
10348  submitRequest("/insert/records", actualRequest_, response_, true);
10349  return response_;
10350 }
10351 
10352 
10413 template<typename TRequest>
10414 InsertRecordsResponse insertRecords( const std::string& tableName,
10415  const std::vector<TRequest>& data,
10416  const std::map<std::string, std::string>& options ) const
10417 {
10418  RawInsertRecordsRequest actualRequest_;
10419  actualRequest_.tableName = tableName;
10420  avro::encode(actualRequest_.list, data, this->threadCount, this->executor);
10421  actualRequest_.options = options;
10422  InsertRecordsResponse actualResponse_;
10423  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
10424  return actualResponse_;
10425 }
10426 
10427 
10491 template<typename TRequest>
10492 InsertRecordsResponse& insertRecords( const std::string& tableName,
10493  const std::vector<TRequest>& data,
10494  const std::map<std::string, std::string>& options,
10495  InsertRecordsResponse& response_ ) const
10496 {
10497  RawInsertRecordsRequest actualRequest_;
10498  actualRequest_.tableName = tableName;
10499  avro::encode(actualRequest_.list, data, this->threadCount, this->executor);
10500  actualRequest_.options = options;
10501  submitRequest("/insert/records", actualRequest_, response_, true);
10502  return response_;
10503 }
10504 
10505 
10524 InsertRecordsRandomResponse insertRecordsRandom( const InsertRecordsRandomRequest& request_ ) const;
10525 
10547 InsertRecordsRandomResponse& insertRecordsRandom( const InsertRecordsRandomRequest& request_,
10548  InsertRecordsRandomResponse& response_ ) const;
10549 
10721 InsertRecordsRandomResponse insertRecordsRandom( const std::string& tableName,
10722  const int64_t count,
10723  const std::map<std::string, std::map<std::string, double> >& options ) const;
10724 
10899 InsertRecordsRandomResponse& insertRecordsRandom( const std::string& tableName,
10900  const int64_t count,
10901  const std::map<std::string, std::map<std::string, double> >& options,
10902  InsertRecordsRandomResponse& response_ ) const;
10903 
10922 InsertSymbolResponse insertSymbol( const InsertSymbolRequest& request_ ) const;
10923 
10945 InsertSymbolResponse& insertSymbol( const InsertSymbolRequest& request_,
10946  InsertSymbolResponse& response_ ) const;
10947 
10987 InsertSymbolResponse insertSymbol( const std::string& symbolId,
10988  const std::string& symbolFormat,
10989  const std::vector<uint8_t>& symbolData,
10990  const std::map<std::string, std::string>& options ) const;
10991 
11034 InsertSymbolResponse& insertSymbol( const std::string& symbolId,
11035  const std::string& symbolFormat,
11036  const std::vector<uint8_t>& symbolData,
11037  const std::map<std::string, std::string>& options,
11038  InsertSymbolResponse& response_ ) const;
11039 
11050 KillProcResponse killProc( const KillProcRequest& request_ ) const;
11051 
11065 KillProcResponse& killProc( const KillProcRequest& request_,
11066  KillProcResponse& response_ ) const;
11067 
11081 KillProcResponse killProc( const std::string& runId,
11082  const std::map<std::string, std::string>& options ) const;
11083 
11100 KillProcResponse& killProc( const std::string& runId,
11101  const std::map<std::string, std::string>& options,
11102  KillProcResponse& response_ ) const;
11103 
11120 LockTableResponse lockTable( const LockTableRequest& request_ ) const;
11121 
11141 LockTableResponse& lockTable( const LockTableRequest& request_,
11142  LockTableResponse& response_ ) const;
11143 
11175 LockTableResponse lockTable( const std::string& tableName,
11176  const std::string& lockType,
11177  const std::map<std::string, std::string>& options ) const;
11178 
11213 LockTableResponse& lockTable( const std::string& tableName,
11214  const std::string& lockType,
11215  const std::map<std::string, std::string>& options,
11216  LockTableResponse& response_ ) const;
11217 
11228 RevokePermissionSystemResponse revokePermissionSystem( const RevokePermissionSystemRequest& request_ ) const;
11229 
11243 RevokePermissionSystemResponse& revokePermissionSystem( const RevokePermissionSystemRequest& request_,
11244  RevokePermissionSystemResponse& response_ ) const;
11245 
11268 RevokePermissionSystemResponse revokePermissionSystem( const std::string& name,
11269  const std::string& permission,
11270  const std::map<std::string, std::string>& options ) const;
11271 
11297 RevokePermissionSystemResponse& revokePermissionSystem( const std::string& name,
11298  const std::string& permission,
11299  const std::map<std::string, std::string>& options,
11300  RevokePermissionSystemResponse& response_ ) const;
11301 
11312 RevokePermissionTableResponse revokePermissionTable( const RevokePermissionTableRequest& request_ ) const;
11313 
11327 RevokePermissionTableResponse& revokePermissionTable( const RevokePermissionTableRequest& request_,
11328  RevokePermissionTableResponse& response_ ) const;
11329 
11356 RevokePermissionTableResponse revokePermissionTable( const std::string& name,
11357  const std::string& permission,
11358  const std::string& tableName,
11359  const std::map<std::string, std::string>& options ) const;
11360 
11390 RevokePermissionTableResponse& revokePermissionTable( const std::string& name,
11391  const std::string& permission,
11392  const std::string& tableName,
11393  const std::map<std::string, std::string>& options,
11394  RevokePermissionTableResponse& response_ ) const;
11395 
11406 RevokeRoleResponse revokeRole( const RevokeRoleRequest& request_ ) const;
11407 
11421 RevokeRoleResponse& revokeRole( const RevokeRoleRequest& request_,
11422  RevokeRoleResponse& response_ ) const;
11423 
11437 RevokeRoleResponse revokeRole( const std::string& role,
11438  const std::string& member,
11439  const std::map<std::string, std::string>& options ) const;
11440 
11457 RevokeRoleResponse& revokeRole( const std::string& role,
11458  const std::string& member,
11459  const std::map<std::string, std::string>& options,
11460  RevokeRoleResponse& response_ ) const;
11461 
11472 ShowProcResponse showProc( const ShowProcRequest& request_ ) const;
11473 
11487 ShowProcResponse& showProc( const ShowProcRequest& request_,
11488  ShowProcResponse& response_ ) const;
11489 
11511 ShowProcResponse showProc( const std::string& procName,
11512  const std::map<std::string, std::string>& options ) const;
11513 
11538 ShowProcResponse& showProc( const std::string& procName,
11539  const std::map<std::string, std::string>& options,
11540  ShowProcResponse& response_ ) const;
11541 
11556 ShowProcStatusResponse showProcStatus( const ShowProcStatusRequest& request_ ) const;
11557 
11575 ShowProcStatusResponse& showProcStatus( const ShowProcStatusRequest& request_,
11576  ShowProcStatusResponse& response_ ) const;
11577 
11606 ShowProcStatusResponse showProcStatus( const std::string& runId,
11607  const std::map<std::string, std::string>& options ) const;
11608 
11640 ShowProcStatusResponse& showProcStatus( const std::string& runId,
11641  const std::map<std::string, std::string>& options,
11642  ShowProcStatusResponse& response_ ) const;
11643 
11656 ShowSecurityResponse showSecurity( const ShowSecurityRequest& request_ ) const;
11657 
11673 ShowSecurityResponse& showSecurity( const ShowSecurityRequest& request_,
11674  ShowSecurityResponse& response_ ) const;
11675 
11690 ShowSecurityResponse showSecurity( const std::vector<std::string>& names,
11691  const std::map<std::string, std::string>& options ) const;
11692 
11710 ShowSecurityResponse& showSecurity( const std::vector<std::string>& names,
11711  const std::map<std::string, std::string>& options,
11712  ShowSecurityResponse& response_ ) const;
11713 
11725 ShowSystemPropertiesResponse showSystemProperties( const ShowSystemPropertiesRequest& request_ ) const;
11726 
11741 ShowSystemPropertiesResponse& showSystemProperties( const ShowSystemPropertiesRequest& request_,
11742  ShowSystemPropertiesResponse& response_ ) const;
11743 
11759 ShowSystemPropertiesResponse showSystemProperties( const std::map<std::string, std::string>& options ) const;
11760 
11779 ShowSystemPropertiesResponse& showSystemProperties( const std::map<std::string, std::string>& options,
11780  ShowSystemPropertiesResponse& response_ ) const;
11781 
11793 ShowSystemStatusResponse showSystemStatus( const ShowSystemStatusRequest& request_ ) const;
11794 
11809 ShowSystemStatusResponse& showSystemStatus( const ShowSystemStatusRequest& request_,
11810  ShowSystemStatusResponse& response_ ) const;
11811 
11822 ShowSystemStatusResponse showSystemStatus( const std::map<std::string, std::string>& options ) const;
11823 
11837 ShowSystemStatusResponse& showSystemStatus( const std::map<std::string, std::string>& options,
11838  ShowSystemStatusResponse& response_ ) const;
11839 
11852 ShowSystemTimingResponse showSystemTiming( const ShowSystemTimingRequest& request_ ) const;
11853 
11869 ShowSystemTimingResponse& showSystemTiming( const ShowSystemTimingRequest& request_,
11870  ShowSystemTimingResponse& response_ ) const;
11871 
11883 ShowSystemTimingResponse showSystemTiming( const std::map<std::string, std::string>& options ) const;
11884 
11899 ShowSystemTimingResponse& showSystemTiming( const std::map<std::string, std::string>& options,
11900  ShowSystemTimingResponse& response_ ) const;
11901 
11927 ShowTableResponse showTable( const ShowTableRequest& request_ ) const;
11928 
11957 ShowTableResponse& showTable( const ShowTableRequest& request_,
11958  ShowTableResponse& response_ ) const;
11959 
12013 ShowTableResponse showTable( const std::string& tableName,
12014  const std::map<std::string, std::string>& options ) const;
12015 
12072 ShowTableResponse& showTable( const std::string& tableName,
12073  const std::map<std::string, std::string>& options,
12074  ShowTableResponse& response_ ) const;
12075 
12086 ShowTableMetadataResponse showTableMetadata( const ShowTableMetadataRequest& request_ ) const;
12087 
12101 ShowTableMetadataResponse& showTableMetadata( const ShowTableMetadataRequest& request_,
12102  ShowTableMetadataResponse& response_ ) const;
12103 
12115 ShowTableMetadataResponse showTableMetadata( const std::vector<std::string>& tableNames,
12116  const std::map<std::string, std::string>& options ) const;
12117 
12132 ShowTableMetadataResponse& showTableMetadata( const std::vector<std::string>& tableNames,
12133  const std::map<std::string, std::string>& options,
12134  ShowTableMetadataResponse& response_ ) const;
12135 
12150 ShowTablesByTypeResponse showTablesByType( const ShowTablesByTypeRequest& request_ ) const;
12151 
12169 ShowTablesByTypeResponse& showTablesByType( const ShowTablesByTypeRequest& request_,
12170  ShowTablesByTypeResponse& response_ ) const;
12171 
12188 ShowTablesByTypeResponse showTablesByType( const std::string& typeId,
12189  const std::string& label,
12190  const std::map<std::string, std::string>& options ) const;
12191 
12211 ShowTablesByTypeResponse& showTablesByType( const std::string& typeId,
12212  const std::string& label,
12213  const std::map<std::string, std::string>& options,
12214  ShowTablesByTypeResponse& response_ ) const;
12215 
12227 ShowTriggersResponse showTriggers( const ShowTriggersRequest& request_ ) const;
12228 
12243 ShowTriggersResponse& showTriggers( const ShowTriggersRequest& request_,
12244  ShowTriggersResponse& response_ ) const;
12245 
12259 ShowTriggersResponse showTriggers( const std::vector<std::string>& triggerIds,
12260  const std::map<std::string, std::string>& options ) const;
12261 
12278 ShowTriggersResponse& showTriggers( const std::vector<std::string>& triggerIds,
12279  const std::map<std::string, std::string>& options,
12280  ShowTriggersResponse& response_ ) const;
12281 
12296 ShowTypesResponse showTypes( const ShowTypesRequest& request_ ) const;
12297 
12315 ShowTypesResponse& showTypes( const ShowTypesRequest& request_,
12316  ShowTypesResponse& response_ ) const;
12317 
12334 ShowTypesResponse showTypes( const std::string& typeId,
12335  const std::string& label,
12336  const std::map<std::string, std::string>& options ) const;
12337 
12357 ShowTypesResponse& showTypes( const std::string& typeId,
12358  const std::string& label,
12359  const std::map<std::string, std::string>& options,
12360  ShowTypesResponse& response_ ) const;
12361 
12390 UpdateRecordsResponse updateRecordsRaw( const RawUpdateRecordsRequest& request_ ) const;
12391 
12423 UpdateRecordsResponse& updateRecordsRaw( const RawUpdateRecordsRequest& request_,
12424  UpdateRecordsResponse& response_ ) const;
12425 
12455 template<typename TRequest>
12456 UpdateRecordsResponse updateRecords( const UpdateRecordsRequest<TRequest>& request_ ) const
12457 {
12458  RawUpdateRecordsRequest actualRequest_;
12459  actualRequest_.tableName = request_.tableName;
12460  actualRequest_.expressions = request_.expressions;
12461  actualRequest_.newValuesMaps = request_.newValuesMaps;
12462  avro::encode(actualRequest_.recordsToInsert, request_.data, this->threadCount, this->executor);
12463  actualRequest_.options = request_.options;
12464  UpdateRecordsResponse actualResponse_;
12465  submitRequest("/update/records", actualRequest_, actualResponse_, true);
12466  return actualResponse_;
12467 }
12468 
12469 
12502 template<typename TRequest>
12503 UpdateRecordsResponse& updateRecords( const UpdateRecordsRequest<TRequest>& request_,
12504  UpdateRecordsResponse& response_ ) const
12505 {
12506  RawUpdateRecordsRequest actualRequest_;
12507  actualRequest_.tableName = request_.tableName;
12508  actualRequest_.expressions = request_.expressions;
12509  actualRequest_.newValuesMaps = request_.newValuesMaps;
12510  avro::encode(actualRequest_.recordsToInsert, request_.data, this->threadCount, this->executor);
12511  actualRequest_.options = request_.options;
12512  submitRequest("/update/records", actualRequest_, response_, true);
12513  return response_;
12514 }
12515 
12516 
12587 template<typename TRequest>
12588 UpdateRecordsResponse updateRecords( const std::string& tableName,
12589  const std::vector<std::string>& expressions,
12590  const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps,
12591  const std::vector<TRequest>& data,
12592  const std::map<std::string, std::string>& options ) const
12593 {
12594  RawUpdateRecordsRequest actualRequest_;
12595  actualRequest_.tableName = tableName;
12596  actualRequest_.expressions = expressions;
12597  actualRequest_.newValuesMaps = newValuesMaps;
12598  avro::encode(actualRequest_.recordsToInsert, data, this->threadCount, this->executor);
12599  actualRequest_.options = options;
12600  UpdateRecordsResponse actualResponse_;
12601  submitRequest("/update/records", actualRequest_, actualResponse_, true);
12602  return actualResponse_;
12603 }
12604 
12605 
12679 template<typename TRequest>
12680 UpdateRecordsResponse& updateRecords( const std::string& tableName,
12681  const std::vector<std::string>& expressions,
12682  const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps,
12683  const std::vector<TRequest>& data,
12684  const std::map<std::string, std::string>& options,
12685  UpdateRecordsResponse& response_ ) const
12686 {
12687  RawUpdateRecordsRequest actualRequest_;
12688  actualRequest_.tableName = tableName;
12689  actualRequest_.expressions = expressions;
12690  actualRequest_.newValuesMaps = newValuesMaps;
12691  avro::encode(actualRequest_.recordsToInsert, data, this->threadCount, this->executor);
12692  actualRequest_.options = options;
12693  submitRequest("/update/records", actualRequest_, response_, true);
12694  return response_;
12695 }
12696 
12697 
12710 UpdateRecordsBySeriesResponse updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_ ) const;
12711 
12727 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_,
12728  UpdateRecordsBySeriesResponse& response_ ) const;
12729 
12748 UpdateRecordsBySeriesResponse updateRecordsBySeries( const std::string& tableName,
12749  const std::string& worldTableName,
12750  const std::string& viewName,
12751  const std::vector<std::string>& reserved,
12752  const std::map<std::string, std::string>& options ) const;
12753 
12775 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const std::string& tableName,
12776  const std::string& worldTableName,
12777  const std::string& viewName,
12778  const std::vector<std::string>& reserved,
12779  const std::map<std::string, std::string>& options,
12780  UpdateRecordsBySeriesResponse& response_ ) const;
12781 
12792 VisualizeImageResponse visualizeImage( const VisualizeImageRequest& request_ ) const;
12793 
12807 VisualizeImageResponse& visualizeImage( const VisualizeImageRequest& request_,
12808  VisualizeImageResponse& response_ ) const;
12809 
12910 VisualizeImageResponse visualizeImage( const std::vector<std::string>& tableNames,
12911  const std::vector<std::string>& worldTableNames,
12912  const std::string& xColumnName,
12913  const std::string& yColumnName,
12914  const std::vector<std::vector<std::string> >& trackIds,
12915  const double minX,
12916  const double maxX,
12917  const double minY,
12918  const double maxY,
12919  const int32_t width,
12920  const int32_t height,
12921  const std::string& projection,
12922  const int64_t bgColor,
12923  const std::map<std::string, std::vector<std::string> >& styleOptions,
12924  const std::map<std::string, std::string>& options ) const;
12925 
13029 VisualizeImageResponse& visualizeImage( const std::vector<std::string>& tableNames,
13030  const std::vector<std::string>& worldTableNames,
13031  const std::string& xColumnName,
13032  const std::string& yColumnName,
13033  const std::vector<std::vector<std::string> >& trackIds,
13034  const double minX,
13035  const double maxX,
13036  const double minY,
13037  const double maxY,
13038  const int32_t width,
13039  const int32_t height,
13040  const std::string& projection,
13041  const int64_t bgColor,
13042  const std::map<std::string, std::vector<std::string> >& styleOptions,
13043  const std::map<std::string, std::string>& options,
13044  VisualizeImageResponse& response_ ) const;
13045 
13056 VisualizeImageClassbreakResponse visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_ ) const;
13057 
13071 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_,
13072  VisualizeImageClassbreakResponse& response_ ) const;
13073 
13212 VisualizeImageClassbreakResponse visualizeImageClassbreak( const std::vector<std::string>& tableNames,
13213  const std::vector<std::string>& worldTableNames,
13214  const std::string& xColumnName,
13215  const std::string& yColumnName,
13216  const std::vector<std::vector<std::string> >& trackIds,
13217  const std::string& cbColumnName1,
13218  const std::vector<std::string>& cbVals1,
13219  const std::vector<std::string>& cbColumnName2,
13220  const std::vector<std::vector<std::string> >& cbVals2,
13221  const double minX,
13222  const double maxX,
13223  const double minY,
13224  const double maxY,
13225  const int32_t width,
13226  const int32_t height,
13227  const std::string& projection,
13228  const int64_t bgColor,
13229  const std::map<std::string, std::vector<std::string> >& styleOptions,
13230  const std::map<std::string, std::string>& options ) const;
13231 
13373 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const std::vector<std::string>& tableNames,
13374  const std::vector<std::string>& worldTableNames,
13375  const std::string& xColumnName,
13376  const std::string& yColumnName,
13377  const std::vector<std::vector<std::string> >& trackIds,
13378  const std::string& cbColumnName1,
13379  const std::vector<std::string>& cbVals1,
13380  const std::vector<std::string>& cbColumnName2,
13381  const std::vector<std::vector<std::string> >& cbVals2,
13382  const double minX,
13383  const double maxX,
13384  const double minY,
13385  const double maxY,
13386  const int32_t width,
13387  const int32_t height,
13388  const std::string& projection,
13389  const int64_t bgColor,
13390  const std::map<std::string, std::vector<std::string> >& styleOptions,
13391  const std::map<std::string, std::string>& options,
13392  VisualizeImageClassbreakResponse& response_ ) const;
13393 
13404 VisualizeImageHeatmapResponse visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_ ) const;
13405 
13419 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_,
13420  VisualizeImageHeatmapResponse& response_ ) const;
13421 
13476 VisualizeImageHeatmapResponse visualizeImageHeatmap( const std::vector<std::string>& tableNames,
13477  const std::string& xColumnName,
13478  const std::string& yColumnName,
13479  const std::string& valueColumnName,
13480  const double minX,
13481  const double maxX,
13482  const double minY,
13483  const double maxY,
13484  const int32_t width,
13485  const int32_t height,
13486  const std::string& projection,
13487  const std::map<std::string, std::string>& styleOptions,
13488  const std::map<std::string, std::string>& options ) const;
13489 
13547 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const std::vector<std::string>& tableNames,
13548  const std::string& xColumnName,
13549  const std::string& yColumnName,
13550  const std::string& valueColumnName,
13551  const double minX,
13552  const double maxX,
13553  const double minY,
13554  const double maxY,
13555  const int32_t width,
13556  const int32_t height,
13557  const std::string& projection,
13558  const std::map<std::string, std::string>& styleOptions,
13559  const std::map<std::string, std::string>& options,
13560  VisualizeImageHeatmapResponse& response_ ) const;
13561 
13572 VisualizeImageLabelsResponse visualizeImageLabels( const VisualizeImageLabelsRequest& request_ ) const;
13573 
13587 VisualizeImageLabelsResponse& visualizeImageLabels( const VisualizeImageLabelsRequest& request_,
13588  VisualizeImageLabelsResponse& response_ ) const;
13589 
13634 VisualizeImageLabelsResponse visualizeImageLabels( const std::string& tableName,
13635  const std::string& xColumnName,
13636  const std::string& yColumnName,
13637  const std::string& xOffset,
13638  const std::string& yOffset,
13639  const std::string& textString,
13640  const std::string& font,
13641  const std::string& textColor,
13642  const std::string& textAngle,
13643  const std::string& textScale,
13644  const std::string& drawBox,
13645  const std::string& drawLeader,
13646  const std::string& lineWidth,
13647  const std::string& lineColor,
13648  const std::string& fillColor,
13649  const std::string& leaderXColumnName,
13650  const std::string& leaderYColumnName,
13651  const double minX,
13652  const double maxX,
13653  const double minY,
13654  const double maxY,
13655  const int32_t width,
13656  const int32_t height,
13657  const std::string& projection,
13658  const std::map<std::string, std::string>& options ) const;
13659 
13707 VisualizeImageLabelsResponse& visualizeImageLabels( const std::string& tableName,
13708  const std::string& xColumnName,
13709  const std::string& yColumnName,
13710  const std::string& xOffset,
13711  const std::string& yOffset,
13712  const std::string& textString,
13713  const std::string& font,
13714  const std::string& textColor,
13715  const std::string& textAngle,
13716  const std::string& textScale,
13717  const std::string& drawBox,
13718  const std::string& drawLeader,
13719  const std::string& lineWidth,
13720  const std::string& lineColor,
13721  const std::string& fillColor,
13722  const std::string& leaderXColumnName,
13723  const std::string& leaderYColumnName,
13724  const double minX,
13725  const double maxX,
13726  const double minY,
13727  const double maxY,
13728  const int32_t width,
13729  const int32_t height,
13730  const std::string& projection,
13731  const std::map<std::string, std::string>& options,
13732  VisualizeImageLabelsResponse& response_ ) const;
13733 
13773 VisualizeVideoResponse visualizeVideo( const VisualizeVideoRequest& request_ ) const;
13774 
13817 VisualizeVideoResponse& visualizeVideo( const VisualizeVideoRequest& request_,
13818  VisualizeVideoResponse& response_ ) const;
13819 
13972 VisualizeVideoResponse visualizeVideo( const std::vector<std::string>& tableNames,
13973  const std::vector<std::string>& worldTableNames,
13974  const std::vector<std::vector<std::string> >& trackIds,
13975  const std::string& xColumnName,
13976  const std::string& yColumnName,
13977  const double minX,
13978  const double maxX,
13979  const double minY,
13980  const double maxY,
13981  const int32_t width,
13982  const int32_t height,
13983  const std::string& projection,
13984  const int64_t bgColor,
13985  const std::vector<std::vector<double> >& timeIntervals,
13986  const std::string& videoStyle,
13987  const std::string& sessionKey,
13988  const std::map<std::string, std::vector<std::string> >& styleOptions,
13989  const std::map<std::string, std::string>& options ) const;
13990 
14146 VisualizeVideoResponse& visualizeVideo( const std::vector<std::string>& tableNames,
14147  const std::vector<std::string>& worldTableNames,
14148  const std::vector<std::vector<std::string> >& trackIds,
14149  const std::string& xColumnName,
14150  const std::string& yColumnName,
14151  const double minX,
14152  const double maxX,
14153  const double minY,
14154  const double maxY,
14155  const int32_t width,
14156  const int32_t height,
14157  const std::string& projection,
14158  const int64_t bgColor,
14159  const std::vector<std::vector<double> >& timeIntervals,
14160  const std::string& videoStyle,
14161  const std::string& sessionKey,
14162  const std::map<std::string, std::vector<std::string> >& styleOptions,
14163  const std::map<std::string, std::string>& options,
14164  VisualizeVideoResponse& response_ ) const;
14165 
14176 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_ ) const;
14177 
14191 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_,
14192  VisualizeVideoHeatmapResponse& response_ ) const;
14193 
14249 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
14250  const std::string& xColumnName,
14251  const std::string& yColumnName,
14252  const double minX,
14253  const double maxX,
14254  const double minY,
14255  const double maxY,
14256  const std::vector<std::vector<double> >& timeIntervals,
14257  const int32_t width,
14258  const int32_t height,
14259  const std::string& projection,
14260  const std::string& videoStyle,
14261  const std::string& sessionKey,
14262  const std::map<std::string, std::string>& styleOptions,
14263  const std::map<std::string, std::string>& options ) const;
14264 
14323 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
14324  const std::string& xColumnName,
14325  const std::string& yColumnName,
14326  const double minX,
14327  const double maxX,
14328  const double minY,
14329  const double maxY,
14330  const std::vector<std::vector<double> >& timeIntervals,
14331  const int32_t width,
14332  const int32_t height,
14333  const std::string& projection,
14334  const std::string& videoStyle,
14335  const std::string& sessionKey,
14336  const std::map<std::string, std::string>& styleOptions,
14337  const std::map<std::string, std::string>& options,
14338  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.
ShowTriggersResponse showTriggers(const ShowTriggersRequest &request_) const
Retrieves information regarding the specified triggers or all existing triggers currently active...
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 describing the layout or schema of a table.
ClearTableMonitorResponse clearTableMonitor(const ClearTableMonitorRequest &request_) const
Deactivates a table monitor previously created with const.
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 for the existence of a type.
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
Performs a union (concatenation) of one or more existing tables or views, the results of which are st...
UpdateRecordsResponse updateRecords(const UpdateRecordsRequest< TRequest > &request_) const
Runs multiple predicate-based updates in a single call.
CreateProcResponse createProc(const CreateProcRequest &request_) const
Creates an instance (proc) of the user-defined function (UDF) specified by the given command...
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 database server application.
CreateUserInternalResponse createUserInternal(const CreateUserInternalRequest &request_) const
Creates a new internal user (a user whose credentials are managed by the database system)...
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 table, view, or collection, 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 const endpoint is primarily used to simplify the testing of the system and is not expected to be ...
DeleteRecordsResponse deleteRecords(const DeleteRecordsRequest &request_) const
Deletes record(s) matching the provided criteria from the given table.
KillProcResponse killProc(const KillProcRequest &request_) const
Kills a running proc instance.
DeleteProcResponse deleteProc(const DeleteProcRequest &request_) const
Deletes a proc.
RawGetRecordsResponse getRecordsRaw(const GetRecordsRequest &request_) const
Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column...
CreateProjectionResponse createProjection(const CreateProjectionRequest &request_) const
Creates a new projection of an existing table.
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.
HasProcResponse hasProc(const HasProcRequest &request_) const
Checks the existence of a proc with the given name.
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.
ShowProcStatusResponse showProcStatus(const ShowProcStatusRequest &request_) const
Shows the statuses of running or completed proc instances.
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 the given column(s) 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.
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.
ShowProcResponse showProc(const ShowProcRequest &request_) const
Shows information about a proc.
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 database 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 database requests 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 for the existence of a table with the given name.
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 whose type matches the given criteria.