GPUdb C++ API  Version 6.2.0.3
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 
22 AdminAlterJobsResponse adminAlterJobs( const AdminAlterJobsRequest& request_ ) const;
23 
42 AdminAlterJobsResponse& adminAlterJobs( const AdminAlterJobsRequest& request_,
43  AdminAlterJobsResponse& response_ ) const;
44 
64 AdminAlterJobsResponse adminAlterJobs( const std::vector<int32_t>& jobIds,
65  const std::string& action,
66  const std::map<std::string, std::string>& options ) const;
67 
90 AdminAlterJobsResponse& adminAlterJobs( const std::vector<int32_t>& jobIds,
91  const std::string& action,
92  const std::map<std::string, std::string>& options,
93  AdminAlterJobsResponse& response_ ) const;
94 
106 AdminOfflineResponse adminOffline( const AdminOfflineRequest& request_ ) const;
107 
122 AdminOfflineResponse& adminOffline( const AdminOfflineRequest& request_,
123  AdminOfflineResponse& response_ ) const;
124 
148 AdminOfflineResponse adminOffline( const bool offline,
149  const std::map<std::string, std::string>& options ) const;
150 
177 AdminOfflineResponse& adminOffline( const bool offline,
178  const std::map<std::string, std::string>& options,
179  AdminOfflineResponse& response_ ) const;
180 
193 AdminShowAlertsResponse adminShowAlerts( const AdminShowAlertsRequest& request_ ) const;
194 
210 AdminShowAlertsResponse& adminShowAlerts( const AdminShowAlertsRequest& request_,
211  AdminShowAlertsResponse& response_ ) const;
212 
227 AdminShowAlertsResponse adminShowAlerts( const int32_t numAlerts,
228  const std::map<std::string, std::string>& options ) const;
229 
247 AdminShowAlertsResponse& adminShowAlerts( const int32_t numAlerts,
248  const std::map<std::string, std::string>& options,
249  AdminShowAlertsResponse& response_ ) const;
250 
261 AdminShowJobsResponse adminShowJobs( const AdminShowJobsRequest& request_ ) const;
262 
276 AdminShowJobsResponse& adminShowJobs( const AdminShowJobsRequest& request_,
277  AdminShowJobsResponse& response_ ) const;
278 
295 AdminShowJobsResponse adminShowJobs( const std::map<std::string, std::string>& options ) const;
296 
316 AdminShowJobsResponse& adminShowJobs( const std::map<std::string, std::string>& options,
317  AdminShowJobsResponse& response_ ) const;
318 
331 AdminShowShardsResponse adminShowShards( const AdminShowShardsRequest& request_ ) const;
332 
348 AdminShowShardsResponse& adminShowShards( const AdminShowShardsRequest& request_,
349  AdminShowShardsResponse& response_ ) const;
350 
362 AdminShowShardsResponse adminShowShards( const std::map<std::string, std::string>& options ) const;
363 
378 AdminShowShardsResponse& adminShowShards( const std::map<std::string, std::string>& options,
379  AdminShowShardsResponse& response_ ) const;
380 
391 AdminShutdownResponse adminShutdown( const AdminShutdownRequest& request_ ) const;
392 
406 AdminShutdownResponse& adminShutdown( const AdminShutdownRequest& request_,
407  AdminShutdownResponse& response_ ) const;
408 
420 AdminShutdownResponse adminShutdown( const std::string& exitType,
421  const std::string& authorization,
422  const std::map<std::string, std::string>& options ) const;
423 
438 AdminShutdownResponse& adminShutdown( const std::string& exitType,
439  const std::string& authorization,
440  const std::map<std::string, std::string>& options,
441  AdminShutdownResponse& response_ ) const;
442 
455 AdminVerifyDbResponse adminVerifyDb( const AdminVerifyDbRequest& request_ ) const;
456 
472 AdminVerifyDbResponse& adminVerifyDb( const AdminVerifyDbRequest& request_,
473  AdminVerifyDbResponse& response_ ) const;
474 
500 AdminVerifyDbResponse adminVerifyDb( const std::map<std::string, std::string>& options ) const;
501 
530 AdminVerifyDbResponse& adminVerifyDb( const std::map<std::string, std::string>& options,
531  AdminVerifyDbResponse& response_ ) const;
532 
544 AggregateConvexHullResponse aggregateConvexHull( const AggregateConvexHullRequest& request_ ) const;
545 
560 AggregateConvexHullResponse& aggregateConvexHull( const AggregateConvexHullRequest& request_,
561  AggregateConvexHullResponse& response_ ) const;
562 
579 AggregateConvexHullResponse aggregateConvexHull( const std::string& tableName,
580  const std::string& xColumnName,
581  const std::string& yColumnName,
582  const std::map<std::string, std::string>& options ) const;
583 
603 AggregateConvexHullResponse& aggregateConvexHull( const std::string& tableName,
604  const std::string& xColumnName,
605  const std::string& yColumnName,
606  const std::map<std::string, std::string>& options,
607  AggregateConvexHullResponse& response_ ) const;
608 
680 RawAggregateGroupByResponse aggregateGroupByRaw( const AggregateGroupByRequest& request_ ) const;
681 
756 RawAggregateGroupByResponse& aggregateGroupByRaw( const AggregateGroupByRequest& request_,
757  RawAggregateGroupByResponse& response_ ) const;
758 
830 AggregateGroupByResponse aggregateGroupBy( const AggregateGroupByRequest& request_ ) const;
831 
906 AggregateGroupByResponse& aggregateGroupBy( const AggregateGroupByRequest& request_,
907  AggregateGroupByResponse& response_ ) const;
908 
1106 AggregateGroupByResponse aggregateGroupBy( const std::string& tableName,
1107  const std::vector<std::string>& columnNames,
1108  const int64_t offset,
1109  const int64_t limit,
1110  const std::map<std::string, std::string>& options ) const;
1111 
1312 AggregateGroupByResponse& aggregateGroupBy( const std::string& tableName,
1313  const std::vector<std::string>& columnNames,
1314  const int64_t offset,
1315  const int64_t limit,
1316  const std::map<std::string, std::string>& options,
1317  AggregateGroupByResponse& response_ ) const;
1318 
1342 AggregateHistogramResponse aggregateHistogram( const AggregateHistogramRequest& request_ ) const;
1343 
1370 AggregateHistogramResponse& aggregateHistogram( const AggregateHistogramRequest& request_,
1371  AggregateHistogramResponse& response_ ) const;
1372 
1408 AggregateHistogramResponse aggregateHistogram( const std::string& tableName,
1409  const std::string& columnName,
1410  const double start,
1411  const double end,
1412  const double interval,
1413  const std::map<std::string, std::string>& options ) const;
1414 
1453 AggregateHistogramResponse& aggregateHistogram( const std::string& tableName,
1454  const std::string& columnName,
1455  const double start,
1456  const double end,
1457  const double interval,
1458  const std::map<std::string, std::string>& options,
1459  AggregateHistogramResponse& response_ ) const;
1460 
1481 AggregateKMeansResponse aggregateKMeans( const AggregateKMeansRequest& request_ ) const;
1482 
1506 AggregateKMeansResponse& aggregateKMeans( const AggregateKMeansRequest& request_,
1507  AggregateKMeansResponse& response_ ) const;
1508 
1549 AggregateKMeansResponse aggregateKMeans( const std::string& tableName,
1550  const std::vector<std::string>& columnNames,
1551  const int32_t k,
1552  const double tolerance,
1553  const std::map<std::string, std::string>& options ) const;
1554 
1598 AggregateKMeansResponse& aggregateKMeans( const std::string& tableName,
1599  const std::vector<std::string>& columnNames,
1600  const int32_t k,
1601  const double tolerance,
1602  const std::map<std::string, std::string>& options,
1603  AggregateKMeansResponse& response_ ) const;
1604 
1616 AggregateMinMaxResponse aggregateMinMax( const AggregateMinMaxRequest& request_ ) const;
1617 
1632 AggregateMinMaxResponse& aggregateMinMax( const AggregateMinMaxRequest& request_,
1633  AggregateMinMaxResponse& response_ ) const;
1634 
1649 AggregateMinMaxResponse aggregateMinMax( const std::string& tableName,
1650  const std::string& columnName,
1651  const std::map<std::string, std::string>& options ) const;
1652 
1670 AggregateMinMaxResponse& aggregateMinMax( const std::string& tableName,
1671  const std::string& columnName,
1672  const std::map<std::string, std::string>& options,
1673  AggregateMinMaxResponse& response_ ) const;
1674 
1686 AggregateMinMaxGeometryResponse aggregateMinMaxGeometry( const AggregateMinMaxGeometryRequest& request_ ) const;
1687 
1702 AggregateMinMaxGeometryResponse& aggregateMinMaxGeometry( const AggregateMinMaxGeometryRequest& request_,
1703  AggregateMinMaxGeometryResponse& response_ ) const;
1704 
1719 AggregateMinMaxGeometryResponse aggregateMinMaxGeometry( const std::string& tableName,
1720  const std::string& columnName,
1721  const std::map<std::string, std::string>& options ) const;
1722 
1740 AggregateMinMaxGeometryResponse& aggregateMinMaxGeometry( const std::string& tableName,
1741  const std::string& columnName,
1742  const std::map<std::string, std::string>& options,
1743  AggregateMinMaxGeometryResponse& response_ ) const;
1744 
1790 AggregateStatisticsResponse aggregateStatistics( const AggregateStatisticsRequest& request_ ) const;
1791 
1840 AggregateStatisticsResponse& aggregateStatistics( const AggregateStatisticsRequest& request_,
1841  AggregateStatisticsResponse& response_ ) const;
1842 
1944 AggregateStatisticsResponse aggregateStatistics( const std::string& tableName,
1945  const std::string& columnName,
1946  const std::string& stats,
1947  const std::map<std::string, std::string>& options ) const;
1948 
2053 AggregateStatisticsResponse& aggregateStatistics( const std::string& tableName,
2054  const std::string& columnName,
2055  const std::string& stats,
2056  const std::map<std::string, std::string>& options,
2057  AggregateStatisticsResponse& response_ ) const;
2058 
2093 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_ ) const;
2094 
2132 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const AggregateStatisticsByRangeRequest& request_,
2133  AggregateStatisticsByRangeResponse& response_ ) const;
2134 
2203 AggregateStatisticsByRangeResponse aggregateStatisticsByRange( const std::string& tableName,
2204  const std::string& selectExpression,
2205  const std::string& columnName,
2206  const std::string& valueColumnName,
2207  const std::string& stats,
2208  const double start,
2209  const double end,
2210  const double interval,
2211  const std::map<std::string, std::string>& options ) const;
2212 
2284 AggregateStatisticsByRangeResponse& aggregateStatisticsByRange( const std::string& tableName,
2285  const std::string& selectExpression,
2286  const std::string& columnName,
2287  const std::string& valueColumnName,
2288  const std::string& stats,
2289  const double start,
2290  const double end,
2291  const double interval,
2292  const std::map<std::string, std::string>& options,
2293  AggregateStatisticsByRangeResponse& response_ ) const;
2294 
2335 RawAggregateUniqueResponse aggregateUniqueRaw( const AggregateUniqueRequest& request_ ) const;
2336 
2380 RawAggregateUniqueResponse& aggregateUniqueRaw( const AggregateUniqueRequest& request_,
2381  RawAggregateUniqueResponse& response_ ) const;
2382 
2423 AggregateUniqueResponse aggregateUnique( const AggregateUniqueRequest& request_ ) const;
2424 
2468 AggregateUniqueResponse& aggregateUnique( const AggregateUniqueRequest& request_,
2469  AggregateUniqueResponse& response_ ) const;
2470 
2583 AggregateUniqueResponse aggregateUnique( const std::string& tableName,
2584  const std::string& columnName,
2585  const int64_t offset,
2586  const int64_t limit,
2587  const std::map<std::string, std::string>& options ) const;
2588 
2704 AggregateUniqueResponse& aggregateUnique( const std::string& tableName,
2705  const std::string& columnName,
2706  const int64_t offset,
2707  const int64_t limit,
2708  const std::map<std::string, std::string>& options,
2709  AggregateUniqueResponse& response_ ) const;
2710 
2737 RawAggregateUnpivotResponse aggregateUnpivotRaw( const AggregateUnpivotRequest& request_ ) const;
2738 
2768 RawAggregateUnpivotResponse& aggregateUnpivotRaw( const AggregateUnpivotRequest& request_,
2769  RawAggregateUnpivotResponse& response_ ) const;
2770 
2797 AggregateUnpivotResponse aggregateUnpivot( const AggregateUnpivotRequest& request_ ) const;
2798 
2828 AggregateUnpivotResponse& aggregateUnpivot( const AggregateUnpivotRequest& request_,
2829  AggregateUnpivotResponse& response_ ) const;
2830 
2931 AggregateUnpivotResponse aggregateUnpivot( const std::string& tableName,
2932  const std::vector<std::string>& columnNames,
2933  const std::string& variableColumnName,
2934  const std::string& valueColumnName,
2935  const std::vector<std::string>& pivotedColumns,
2936  const std::map<std::string, std::string>& options ) const;
2937 
3041 AggregateUnpivotResponse& aggregateUnpivot( const std::string& tableName,
3042  const std::vector<std::string>& columnNames,
3043  const std::string& variableColumnName,
3044  const std::string& valueColumnName,
3045  const std::vector<std::string>& pivotedColumns,
3046  const std::map<std::string, std::string>& options,
3047  AggregateUnpivotResponse& response_ ) const;
3048 
3065 AlterSystemPropertiesResponse alterSystemProperties( const AlterSystemPropertiesRequest& request_ ) const;
3066 
3086 AlterSystemPropertiesResponse& alterSystemProperties( const AlterSystemPropertiesRequest& request_,
3087  AlterSystemPropertiesResponse& response_ ) const;
3088 
3227 AlterSystemPropertiesResponse alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
3228  const std::map<std::string, std::string>& options ) const;
3229 
3371 AlterSystemPropertiesResponse& alterSystemProperties( const std::map<std::string, std::string>& propertyUpdatesMap,
3372  const std::map<std::string, std::string>& options,
3373  AlterSystemPropertiesResponse& response_ ) const;
3374 
3421 AlterTableResponse alterTable( const AlterTableRequest& request_ ) const;
3422 
3472 AlterTableResponse& alterTable( const AlterTableRequest& request_,
3473  AlterTableResponse& response_ ) const;
3474 
3673 AlterTableResponse alterTable( const std::string& tableName,
3674  const std::string& action,
3675  const std::string& value,
3676  const std::map<std::string, std::string>& options ) const;
3677 
3879 AlterTableResponse& alterTable( const std::string& tableName,
3880  const std::string& action,
3881  const std::string& value,
3882  const std::map<std::string, std::string>& options,
3883  AlterTableResponse& response_ ) const;
3884 
3898 AlterTableMetadataResponse alterTableMetadata( const AlterTableMetadataRequest& request_ ) const;
3899 
3916 AlterTableMetadataResponse& alterTableMetadata( const AlterTableMetadataRequest& request_,
3917  AlterTableMetadataResponse& response_ ) const;
3918 
3939 AlterTableMetadataResponse alterTableMetadata( const std::vector<std::string>& tableNames,
3940  const std::map<std::string, std::string>& metadataMap,
3941  const std::map<std::string, std::string>& options ) const;
3942 
3966 AlterTableMetadataResponse& alterTableMetadata( const std::vector<std::string>& tableNames,
3967  const std::map<std::string, std::string>& metadataMap,
3968  const std::map<std::string, std::string>& options,
3969  AlterTableMetadataResponse& response_ ) const;
3970 
3981 AlterUserResponse alterUser( const AlterUserRequest& request_ ) const;
3982 
3996 AlterUserResponse& alterUser( const AlterUserRequest& request_,
3997  AlterUserResponse& response_ ) const;
3998 
4015 AlterUserResponse alterUser( const std::string& name,
4016  const std::string& action,
4017  const std::string& value,
4018  const std::map<std::string, std::string>& options ) const;
4019 
4039 AlterUserResponse& alterUser( const std::string& name,
4040  const std::string& action,
4041  const std::string& value,
4042  const std::map<std::string, std::string>& options,
4043  AlterUserResponse& response_ ) const;
4044 
4058 AppendRecordsResponse appendRecords( const AppendRecordsRequest& request_ ) const;
4059 
4076 AppendRecordsResponse& appendRecords( const AppendRecordsRequest& request_,
4077  AppendRecordsResponse& response_ ) const;
4078 
4152 AppendRecordsResponse appendRecords( const std::string& tableName,
4153  const std::string& sourceTableName,
4154  const std::map<std::string, std::string>& fieldMap,
4155  const std::map<std::string, std::string>& options ) const;
4156 
4233 AppendRecordsResponse& appendRecords( const std::string& tableName,
4234  const std::string& sourceTableName,
4235  const std::map<std::string, std::string>& fieldMap,
4236  const std::map<std::string, std::string>& options,
4237  AppendRecordsResponse& response_ ) const;
4238 
4252 ClearTableResponse clearTable( const ClearTableRequest& request_ ) const;
4253 
4270 ClearTableResponse& clearTable( const ClearTableRequest& request_,
4271  ClearTableResponse& response_ ) const;
4272 
4302 ClearTableResponse clearTable( const std::string& tableName,
4303  const std::string& authorization,
4304  const std::map<std::string, std::string>& options ) const;
4305 
4338 ClearTableResponse& clearTable( const std::string& tableName,
4339  const std::string& authorization,
4340  const std::map<std::string, std::string>& options,
4341  ClearTableResponse& response_ ) const;
4342 
4354 ClearTableMonitorResponse clearTableMonitor( const ClearTableMonitorRequest& request_ ) const;
4355 
4370 ClearTableMonitorResponse& clearTableMonitor( const ClearTableMonitorRequest& request_,
4371  ClearTableMonitorResponse& response_ ) const;
4372 
4384 ClearTableMonitorResponse clearTableMonitor( const std::string& topicId,
4385  const std::map<std::string, std::string>& options ) const;
4386 
4401 ClearTableMonitorResponse& clearTableMonitor( const std::string& topicId,
4402  const std::map<std::string, std::string>& options,
4403  ClearTableMonitorResponse& response_ ) const;
4404 
4417 ClearTriggerResponse clearTrigger( const ClearTriggerRequest& request_ ) const;
4418 
4434 ClearTriggerResponse& clearTrigger( const ClearTriggerRequest& request_,
4435  ClearTriggerResponse& response_ ) const;
4436 
4449 ClearTriggerResponse clearTrigger( const std::string& triggerId,
4450  const std::map<std::string, std::string>& options ) const;
4451 
4467 ClearTriggerResponse& clearTrigger( const std::string& triggerId,
4468  const std::map<std::string, std::string>& options,
4469  ClearTriggerResponse& response_ ) const;
4470 
4484 CreateJobResponse createJob( const CreateJobRequest& request_ ) const;
4485 
4502 CreateJobResponse& createJob( const CreateJobRequest& request_,
4503  CreateJobResponse& response_ ) const;
4504 
4537 CreateJobResponse createJob( const std::string& endpoint,
4538  const std::string& requestEncoding,
4539  const std::vector<uint8_t>& data,
4540  const std::string& dataStr,
4541  const std::map<std::string, std::string>& options ) const;
4542 
4578 CreateJobResponse& createJob( const std::string& endpoint,
4579  const std::string& requestEncoding,
4580  const std::vector<uint8_t>& data,
4581  const std::string& dataStr,
4582  const std::map<std::string, std::string>& options,
4583  CreateJobResponse& response_ ) const;
4584 
4600 CreateJoinTableResponse createJoinTable( const CreateJoinTableRequest& request_ ) const;
4601 
4620 CreateJoinTableResponse& createJoinTable( const CreateJoinTableRequest& request_,
4621  CreateJoinTableResponse& response_ ) const;
4622 
4738 CreateJoinTableResponse createJoinTable( const std::string& joinTableName,
4739  const std::vector<std::string>& tableNames,
4740  const std::vector<std::string>& columnNames,
4741  const std::vector<std::string>& expressions,
4742  const std::map<std::string, std::string>& options ) const;
4743 
4862 CreateJoinTableResponse& createJoinTable( const std::string& joinTableName,
4863  const std::vector<std::string>& tableNames,
4864  const std::vector<std::string>& columnNames,
4865  const std::vector<std::string>& expressions,
4866  const std::map<std::string, std::string>& options,
4867  CreateJoinTableResponse& response_ ) const;
4868 
4888 CreateMaterializedViewResponse createMaterializedView( const CreateMaterializedViewRequest& request_ ) const;
4889 
4912 CreateMaterializedViewResponse& createMaterializedView( const CreateMaterializedViewRequest& request_,
4913  CreateMaterializedViewResponse& response_ ) const;
4914 
4984 CreateMaterializedViewResponse createMaterializedView( const std::string& tableName,
4985  const std::map<std::string, std::string>& options ) const;
4986 
5059 CreateMaterializedViewResponse& createMaterializedView( const std::string& tableName,
5060  const std::map<std::string, std::string>& options,
5061  CreateMaterializedViewResponse& response_ ) const;
5062 
5076 CreateProcResponse createProc( const CreateProcRequest& request_ ) const;
5077 
5094 CreateProcResponse& createProc( const CreateProcRequest& request_,
5095  CreateProcResponse& response_ ) const;
5096 
5150 CreateProcResponse createProc( const std::string& procName,
5151  const std::string& executionMode,
5152  const std::map<std::string, std::vector<uint8_t> >& files,
5153  const std::string& command,
5154  const std::vector<std::string>& args,
5155  const std::map<std::string, std::string>& options ) const;
5156 
5213 CreateProcResponse& createProc( const std::string& procName,
5214  const std::string& executionMode,
5215  const std::map<std::string, std::vector<uint8_t> >& files,
5216  const std::string& command,
5217  const std::vector<std::string>& args,
5218  const std::map<std::string, std::string>& options,
5219  CreateProcResponse& response_ ) const;
5220 
5250 CreateProjectionResponse createProjection( const CreateProjectionRequest& request_ ) const;
5251 
5284 CreateProjectionResponse& createProjection( const CreateProjectionRequest& request_,
5285  CreateProjectionResponse& response_ ) const;
5286 
5400 CreateProjectionResponse createProjection( const std::string& tableName,
5401  const std::string& projectionName,
5402  const std::vector<std::string>& columnNames,
5403  const std::map<std::string, std::string>& options ) const;
5404 
5521 CreateProjectionResponse& createProjection( const std::string& tableName,
5522  const std::string& projectionName,
5523  const std::vector<std::string>& columnNames,
5524  const std::map<std::string, std::string>& options,
5525  CreateProjectionResponse& response_ ) const;
5526 
5537 CreateRoleResponse createRole( const CreateRoleRequest& request_ ) const;
5538 
5552 CreateRoleResponse& createRole( const CreateRoleRequest& request_,
5553  CreateRoleResponse& response_ ) const;
5554 
5567 CreateRoleResponse createRole( const std::string& name,
5568  const std::map<std::string, std::string>& options ) const;
5569 
5585 CreateRoleResponse& createRole( const std::string& name,
5586  const std::map<std::string, std::string>& options,
5587  CreateRoleResponse& response_ ) const;
5588 
5608 CreateTableResponse createTable( const CreateTableRequest& request_ ) const;
5609 
5632 CreateTableResponse& createTable( const CreateTableRequest& request_,
5633  CreateTableResponse& response_ ) const;
5634 
5740 CreateTableResponse createTable( const std::string& tableName,
5741  const std::string& typeId,
5742  const std::map<std::string, std::string>& options ) const;
5743 
5852 CreateTableResponse& createTable( const std::string& tableName,
5853  const std::string& typeId,
5854  const std::map<std::string, std::string>& options,
5855  CreateTableResponse& response_ ) const;
5856 
5876 CreateTableMonitorResponse createTableMonitor( const CreateTableMonitorRequest& request_ ) const;
5877 
5900 CreateTableMonitorResponse& createTableMonitor( const CreateTableMonitorRequest& request_,
5901  CreateTableMonitorResponse& response_ ) const;
5902 
5923 CreateTableMonitorResponse createTableMonitor( const std::string& tableName,
5924  const std::map<std::string, std::string>& options ) const;
5925 
5949 CreateTableMonitorResponse& createTableMonitor( const std::string& tableName,
5950  const std::map<std::string, std::string>& options,
5951  CreateTableMonitorResponse& response_ ) const;
5952 
5977 CreateTriggerByAreaResponse createTriggerByArea( const CreateTriggerByAreaRequest& request_ ) const;
5978 
6008 CreateTriggerByAreaResponse& createTriggerByArea( const CreateTriggerByAreaRequest& request_,
6009  CreateTriggerByAreaResponse& response_ ) const;
6010 
6052 CreateTriggerByAreaResponse createTriggerByArea( const std::string& requestId,
6053  const std::vector<std::string>& tableNames,
6054  const std::string& xColumnName,
6055  const std::vector<double>& xVector,
6056  const std::string& yColumnName,
6057  const std::vector<double>& yVector,
6058  const std::map<std::string, std::string>& options ) const;
6059 
6104 CreateTriggerByAreaResponse& createTriggerByArea( const std::string& requestId,
6105  const std::vector<std::string>& tableNames,
6106  const std::string& xColumnName,
6107  const std::vector<double>& xVector,
6108  const std::string& yColumnName,
6109  const std::vector<double>& yVector,
6110  const std::map<std::string, std::string>& options,
6111  CreateTriggerByAreaResponse& response_ ) const;
6112 
6136 CreateTriggerByRangeResponse createTriggerByRange( const CreateTriggerByRangeRequest& request_ ) const;
6137 
6165 CreateTriggerByRangeResponse& createTriggerByRange( const CreateTriggerByRangeRequest& request_,
6166  CreateTriggerByRangeResponse& response_ ) const;
6167 
6199 CreateTriggerByRangeResponse createTriggerByRange( const std::string& requestId,
6200  const std::vector<std::string>& tableNames,
6201  const std::string& columnName,
6202  const double min,
6203  const double max,
6204  const std::map<std::string, std::string>& options ) const;
6205 
6240 CreateTriggerByRangeResponse& createTriggerByRange( const std::string& requestId,
6241  const std::vector<std::string>& tableNames,
6242  const std::string& columnName,
6243  const double min,
6244  const double max,
6245  const std::map<std::string, std::string>& options,
6246  CreateTriggerByRangeResponse& response_ ) const;
6247 
6297 CreateTypeResponse createType( const CreateTypeRequest& request_ ) const;
6298 
6351 CreateTypeResponse& createType( const CreateTypeRequest& request_,
6352  CreateTypeResponse& response_ ) const;
6353 
6556 CreateTypeResponse createType( const std::string& typeDefinition,
6557  const std::string& label,
6558  const std::map<std::string, std::vector<std::string> >& properties,
6559  const std::map<std::string, std::string>& options ) const;
6560 
6766 CreateTypeResponse& createType( const std::string& typeDefinition,
6767  const std::string& label,
6768  const std::map<std::string, std::vector<std::string> >& properties,
6769  const std::map<std::string, std::string>& options,
6770  CreateTypeResponse& response_ ) const;
6771 
6809 CreateUnionResponse createUnion( const CreateUnionRequest& request_ ) const;
6810 
6851 CreateUnionResponse& createUnion( const CreateUnionRequest& request_,
6852  CreateUnionResponse& response_ ) const;
6853 
6978 CreateUnionResponse createUnion( const std::string& tableName,
6979  const std::vector<std::string>& tableNames,
6980  const std::vector<std::vector<std::string> >& inputColumnNames,
6981  const std::vector<std::string>& outputColumnNames,
6982  const std::map<std::string, std::string>& options ) const;
6983 
7111 CreateUnionResponse& createUnion( const std::string& tableName,
7112  const std::vector<std::string>& tableNames,
7113  const std::vector<std::vector<std::string> >& inputColumnNames,
7114  const std::vector<std::string>& outputColumnNames,
7115  const std::map<std::string, std::string>& options,
7116  CreateUnionResponse& response_ ) const;
7117 
7129 CreateUserExternalResponse createUserExternal( const CreateUserExternalRequest& request_ ) const;
7130 
7145 CreateUserExternalResponse& createUserExternal( const CreateUserExternalRequest& request_,
7146  CreateUserExternalResponse& response_ ) const;
7147 
7161 CreateUserExternalResponse createUserExternal( const std::string& name,
7162  const std::map<std::string, std::string>& options ) const;
7163 
7180 CreateUserExternalResponse& createUserExternal( const std::string& name,
7181  const std::map<std::string, std::string>& options,
7182  CreateUserExternalResponse& response_ ) const;
7183 
7195 CreateUserInternalResponse createUserInternal( const CreateUserInternalRequest& request_ ) const;
7196 
7211 CreateUserInternalResponse& createUserInternal( const CreateUserInternalRequest& request_,
7212  CreateUserInternalResponse& response_ ) const;
7213 
7229 CreateUserInternalResponse createUserInternal( const std::string& name,
7230  const std::string& password,
7231  const std::map<std::string, std::string>& options ) const;
7232 
7251 CreateUserInternalResponse& createUserInternal( const std::string& name,
7252  const std::string& password,
7253  const std::map<std::string, std::string>& options,
7254  CreateUserInternalResponse& response_ ) const;
7255 
7266 DeleteProcResponse deleteProc( const DeleteProcRequest& request_ ) const;
7267 
7281 DeleteProcResponse& deleteProc( const DeleteProcRequest& request_,
7282  DeleteProcResponse& response_ ) const;
7283 
7295 DeleteProcResponse deleteProc( const std::string& procName,
7296  const std::map<std::string, std::string>& options ) const;
7297 
7312 DeleteProcResponse& deleteProc( const std::string& procName,
7313  const std::map<std::string, std::string>& options,
7314  DeleteProcResponse& response_ ) const;
7315 
7333 DeleteRecordsResponse deleteRecords( const DeleteRecordsRequest& request_ ) const;
7334 
7355 DeleteRecordsResponse& deleteRecords( const DeleteRecordsRequest& request_,
7356  DeleteRecordsResponse& response_ ) const;
7357 
7403 DeleteRecordsResponse deleteRecords( const std::string& tableName,
7404  const std::vector<std::string>& expressions,
7405  const std::map<std::string, std::string>& options ) const;
7406 
7455 DeleteRecordsResponse& deleteRecords( const std::string& tableName,
7456  const std::vector<std::string>& expressions,
7457  const std::map<std::string, std::string>& options,
7458  DeleteRecordsResponse& response_ ) const;
7459 
7470 DeleteRoleResponse deleteRole( const DeleteRoleRequest& request_ ) const;
7471 
7485 DeleteRoleResponse& deleteRole( const DeleteRoleRequest& request_,
7486  DeleteRoleResponse& response_ ) const;
7487 
7498 DeleteRoleResponse deleteRole( const std::string& name,
7499  const std::map<std::string, std::string>& options ) const;
7500 
7514 DeleteRoleResponse& deleteRole( const std::string& name,
7515  const std::map<std::string, std::string>& options,
7516  DeleteRoleResponse& response_ ) const;
7517 
7528 DeleteUserResponse deleteUser( const DeleteUserRequest& request_ ) const;
7529 
7543 DeleteUserResponse& deleteUser( const DeleteUserRequest& request_,
7544  DeleteUserResponse& response_ ) const;
7545 
7556 DeleteUserResponse deleteUser( const std::string& name,
7557  const std::map<std::string, std::string>& options ) const;
7558 
7572 DeleteUserResponse& deleteUser( const std::string& name,
7573  const std::map<std::string, std::string>& options,
7574  DeleteUserResponse& response_ ) const;
7575 
7587 ExecuteProcResponse executeProc( const ExecuteProcRequest& request_ ) const;
7588 
7603 ExecuteProcResponse& executeProc( const ExecuteProcRequest& request_,
7604  ExecuteProcResponse& response_ ) const;
7605 
7673 ExecuteProcResponse executeProc( const std::string& procName,
7674  const std::map<std::string, std::string>& params,
7675  const std::map<std::string, std::vector<uint8_t> >& binParams,
7676  const std::vector<std::string>& inputTableNames,
7677  const std::map<std::string, std::vector<std::string> >& inputColumnNames,
7678  const std::vector<std::string>& outputTableNames,
7679  const std::map<std::string, std::string>& options ) const;
7680 
7751 ExecuteProcResponse& executeProc( const std::string& procName,
7752  const std::map<std::string, std::string>& params,
7753  const std::map<std::string, std::vector<uint8_t> >& binParams,
7754  const std::vector<std::string>& inputTableNames,
7755  const std::map<std::string, std::vector<std::string> >& inputColumnNames,
7756  const std::vector<std::string>& outputTableNames,
7757  const std::map<std::string, std::string>& options,
7758  ExecuteProcResponse& response_ ) const;
7759 
7778 FilterResponse filter( const FilterRequest& request_ ) const;
7779 
7801 FilterResponse& filter( const FilterRequest& request_,
7802  FilterResponse& response_ ) const;
7803 
7846 FilterResponse filter( const std::string& tableName,
7847  const std::string& viewName,
7848  const std::string& expression,
7849  const std::map<std::string, std::string>& options ) const;
7850 
7896 FilterResponse& filter( const std::string& tableName,
7897  const std::string& viewName,
7898  const std::string& expression,
7899  const std::map<std::string, std::string>& options,
7900  FilterResponse& response_ ) const;
7901 
7917 FilterByAreaResponse filterByArea( const FilterByAreaRequest& request_ ) const;
7918 
7937 FilterByAreaResponse& filterByArea( const FilterByAreaRequest& request_,
7938  FilterByAreaResponse& response_ ) const;
7939 
7979 FilterByAreaResponse filterByArea( const std::string& tableName,
7980  const std::string& viewName,
7981  const std::string& xColumnName,
7982  const std::vector<double>& xVector,
7983  const std::string& yColumnName,
7984  const std::vector<double>& yVector,
7985  const std::map<std::string, std::string>& options ) const;
7986 
8029 FilterByAreaResponse& filterByArea( const std::string& tableName,
8030  const std::string& viewName,
8031  const std::string& xColumnName,
8032  const std::vector<double>& xVector,
8033  const std::string& yColumnName,
8034  const std::vector<double>& yVector,
8035  const std::map<std::string, std::string>& options,
8036  FilterByAreaResponse& response_ ) const;
8037 
8054 FilterByAreaGeometryResponse filterByAreaGeometry( const FilterByAreaGeometryRequest& request_ ) const;
8055 
8075 FilterByAreaGeometryResponse& filterByAreaGeometry( const FilterByAreaGeometryRequest& request_,
8076  FilterByAreaGeometryResponse& response_ ) const;
8077 
8114 FilterByAreaGeometryResponse filterByAreaGeometry( const std::string& tableName,
8115  const std::string& viewName,
8116  const std::string& columnName,
8117  const std::vector<double>& xVector,
8118  const std::vector<double>& yVector,
8119  const std::map<std::string, std::string>& options ) const;
8120 
8160 FilterByAreaGeometryResponse& filterByAreaGeometry( const std::string& tableName,
8161  const std::string& viewName,
8162  const std::string& columnName,
8163  const std::vector<double>& xVector,
8164  const std::vector<double>& yVector,
8165  const std::map<std::string, std::string>& options,
8166  FilterByAreaGeometryResponse& response_ ) const;
8167 
8183 FilterByBoxResponse filterByBox( const FilterByBoxRequest& request_ ) const;
8184 
8203 FilterByBoxResponse& filterByBox( const FilterByBoxRequest& request_,
8204  FilterByBoxResponse& response_ ) const;
8205 
8245 FilterByBoxResponse filterByBox( const std::string& tableName,
8246  const std::string& viewName,
8247  const std::string& xColumnName,
8248  const double minX,
8249  const double maxX,
8250  const std::string& yColumnName,
8251  const double minY,
8252  const double maxY,
8253  const std::map<std::string, std::string>& options ) const;
8254 
8297 FilterByBoxResponse& filterByBox( const std::string& tableName,
8298  const std::string& viewName,
8299  const std::string& xColumnName,
8300  const double minX,
8301  const double maxX,
8302  const std::string& yColumnName,
8303  const double minY,
8304  const double maxY,
8305  const std::map<std::string, std::string>& options,
8306  FilterByBoxResponse& response_ ) const;
8307 
8323 FilterByBoxGeometryResponse filterByBoxGeometry( const FilterByBoxGeometryRequest& request_ ) const;
8324 
8343 FilterByBoxGeometryResponse& filterByBoxGeometry( const FilterByBoxGeometryRequest& request_,
8344  FilterByBoxGeometryResponse& response_ ) const;
8345 
8381 FilterByBoxGeometryResponse filterByBoxGeometry( const std::string& tableName,
8382  const std::string& viewName,
8383  const std::string& columnName,
8384  const double minX,
8385  const double maxX,
8386  const double minY,
8387  const double maxY,
8388  const std::map<std::string, std::string>& options ) const;
8389 
8428 FilterByBoxGeometryResponse& filterByBoxGeometry( const std::string& tableName,
8429  const std::string& viewName,
8430  const std::string& columnName,
8431  const double minX,
8432  const double maxX,
8433  const double minY,
8434  const double maxY,
8435  const std::map<std::string, std::string>& options,
8436  FilterByBoxGeometryResponse& response_ ) const;
8437 
8450 FilterByGeometryResponse filterByGeometry( const FilterByGeometryRequest& request_ ) const;
8451 
8467 FilterByGeometryResponse& filterByGeometry( const FilterByGeometryRequest& request_,
8468  FilterByGeometryResponse& response_ ) const;
8469 
8519 FilterByGeometryResponse filterByGeometry( const std::string& tableName,
8520  const std::string& viewName,
8521  const std::string& columnName,
8522  const std::string& inputWkt,
8523  const std::string& operation,
8524  const std::map<std::string, std::string>& options ) const;
8525 
8578 FilterByGeometryResponse& filterByGeometry( const std::string& tableName,
8579  const std::string& viewName,
8580  const std::string& columnName,
8581  const std::string& inputWkt,
8582  const std::string& operation,
8583  const std::map<std::string, std::string>& options,
8584  FilterByGeometryResponse& response_ ) const;
8585 
8609 FilterByListResponse filterByList( const FilterByListRequest& request_ ) const;
8610 
8637 FilterByListResponse& filterByList( const FilterByListRequest& request_,
8638  FilterByListResponse& response_ ) const;
8639 
8691 FilterByListResponse filterByList( const std::string& tableName,
8692  const std::string& viewName,
8693  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
8694  const std::map<std::string, std::string>& options ) const;
8695 
8750 FilterByListResponse& filterByList( const std::string& tableName,
8751  const std::string& viewName,
8752  const std::map<std::string, std::vector<std::string> >& columnValuesMap,
8753  const std::map<std::string, std::string>& options,
8754  FilterByListResponse& response_ ) const;
8755 
8776 FilterByRadiusResponse filterByRadius( const FilterByRadiusRequest& request_ ) const;
8777 
8801 FilterByRadiusResponse& filterByRadius( const FilterByRadiusRequest& request_,
8802  FilterByRadiusResponse& response_ ) const;
8803 
8851 FilterByRadiusResponse filterByRadius( const std::string& tableName,
8852  const std::string& viewName,
8853  const std::string& xColumnName,
8854  const double xCenter,
8855  const std::string& yColumnName,
8856  const double yCenter,
8857  const double radius,
8858  const std::map<std::string, std::string>& options ) const;
8859 
8910 FilterByRadiusResponse& filterByRadius( const std::string& tableName,
8911  const std::string& viewName,
8912  const std::string& xColumnName,
8913  const double xCenter,
8914  const std::string& yColumnName,
8915  const double yCenter,
8916  const double radius,
8917  const std::map<std::string, std::string>& options,
8918  FilterByRadiusResponse& response_ ) const;
8919 
8936 FilterByRadiusGeometryResponse filterByRadiusGeometry( const FilterByRadiusGeometryRequest& request_ ) const;
8937 
8957 FilterByRadiusGeometryResponse& filterByRadiusGeometry( const FilterByRadiusGeometryRequest& request_,
8958  FilterByRadiusGeometryResponse& response_ ) const;
8959 
9000 FilterByRadiusGeometryResponse filterByRadiusGeometry( const std::string& tableName,
9001  const std::string& viewName,
9002  const std::string& columnName,
9003  const double xCenter,
9004  const double yCenter,
9005  const double radius,
9006  const std::map<std::string, std::string>& options ) const;
9007 
9051 FilterByRadiusGeometryResponse& filterByRadiusGeometry( const std::string& tableName,
9052  const std::string& viewName,
9053  const std::string& columnName,
9054  const double xCenter,
9055  const double yCenter,
9056  const double radius,
9057  const std::map<std::string, std::string>& options,
9058  FilterByRadiusGeometryResponse& response_ ) const;
9059 
9079 FilterByRangeResponse filterByRange( const FilterByRangeRequest& request_ ) const;
9080 
9103 FilterByRangeResponse& filterByRange( const FilterByRangeRequest& request_,
9104  FilterByRangeResponse& response_ ) const;
9105 
9140 FilterByRangeResponse filterByRange( const std::string& tableName,
9141  const std::string& viewName,
9142  const std::string& columnName,
9143  const double lowerBound,
9144  const double upperBound,
9145  const std::map<std::string, std::string>& options ) const;
9146 
9184 FilterByRangeResponse& filterByRange( const std::string& tableName,
9185  const std::string& viewName,
9186  const std::string& columnName,
9187  const double lowerBound,
9188  const double upperBound,
9189  const std::map<std::string, std::string>& options,
9190  FilterByRangeResponse& response_ ) const;
9191 
9215 FilterBySeriesResponse filterBySeries( const FilterBySeriesRequest& request_ ) const;
9216 
9243 FilterBySeriesResponse& filterBySeries( const FilterBySeriesRequest& request_,
9244  FilterBySeriesResponse& response_ ) const;
9245 
9307 FilterBySeriesResponse filterBySeries( const std::string& tableName,
9308  const std::string& viewName,
9309  const std::string& trackId,
9310  const std::vector<std::string>& targetTrackIds,
9311  const std::map<std::string, std::string>& options ) const;
9312 
9377 FilterBySeriesResponse& filterBySeries( const std::string& tableName,
9378  const std::string& viewName,
9379  const std::string& trackId,
9380  const std::vector<std::string>& targetTrackIds,
9381  const std::map<std::string, std::string>& options,
9382  FilterBySeriesResponse& response_ ) const;
9383 
9398 FilterByStringResponse filterByString( const FilterByStringRequest& request_ ) const;
9399 
9417 FilterByStringResponse& filterByString( const FilterByStringRequest& request_,
9418  FilterByStringResponse& response_ ) const;
9419 
9479 FilterByStringResponse filterByString( const std::string& tableName,
9480  const std::string& viewName,
9481  const std::string& expression,
9482  const std::string& mode,
9483  const std::vector<std::string>& columnNames,
9484  const std::map<std::string, std::string>& options ) const;
9485 
9548 FilterByStringResponse& filterByString( const std::string& tableName,
9549  const std::string& viewName,
9550  const std::string& expression,
9551  const std::string& mode,
9552  const std::vector<std::string>& columnNames,
9553  const std::map<std::string, std::string>& options,
9554  FilterByStringResponse& response_ ) const;
9555 
9574 FilterByTableResponse filterByTable( const FilterByTableRequest& request_ ) const;
9575 
9597 FilterByTableResponse& filterByTable( const FilterByTableRequest& request_,
9598  FilterByTableResponse& response_ ) const;
9599 
9680 FilterByTableResponse filterByTable( const std::string& tableName,
9681  const std::string& viewName,
9682  const std::string& columnName,
9683  const std::string& sourceTableName,
9684  const std::string& sourceTableColumnName,
9685  const std::map<std::string, std::string>& options ) const;
9686 
9770 FilterByTableResponse& filterByTable( const std::string& tableName,
9771  const std::string& viewName,
9772  const std::string& columnName,
9773  const std::string& sourceTableName,
9774  const std::string& sourceTableColumnName,
9775  const std::map<std::string, std::string>& options,
9776  FilterByTableResponse& response_ ) const;
9777 
9797 FilterByValueResponse filterByValue( const FilterByValueRequest& request_ ) const;
9798 
9821 FilterByValueResponse& filterByValue( const FilterByValueRequest& request_,
9822  FilterByValueResponse& response_ ) const;
9823 
9861 FilterByValueResponse filterByValue( const std::string& tableName,
9862  const std::string& viewName,
9863  const bool isString,
9864  const double value,
9865  const std::string& valueStr,
9866  const std::string& columnName,
9867  const std::map<std::string, std::string>& options ) const;
9868 
9909 FilterByValueResponse& filterByValue( const std::string& tableName,
9910  const std::string& viewName,
9911  const bool isString,
9912  const double value,
9913  const std::string& valueStr,
9914  const std::string& columnName,
9915  const std::map<std::string, std::string>& options,
9916  FilterByValueResponse& response_ ) const;
9917 
9927 GetJobResponse getJob( const GetJobRequest& request_ ) const;
9928 
9941 GetJobResponse& getJob( const GetJobRequest& request_,
9942  GetJobResponse& response_ ) const;
9943 
9954 GetJobResponse getJob( const int32_t jobId,
9955  const std::map<std::string, std::string>& options ) const;
9956 
9970 GetJobResponse& getJob( const int32_t jobId,
9971  const std::map<std::string, std::string>& options,
9972  GetJobResponse& response_ ) const;
9973 
9993 RawGetRecordsResponse getRecordsRaw( const GetRecordsRequest& request_ ) const;
9994 
10017 RawGetRecordsResponse& getRecordsRaw( const GetRecordsRequest& request_,
10018  RawGetRecordsResponse& response_ ) const;
10019 
10040 template<typename TResponse>
10041 GetRecordsResponse<TResponse> getRecords( const GetRecordsRequest& request_ ) const
10042 {
10043  if (request_.encoding != "binary")
10044  throw GPUdbException( "This function only supports binary encoding" );
10045 
10046  RawGetRecordsResponse actualResponse_;
10047  submitRequest("/get/records", request_, actualResponse_, false);
10048  GetRecordsResponse<TResponse> response_;
10049  response_.tableName = actualResponse_.tableName;
10050  response_.typeName = actualResponse_.typeName;
10051  response_.typeSchema = actualResponse_.typeSchema;
10052  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10053  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10054  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10055  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10056  return response_;
10057 }
10058 
10059 
10083 template<typename TResponse>
10084 GetRecordsResponse<TResponse>& getRecords( const GetRecordsRequest& request_,
10085  GetRecordsResponse<TResponse>& response_ ) const
10086 {
10087  if (request_.encoding != "binary")
10088  throw GPUdbException( "This function only supports binary encoding" );
10089 
10090  RawGetRecordsResponse actualResponse_;
10091  submitRequest("/get/records", request_, actualResponse_, false);
10092  response_.tableName = actualResponse_.tableName;
10093  response_.typeName = actualResponse_.typeName;
10094  response_.typeSchema = actualResponse_.typeSchema;
10095  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10096  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10097  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10098  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10099  return response_;
10100 }
10101 
10102 
10158 template<typename TResponse>
10159 GetRecordsResponse<TResponse> getRecords( const std::string& tableName,
10160  const int64_t offset,
10161  const int64_t limit,
10162  const std::map<std::string, std::string>& options ) const
10163 {
10164  GetRecordsRequest actualRequest_;
10165  actualRequest_.tableName = tableName;
10166  actualRequest_.offset = offset;
10167  actualRequest_.limit = limit;
10168  actualRequest_.options = options;
10169  RawGetRecordsResponse actualResponse_;
10170  submitRequest("/get/records", actualRequest_, actualResponse_, false);
10171  GetRecordsResponse<TResponse> response_;
10172  response_.tableName = actualResponse_.tableName;
10173  response_.typeName = actualResponse_.typeName;
10174  response_.typeSchema = actualResponse_.typeSchema;
10175  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10176  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10177  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10178  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10179  return response_;
10180 }
10181 
10182 
10241 template<typename TResponse>
10242 GetRecordsResponse<TResponse>& getRecords( const std::string& tableName,
10243  const int64_t offset,
10244  const int64_t limit,
10245  const std::map<std::string, std::string>& options,
10246  GetRecordsResponse<TResponse>& response_ ) const
10247 {
10248  GetRecordsRequest actualRequest_;
10249  actualRequest_.tableName = tableName;
10250  actualRequest_.offset = offset;
10251  actualRequest_.limit = limit;
10252  actualRequest_.options = options;
10253  RawGetRecordsResponse actualResponse_;
10254  submitRequest("/get/records", actualRequest_, actualResponse_, false);
10255  response_.tableName = actualResponse_.tableName;
10256  response_.typeName = actualResponse_.typeName;
10257  response_.typeSchema = actualResponse_.typeSchema;
10258  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
10259  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10260  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10261  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10262  return response_;
10263 }
10264 
10265 
10287 template<typename TResponse>
10288 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
10289  const GetRecordsRequest& request_ ) const
10290 {
10291  if (request_.encoding != "binary")
10292  throw GPUdbException( "This function only supports binary encoding" );
10293 
10294  RawGetRecordsResponse actualResponse_;
10295  submitRequest("/get/records", request_, actualResponse_, false);
10296  GetRecordsResponse<TResponse> response_;
10297  response_.tableName = actualResponse_.tableName;
10298  response_.typeName = actualResponse_.typeName;
10299  response_.typeSchema = actualResponse_.typeSchema;
10300  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
10301  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10302  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10303  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10304  return response_;
10305 }
10306 
10307 
10329 template<typename TResponse>
10330 GetRecordsResponse<TResponse> getRecords( const Type& type_,
10331  const GetRecordsRequest& request_ ) const
10332 {
10333  if (request_.encoding != "binary")
10334  throw GPUdbException( "This function only supports binary encoding" );
10335 
10336  RawGetRecordsResponse actualResponse_;
10337  submitRequest("/get/records", request_, actualResponse_, false);
10338  GetRecordsResponse<TResponse> response_;
10339  response_.tableName = actualResponse_.tableName;
10340  response_.typeName = actualResponse_.typeName;
10341  response_.typeSchema = actualResponse_.typeSchema;
10342  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
10343  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10344  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10345  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10346  return response_;
10347 }
10348 
10349 
10374 template<typename TResponse>
10375 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
10376  const GetRecordsRequest& request_,
10377  GetRecordsResponse<TResponse>& response_ ) const
10378 {
10379  if (request_.encoding != "binary")
10380  throw GPUdbException( "This function only supports binary encoding" );
10381 
10382  RawGetRecordsResponse actualResponse_;
10383  submitRequest("/get/records", request_, actualResponse_, false);
10384  response_.tableName = actualResponse_.tableName;
10385  response_.typeName = actualResponse_.typeName;
10386  response_.typeSchema = actualResponse_.typeSchema;
10387  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
10388  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10389  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10390  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10391  return response_;
10392 }
10393 
10394 
10419 template<typename TResponse>
10420 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
10421  const GetRecordsRequest& request_,
10422  GetRecordsResponse<TResponse>& response_ ) const
10423 {
10424  if (request_.encoding != "binary")
10425  throw GPUdbException( "This function only supports binary encoding" );
10426 
10427  RawGetRecordsResponse actualResponse_;
10428  submitRequest("/get/records", request_, actualResponse_, false);
10429  response_.tableName = actualResponse_.tableName;
10430  response_.typeName = actualResponse_.typeName;
10431  response_.typeSchema = actualResponse_.typeSchema;
10432  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
10433  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10434  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10435  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10436  return response_;
10437 }
10438 
10439 
10496 template<typename TResponse>
10497 GetRecordsResponse<TResponse> getRecords( const ::avro::ValidSchema& schema_,
10498  const std::string& tableName,
10499  const int64_t offset,
10500  const int64_t limit,
10501  const std::map<std::string, std::string>& options ) const
10502 {
10503  GetRecordsRequest actualRequest_;
10504  actualRequest_.tableName = tableName;
10505  actualRequest_.offset = offset;
10506  actualRequest_.limit = limit;
10507  actualRequest_.options = options;
10508  RawGetRecordsResponse actualResponse_;
10509  submitRequest("/get/records", actualRequest_, actualResponse_, false);
10510  GetRecordsResponse<TResponse> response_;
10511  response_.tableName = actualResponse_.tableName;
10512  response_.typeName = actualResponse_.typeName;
10513  response_.typeSchema = actualResponse_.typeSchema;
10514  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
10515  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10516  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10517  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10518  return response_;
10519 }
10520 
10521 
10578 template<typename TResponse>
10579 GetRecordsResponse<TResponse> getRecords( const Type& type_,
10580  const std::string& tableName,
10581  const int64_t offset,
10582  const int64_t limit,
10583  const std::map<std::string, std::string>& options ) const
10584 {
10585  GetRecordsRequest actualRequest_;
10586  actualRequest_.tableName = tableName;
10587  actualRequest_.offset = offset;
10588  actualRequest_.limit = limit;
10589  actualRequest_.options = options;
10590  RawGetRecordsResponse actualResponse_;
10591  submitRequest("/get/records", actualRequest_, actualResponse_, false);
10592  GetRecordsResponse<TResponse> response_;
10593  response_.tableName = actualResponse_.tableName;
10594  response_.typeName = actualResponse_.typeName;
10595  response_.typeSchema = actualResponse_.typeSchema;
10596  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
10597  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10598  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10599  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10600  return response_;
10601 }
10602 
10603 
10663 template<typename TResponse>
10664 GetRecordsResponse<TResponse>& getRecords( const ::avro::ValidSchema& schema_,
10665  const std::string& tableName,
10666  const int64_t offset,
10667  const int64_t limit,
10668  const std::map<std::string, std::string>& options,
10669  GetRecordsResponse<TResponse>& response_ ) const
10670 {
10671  GetRecordsRequest actualRequest_;
10672  actualRequest_.tableName = tableName;
10673  actualRequest_.offset = offset;
10674  actualRequest_.limit = limit;
10675  actualRequest_.options = options;
10676  RawGetRecordsResponse actualResponse_;
10677  submitRequest("/get/records", actualRequest_, actualResponse_, false);
10678  response_.tableName = actualResponse_.tableName;
10679  response_.typeName = actualResponse_.typeName;
10680  response_.typeSchema = actualResponse_.typeSchema;
10681  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
10682  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10683  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10684  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10685  return response_;
10686 }
10687 
10688 
10748 template<typename TResponse>
10749 GetRecordsResponse<TResponse>& getRecords( const Type& type_,
10750  const std::string& tableName,
10751  const int64_t offset,
10752  const int64_t limit,
10753  const std::map<std::string, std::string>& options,
10754  GetRecordsResponse<TResponse>& response_ ) const
10755 {
10756  GetRecordsRequest actualRequest_;
10757  actualRequest_.tableName = tableName;
10758  actualRequest_.offset = offset;
10759  actualRequest_.limit = limit;
10760  actualRequest_.options = options;
10761  RawGetRecordsResponse actualResponse_;
10762  submitRequest("/get/records", actualRequest_, actualResponse_, false);
10763  response_.tableName = actualResponse_.tableName;
10764  response_.typeName = actualResponse_.typeName;
10765  response_.typeSchema = actualResponse_.typeSchema;
10766  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
10767  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
10768  response_.totalNumberOfRecords = actualResponse_.totalNumberOfRecords;
10769  response_.hasMoreRecords = actualResponse_.hasMoreRecords;
10770  return response_;
10771 }
10772 
10773 
10802 RawGetRecordsByColumnResponse getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_ ) const;
10803 
10835 RawGetRecordsByColumnResponse& getRecordsByColumnRaw( const GetRecordsByColumnRequest& request_,
10836  RawGetRecordsByColumnResponse& response_ ) const;
10837 
10866 GetRecordsByColumnResponse getRecordsByColumn( const GetRecordsByColumnRequest& request_ ) const;
10867 
10899 GetRecordsByColumnResponse& getRecordsByColumn( const GetRecordsByColumnRequest& request_,
10900  GetRecordsByColumnResponse& response_ ) const;
10901 
10967 GetRecordsByColumnResponse getRecordsByColumn( const std::string& tableName,
10968  const std::vector<std::string>& columnNames,
10969  const int64_t offset,
10970  const int64_t limit,
10971  const std::map<std::string, std::string>& options ) const;
10972 
11041 GetRecordsByColumnResponse& getRecordsByColumn( const std::string& tableName,
11042  const std::vector<std::string>& columnNames,
11043  const int64_t offset,
11044  const int64_t limit,
11045  const std::map<std::string, std::string>& options,
11046  GetRecordsByColumnResponse& response_ ) const;
11047 
11068 RawGetRecordsBySeriesResponse getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_ ) const;
11069 
11094 RawGetRecordsBySeriesResponse& getRecordsBySeriesRaw( const GetRecordsBySeriesRequest& request_,
11095  RawGetRecordsBySeriesResponse& response_ ) const;
11096 
11117 template<typename TResponse>
11118 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const GetRecordsBySeriesRequest& request_ ) const
11119 {
11120  if (request_.encoding != "binary")
11121  throw GPUdbException( "This function only supports binary encoding" );
11122 
11123  RawGetRecordsBySeriesResponse actualResponse_;
11124  submitRequest("/get/records/byseries", request_, actualResponse_, false);
11125  GetRecordsBySeriesResponse<TResponse> response_;
11126  response_.tableNames = actualResponse_.tableNames;
11127  response_.typeNames = actualResponse_.typeNames;
11128  response_.typeSchemas = actualResponse_.typeSchemas;
11129  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11130 
11131  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11132  {
11133  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
11134  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11135  }
11136 
11137  return response_;
11138 }
11139 
11140 
11166 template<typename TResponse>
11167 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const GetRecordsBySeriesRequest& request_,
11168  GetRecordsBySeriesResponse<TResponse>& response_ ) const
11169 {
11170  if (request_.encoding != "binary")
11171  throw GPUdbException( "This function only supports binary encoding" );
11172 
11173  RawGetRecordsBySeriesResponse actualResponse_;
11174  submitRequest("/get/records/byseries", request_, actualResponse_, false);
11175  response_.tableNames = actualResponse_.tableNames;
11176  response_.typeNames = actualResponse_.typeNames;
11177  response_.typeSchemas = actualResponse_.typeSchemas;
11178  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11179 
11180  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11181  {
11182  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
11183  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11184  }
11185 
11186  return response_;
11187 }
11188 
11189 
11227 template<typename TResponse>
11228 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const std::string& tableName,
11229  const std::string& worldTableName,
11230  const int32_t offset,
11231  const int32_t limit,
11232  const std::map<std::string, std::string>& options ) const
11233 {
11234  GetRecordsBySeriesRequest actualRequest_;
11235  actualRequest_.tableName = tableName;
11236  actualRequest_.worldTableName = worldTableName;
11237  actualRequest_.offset = offset;
11238  actualRequest_.limit = limit;
11239  actualRequest_.options = options;
11240  RawGetRecordsBySeriesResponse actualResponse_;
11241  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
11242  GetRecordsBySeriesResponse<TResponse> response_;
11243  response_.tableNames = actualResponse_.tableNames;
11244  response_.typeNames = actualResponse_.typeNames;
11245  response_.typeSchemas = actualResponse_.typeSchemas;
11246  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11247 
11248  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11249  {
11250  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
11251  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11252  }
11253 
11254  return response_;
11255 }
11256 
11257 
11298 template<typename TResponse>
11299 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const std::string& tableName,
11300  const std::string& worldTableName,
11301  const int32_t offset,
11302  const int32_t limit,
11303  const std::map<std::string, std::string>& options,
11304  GetRecordsBySeriesResponse<TResponse>& response_ ) const
11305 {
11306  GetRecordsBySeriesRequest actualRequest_;
11307  actualRequest_.tableName = tableName;
11308  actualRequest_.worldTableName = worldTableName;
11309  actualRequest_.offset = offset;
11310  actualRequest_.limit = limit;
11311  actualRequest_.options = options;
11312  RawGetRecordsBySeriesResponse actualResponse_;
11313  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
11314  response_.tableNames = actualResponse_.tableNames;
11315  response_.typeNames = actualResponse_.typeNames;
11316  response_.typeSchemas = actualResponse_.typeSchemas;
11317  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11318 
11319  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11320  {
11321  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse());
11322  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11323  }
11324 
11325  return response_;
11326 }
11327 
11328 
11352 template<typename TResponse>
11353 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
11354  const GetRecordsBySeriesRequest& request_ ) const
11355 {
11356  if (request_.encoding != "binary")
11357  throw GPUdbException( "This function only supports binary encoding" );
11358 
11359  RawGetRecordsBySeriesResponse actualResponse_;
11360  submitRequest("/get/records/byseries", request_, actualResponse_, false);
11361  GetRecordsBySeriesResponse<TResponse> response_;
11362  response_.tableNames = actualResponse_.tableNames;
11363  response_.typeNames = actualResponse_.typeNames;
11364  response_.typeSchemas = actualResponse_.typeSchemas;
11365  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11366 
11367  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11368  {
11369  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
11370  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11371  }
11372 
11373  return response_;
11374 }
11375 
11376 
11399 template<typename TResponse>
11400 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
11401  const GetRecordsBySeriesRequest& request_ ) const
11402 {
11403  if (request_.encoding != "binary")
11404  throw GPUdbException( "This function only supports binary encoding" );
11405 
11406  RawGetRecordsBySeriesResponse actualResponse_;
11407  submitRequest("/get/records/byseries", request_, actualResponse_, false);
11408  GetRecordsBySeriesResponse<TResponse> response_;
11409  response_.tableNames = actualResponse_.tableNames;
11410  response_.typeNames = actualResponse_.typeNames;
11411  response_.typeSchemas = actualResponse_.typeSchemas;
11412  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11413 
11414  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11415  {
11416  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
11417  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11418  }
11419 
11420  return response_;
11421 }
11422 
11423 
11450 template<typename TResponse>
11451 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
11452  const GetRecordsBySeriesRequest& request_,
11453  GetRecordsBySeriesResponse<TResponse>& response_ ) const
11454 {
11455  if (request_.encoding != "binary")
11456  throw GPUdbException( "This function only supports binary encoding" );
11457 
11458  RawGetRecordsBySeriesResponse actualResponse_;
11459  submitRequest("/get/records/byseries", request_, actualResponse_, false);
11460  response_.tableNames = actualResponse_.tableNames;
11461  response_.typeNames = actualResponse_.typeNames;
11462  response_.typeSchemas = actualResponse_.typeSchemas;
11463  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11464 
11465  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11466  {
11467  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
11468  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11469  }
11470 
11471  return response_;
11472 }
11473 
11474 
11501 template<typename TResponse>
11502 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
11503  const GetRecordsBySeriesRequest& request_,
11504  GetRecordsBySeriesResponse<TResponse>& response_ ) const
11505 {
11506  if (request_.encoding != "binary")
11507  throw GPUdbException( "This function only supports binary encoding" );
11508 
11509  RawGetRecordsBySeriesResponse actualResponse_;
11510  submitRequest("/get/records/byseries", request_, actualResponse_, false);
11511  response_.tableNames = actualResponse_.tableNames;
11512  response_.typeNames = actualResponse_.typeNames;
11513  response_.typeSchemas = actualResponse_.typeSchemas;
11514  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11515 
11516  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11517  {
11518  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
11519  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11520  }
11521 
11522  return response_;
11523 }
11524 
11525 
11564 template<typename TResponse>
11565 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const ::avro::ValidSchema& schema_,
11566  const std::string& tableName,
11567  const std::string& worldTableName,
11568  const int32_t offset,
11569  const int32_t limit,
11570  const std::map<std::string, std::string>& options ) const
11571 {
11572  GetRecordsBySeriesRequest actualRequest_;
11573  actualRequest_.tableName = tableName;
11574  actualRequest_.worldTableName = worldTableName;
11575  actualRequest_.offset = offset;
11576  actualRequest_.limit = limit;
11577  actualRequest_.options = options;
11578  RawGetRecordsBySeriesResponse actualResponse_;
11579  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
11580  GetRecordsBySeriesResponse<TResponse> response_;
11581  response_.tableNames = actualResponse_.tableNames;
11582  response_.typeNames = actualResponse_.typeNames;
11583  response_.typeSchemas = actualResponse_.typeSchemas;
11584  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11585 
11586  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11587  {
11588  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
11589  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11590  }
11591 
11592  return response_;
11593 }
11594 
11595 
11634 template<typename TResponse>
11635 GetRecordsBySeriesResponse<TResponse> getRecordsBySeries( const Type& type_,
11636  const std::string& tableName,
11637  const std::string& worldTableName,
11638  const int32_t offset,
11639  const int32_t limit,
11640  const std::map<std::string, std::string>& options ) const
11641 {
11642  GetRecordsBySeriesRequest actualRequest_;
11643  actualRequest_.tableName = tableName;
11644  actualRequest_.worldTableName = worldTableName;
11645  actualRequest_.offset = offset;
11646  actualRequest_.limit = limit;
11647  actualRequest_.options = options;
11648  RawGetRecordsBySeriesResponse actualResponse_;
11649  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
11650  GetRecordsBySeriesResponse<TResponse> response_;
11651  response_.tableNames = actualResponse_.tableNames;
11652  response_.typeNames = actualResponse_.typeNames;
11653  response_.typeSchemas = actualResponse_.typeSchemas;
11654  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11655 
11656  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11657  {
11658  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
11659  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11660  }
11661 
11662  return response_;
11663 }
11664 
11665 
11707 template<typename TResponse>
11708 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const ::avro::ValidSchema& schema_,
11709  const std::string& tableName,
11710  const std::string& worldTableName,
11711  const int32_t offset,
11712  const int32_t limit,
11713  const std::map<std::string, std::string>& options,
11714  GetRecordsBySeriesResponse<TResponse>& response_ ) const
11715 {
11716  GetRecordsBySeriesRequest actualRequest_;
11717  actualRequest_.tableName = tableName;
11718  actualRequest_.worldTableName = worldTableName;
11719  actualRequest_.offset = offset;
11720  actualRequest_.limit = limit;
11721  actualRequest_.options = options;
11722  RawGetRecordsBySeriesResponse actualResponse_;
11723  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
11724  response_.tableNames = actualResponse_.tableNames;
11725  response_.typeNames = actualResponse_.typeNames;
11726  response_.typeSchemas = actualResponse_.typeSchemas;
11727  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11728 
11729  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11730  {
11731  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(schema_));
11732  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11733  }
11734 
11735  return response_;
11736 }
11737 
11738 
11780 template<typename TResponse>
11781 GetRecordsBySeriesResponse<TResponse>& getRecordsBySeries( const Type& type_,
11782  const std::string& tableName,
11783  const std::string& worldTableName,
11784  const int32_t offset,
11785  const int32_t limit,
11786  const std::map<std::string, std::string>& options,
11787  GetRecordsBySeriesResponse<TResponse>& response_ ) const
11788 {
11789  GetRecordsBySeriesRequest actualRequest_;
11790  actualRequest_.tableName = tableName;
11791  actualRequest_.worldTableName = worldTableName;
11792  actualRequest_.offset = offset;
11793  actualRequest_.limit = limit;
11794  actualRequest_.options = options;
11795  RawGetRecordsBySeriesResponse actualResponse_;
11796  submitRequest("/get/records/byseries", actualRequest_, actualResponse_, false);
11797  response_.tableNames = actualResponse_.tableNames;
11798  response_.typeNames = actualResponse_.typeNames;
11799  response_.typeSchemas = actualResponse_.typeSchemas;
11800  response_.data.resize(actualResponse_.listRecordsBinary.size(), std::vector<TResponse>());
11801 
11802  for (std::vector<std::vector<std::vector<uint8_t> > >::size_type i_ = 0; i_ < actualResponse_.listRecordsBinary.size(); ++i_)
11803  {
11804  response_.data[i_].resize(actualResponse_.listRecordsBinary[i_].size(), TResponse(type_));
11805  avro::decode(&response_.data[i_][0], &actualResponse_.listRecordsBinary[i_][0], actualResponse_.listRecordsBinary[i_].size(), this->m_threadCount, this->m_executor);
11806  }
11807 
11808  return response_;
11809 }
11810 
11811 
11830 RawGetRecordsFromCollectionResponse getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_ ) const;
11831 
11853 RawGetRecordsFromCollectionResponse& getRecordsFromCollectionRaw( const GetRecordsFromCollectionRequest& request_,
11854  RawGetRecordsFromCollectionResponse& response_ ) const;
11855 
11875 template<typename TResponse>
11876 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_ ) const
11877 {
11878  if (request_.encoding != "binary")
11879  throw GPUdbException( "This function only supports binary encoding" );
11880 
11881  RawGetRecordsFromCollectionResponse actualResponse_;
11882  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
11883  GetRecordsFromCollectionResponse<TResponse> response_;
11884  response_.tableName = actualResponse_.tableName;
11885  response_.typeNames = actualResponse_.typeNames;
11886  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
11887  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
11888  response_.recordIds = actualResponse_.recordIds;
11889  return response_;
11890 }
11891 
11892 
11915 template<typename TResponse>
11916 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const GetRecordsFromCollectionRequest& request_,
11917  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
11918 {
11919  if (request_.encoding != "binary")
11920  throw GPUdbException( "This function only supports binary encoding" );
11921 
11922  RawGetRecordsFromCollectionResponse actualResponse_;
11923  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
11924  response_.tableName = actualResponse_.tableName;
11925  response_.typeNames = actualResponse_.typeNames;
11926  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
11927  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
11928  response_.recordIds = actualResponse_.recordIds;
11929  return response_;
11930 }
11931 
11932 
11972 template<typename TResponse>
11973 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const std::string& tableName,
11974  const int64_t offset,
11975  const int64_t limit,
11976  const std::map<std::string, std::string>& options ) const
11977 {
11978  GetRecordsFromCollectionRequest actualRequest_;
11979  actualRequest_.tableName = tableName;
11980  actualRequest_.offset = offset;
11981  actualRequest_.limit = limit;
11982  actualRequest_.options = options;
11983  RawGetRecordsFromCollectionResponse actualResponse_;
11984  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
11985  GetRecordsFromCollectionResponse<TResponse> response_;
11986  response_.tableName = actualResponse_.tableName;
11987  response_.typeNames = actualResponse_.typeNames;
11988  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
11989  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
11990  response_.recordIds = actualResponse_.recordIds;
11991  return response_;
11992 }
11993 
11994 
12037 template<typename TResponse>
12038 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const std::string& tableName,
12039  const int64_t offset,
12040  const int64_t limit,
12041  const std::map<std::string, std::string>& options,
12042  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
12043 {
12044  GetRecordsFromCollectionRequest actualRequest_;
12045  actualRequest_.tableName = tableName;
12046  actualRequest_.offset = offset;
12047  actualRequest_.limit = limit;
12048  actualRequest_.options = options;
12049  RawGetRecordsFromCollectionResponse actualResponse_;
12050  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
12051  response_.tableName = actualResponse_.tableName;
12052  response_.typeNames = actualResponse_.typeNames;
12053  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse());
12054  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12055  response_.recordIds = actualResponse_.recordIds;
12056  return response_;
12057 }
12058 
12059 
12080 template<typename TResponse>
12081 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
12082  const GetRecordsFromCollectionRequest& request_ ) const
12083 {
12084  if (request_.encoding != "binary")
12085  throw GPUdbException( "This function only supports binary encoding" );
12086 
12087  RawGetRecordsFromCollectionResponse actualResponse_;
12088  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
12089  GetRecordsFromCollectionResponse<TResponse> response_;
12090  response_.tableName = actualResponse_.tableName;
12091  response_.typeNames = actualResponse_.typeNames;
12092  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
12093  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12094  response_.recordIds = actualResponse_.recordIds;
12095  return response_;
12096 }
12097 
12098 
12119 template<typename TResponse>
12120 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
12121  const GetRecordsFromCollectionRequest& request_ ) const
12122 {
12123  if (request_.encoding != "binary")
12124  throw GPUdbException( "This function only supports binary encoding" );
12125 
12126  RawGetRecordsFromCollectionResponse actualResponse_;
12127  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
12128  GetRecordsFromCollectionResponse<TResponse> response_;
12129  response_.tableName = actualResponse_.tableName;
12130  response_.typeNames = actualResponse_.typeNames;
12131  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
12132  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12133  response_.recordIds = actualResponse_.recordIds;
12134  return response_;
12135 }
12136 
12137 
12161 template<typename TResponse>
12162 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
12163  const GetRecordsFromCollectionRequest& request_,
12164  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
12165 {
12166  if (request_.encoding != "binary")
12167  throw GPUdbException( "This function only supports binary encoding" );
12168 
12169  RawGetRecordsFromCollectionResponse actualResponse_;
12170  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
12171  response_.tableName = actualResponse_.tableName;
12172  response_.typeNames = actualResponse_.typeNames;
12173  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
12174  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12175  response_.recordIds = actualResponse_.recordIds;
12176  return response_;
12177 }
12178 
12179 
12203 template<typename TResponse>
12204 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
12205  const GetRecordsFromCollectionRequest& request_,
12206  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
12207 {
12208  if (request_.encoding != "binary")
12209  throw GPUdbException( "This function only supports binary encoding" );
12210 
12211  RawGetRecordsFromCollectionResponse actualResponse_;
12212  submitRequest("/get/records/fromcollection", request_, actualResponse_, false);
12213  response_.tableName = actualResponse_.tableName;
12214  response_.typeNames = actualResponse_.typeNames;
12215  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
12216  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12217  response_.recordIds = actualResponse_.recordIds;
12218  return response_;
12219 }
12220 
12221 
12262 template<typename TResponse>
12263 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const ::avro::ValidSchema& schema_,
12264  const std::string& tableName,
12265  const int64_t offset,
12266  const int64_t limit,
12267  const std::map<std::string, std::string>& options ) const
12268 {
12269  GetRecordsFromCollectionRequest actualRequest_;
12270  actualRequest_.tableName = tableName;
12271  actualRequest_.offset = offset;
12272  actualRequest_.limit = limit;
12273  actualRequest_.options = options;
12274  RawGetRecordsFromCollectionResponse actualResponse_;
12275  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
12276  GetRecordsFromCollectionResponse<TResponse> response_;
12277  response_.tableName = actualResponse_.tableName;
12278  response_.typeNames = actualResponse_.typeNames;
12279  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
12280  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12281  response_.recordIds = actualResponse_.recordIds;
12282  return response_;
12283 }
12284 
12285 
12326 template<typename TResponse>
12327 GetRecordsFromCollectionResponse<TResponse> getRecordsFromCollection( const Type& type_,
12328  const std::string& tableName,
12329  const int64_t offset,
12330  const int64_t limit,
12331  const std::map<std::string, std::string>& options ) const
12332 {
12333  GetRecordsFromCollectionRequest actualRequest_;
12334  actualRequest_.tableName = tableName;
12335  actualRequest_.offset = offset;
12336  actualRequest_.limit = limit;
12337  actualRequest_.options = options;
12338  RawGetRecordsFromCollectionResponse actualResponse_;
12339  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
12340  GetRecordsFromCollectionResponse<TResponse> response_;
12341  response_.tableName = actualResponse_.tableName;
12342  response_.typeNames = actualResponse_.typeNames;
12343  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
12344  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12345  response_.recordIds = actualResponse_.recordIds;
12346  return response_;
12347 }
12348 
12349 
12393 template<typename TResponse>
12394 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const ::avro::ValidSchema& schema_,
12395  const std::string& tableName,
12396  const int64_t offset,
12397  const int64_t limit,
12398  const std::map<std::string, std::string>& options,
12399  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
12400 {
12401  GetRecordsFromCollectionRequest actualRequest_;
12402  actualRequest_.tableName = tableName;
12403  actualRequest_.offset = offset;
12404  actualRequest_.limit = limit;
12405  actualRequest_.options = options;
12406  RawGetRecordsFromCollectionResponse actualResponse_;
12407  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
12408  response_.tableName = actualResponse_.tableName;
12409  response_.typeNames = actualResponse_.typeNames;
12410  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(schema_));
12411  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12412  response_.recordIds = actualResponse_.recordIds;
12413  return response_;
12414 }
12415 
12416 
12460 template<typename TResponse>
12461 GetRecordsFromCollectionResponse<TResponse>& getRecordsFromCollection( const Type& type_,
12462  const std::string& tableName,
12463  const int64_t offset,
12464  const int64_t limit,
12465  const std::map<std::string, std::string>& options,
12466  GetRecordsFromCollectionResponse<TResponse>& response_ ) const
12467 {
12468  GetRecordsFromCollectionRequest actualRequest_;
12469  actualRequest_.tableName = tableName;
12470  actualRequest_.offset = offset;
12471  actualRequest_.limit = limit;
12472  actualRequest_.options = options;
12473  RawGetRecordsFromCollectionResponse actualResponse_;
12474  submitRequest("/get/records/fromcollection", actualRequest_, actualResponse_, false);
12475  response_.tableName = actualResponse_.tableName;
12476  response_.typeNames = actualResponse_.typeNames;
12477  response_.data.resize(actualResponse_.recordsBinary.size(), TResponse(type_));
12478  avro::decode(&response_.data[0], &actualResponse_.recordsBinary[0], actualResponse_.recordsBinary.size(), this->m_threadCount, this->m_executor);
12479  response_.recordIds = actualResponse_.recordIds;
12480  return response_;
12481 }
12482 
12483 
12494 GrantPermissionSystemResponse grantPermissionSystem( const GrantPermissionSystemRequest& request_ ) const;
12495 
12509 GrantPermissionSystemResponse& grantPermissionSystem( const GrantPermissionSystemRequest& request_,
12510  GrantPermissionSystemResponse& response_ ) const;
12511 
12532 GrantPermissionSystemResponse grantPermissionSystem( const std::string& name,
12533  const std::string& permission,
12534  const std::map<std::string, std::string>& options ) const;
12535 
12559 GrantPermissionSystemResponse& grantPermissionSystem( const std::string& name,
12560  const std::string& permission,
12561  const std::map<std::string, std::string>& options,
12562  GrantPermissionSystemResponse& response_ ) const;
12563 
12574 GrantPermissionTableResponse grantPermissionTable( const GrantPermissionTableRequest& request_ ) const;
12575 
12589 GrantPermissionTableResponse& grantPermissionTable( const GrantPermissionTableRequest& request_,
12590  GrantPermissionTableResponse& response_ ) const;
12591 
12621 GrantPermissionTableResponse grantPermissionTable( const std::string& name,
12622  const std::string& permission,
12623  const std::string& tableName,
12624  const std::string& filterExpression,
12625  const std::map<std::string, std::string>& options ) const;
12626 
12659 GrantPermissionTableResponse& grantPermissionTable( const std::string& name,
12660  const std::string& permission,
12661  const std::string& tableName,
12662  const std::string& filterExpression,
12663  const std::map<std::string, std::string>& options,
12664  GrantPermissionTableResponse& response_ ) const;
12665 
12676 GrantRoleResponse grantRole( const GrantRoleRequest& request_ ) const;
12677 
12691 GrantRoleResponse& grantRole( const GrantRoleRequest& request_,
12692  GrantRoleResponse& response_ ) const;
12693 
12707 GrantRoleResponse grantRole( const std::string& role,
12708  const std::string& member,
12709  const std::map<std::string, std::string>& options ) const;
12710 
12727 GrantRoleResponse& grantRole( const std::string& role,
12728  const std::string& member,
12729  const std::map<std::string, std::string>& options,
12730  GrantRoleResponse& response_ ) const;
12731 
12742 HasProcResponse hasProc( const HasProcRequest& request_ ) const;
12743 
12757 HasProcResponse& hasProc( const HasProcRequest& request_,
12758  HasProcResponse& response_ ) const;
12759 
12770 HasProcResponse hasProc( const std::string& procName,
12771  const std::map<std::string, std::string>& options ) const;
12772 
12786 HasProcResponse& hasProc( const std::string& procName,
12787  const std::map<std::string, std::string>& options,
12788  HasProcResponse& response_ ) const;
12789 
12800 HasTableResponse hasTable( const HasTableRequest& request_ ) const;
12801 
12815 HasTableResponse& hasTable( const HasTableRequest& request_,
12816  HasTableResponse& response_ ) const;
12817 
12828 HasTableResponse hasTable( const std::string& tableName,
12829  const std::map<std::string, std::string>& options ) const;
12830 
12844 HasTableResponse& hasTable( const std::string& tableName,
12845  const std::map<std::string, std::string>& options,
12846  HasTableResponse& response_ ) const;
12847 
12858 HasTypeResponse hasType( const HasTypeRequest& request_ ) const;
12859 
12873 HasTypeResponse& hasType( const HasTypeRequest& request_,
12874  HasTypeResponse& response_ ) const;
12875 
12886 HasTypeResponse hasType( const std::string& typeId,
12887  const std::map<std::string, std::string>& options ) const;
12888 
12902 HasTypeResponse& hasType( const std::string& typeId,
12903  const std::map<std::string, std::string>& options,
12904  HasTypeResponse& response_ ) const;
12905 
12930 InsertRecordsResponse insertRecordsRaw( const RawInsertRecordsRequest& request_ ) const;
12931 
12959 InsertRecordsResponse& insertRecordsRaw( const RawInsertRecordsRequest& request_,
12960  InsertRecordsResponse& response_ ) const;
12961 
12987 template<typename TRequest>
12988 InsertRecordsResponse insertRecords( const InsertRecordsRequest<TRequest>& request_ ) const
12989 {
12990  RawInsertRecordsRequest actualRequest_;
12991  actualRequest_.tableName = request_.tableName;
12992  avro::encode(actualRequest_.list, request_.data, this->m_threadCount, this->m_executor);
12993  actualRequest_.options = request_.options;
12994  InsertRecordsResponse actualResponse_;
12995  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
12996  return actualResponse_;
12997 }
12998 
12999 
13028 template<typename TRequest>
13029 InsertRecordsResponse& insertRecords( const InsertRecordsRequest<TRequest>& request_,
13030  InsertRecordsResponse& response_ ) const
13031 {
13032  RawInsertRecordsRequest actualRequest_;
13033  actualRequest_.tableName = request_.tableName;
13034  avro::encode(actualRequest_.list, request_.data, this->m_threadCount, this->m_executor);
13035  actualRequest_.options = request_.options;
13036  submitRequest("/insert/records", actualRequest_, response_, true);
13037  return response_;
13038 }
13039 
13040 
13097 template<typename TRequest>
13098 InsertRecordsResponse insertRecords( const std::string& tableName,
13099  const std::vector<TRequest>& data,
13100  const std::map<std::string, std::string>& options ) const
13101 {
13102  RawInsertRecordsRequest actualRequest_;
13103  actualRequest_.tableName = tableName;
13104  avro::encode(actualRequest_.list, data, this->m_threadCount, this->m_executor);
13105  actualRequest_.options = options;
13106  InsertRecordsResponse actualResponse_;
13107  submitRequest("/insert/records", actualRequest_, actualResponse_, true);
13108  return actualResponse_;
13109 }
13110 
13111 
13171 template<typename TRequest>
13172 InsertRecordsResponse& insertRecords( const std::string& tableName,
13173  const std::vector<TRequest>& data,
13174  const std::map<std::string, std::string>& options,
13175  InsertRecordsResponse& response_ ) const
13176 {
13177  RawInsertRecordsRequest actualRequest_;
13178  actualRequest_.tableName = tableName;
13179  avro::encode(actualRequest_.list, data, this->m_threadCount, this->m_executor);
13180  actualRequest_.options = options;
13181  submitRequest("/insert/records", actualRequest_, response_, true);
13182  return response_;
13183 }
13184 
13185 
13204 InsertRecordsRandomResponse insertRecordsRandom( const InsertRecordsRandomRequest& request_ ) const;
13205 
13227 InsertRecordsRandomResponse& insertRecordsRandom( const InsertRecordsRandomRequest& request_,
13228  InsertRecordsRandomResponse& response_ ) const;
13229 
13418 InsertRecordsRandomResponse insertRecordsRandom( const std::string& tableName,
13419  const int64_t count,
13420  const std::map<std::string, std::map<std::string, double> >& options ) const;
13421 
13613 InsertRecordsRandomResponse& insertRecordsRandom( const std::string& tableName,
13614  const int64_t count,
13615  const std::map<std::string, std::map<std::string, double> >& options,
13616  InsertRecordsRandomResponse& response_ ) const;
13617 
13636 InsertSymbolResponse insertSymbol( const InsertSymbolRequest& request_ ) const;
13637 
13659 InsertSymbolResponse& insertSymbol( const InsertSymbolRequest& request_,
13660  InsertSymbolResponse& response_ ) const;
13661 
13701 InsertSymbolResponse insertSymbol( const std::string& symbolId,
13702  const std::string& symbolFormat,
13703  const std::vector<uint8_t>& symbolData,
13704  const std::map<std::string, std::string>& options ) const;
13705 
13748 InsertSymbolResponse& insertSymbol( const std::string& symbolId,
13749  const std::string& symbolFormat,
13750  const std::vector<uint8_t>& symbolData,
13751  const std::map<std::string, std::string>& options,
13752  InsertSymbolResponse& response_ ) const;
13753 
13764 KillProcResponse killProc( const KillProcRequest& request_ ) const;
13765 
13779 KillProcResponse& killProc( const KillProcRequest& request_,
13780  KillProcResponse& response_ ) const;
13781 
13795 KillProcResponse killProc( const std::string& runId,
13796  const std::map<std::string, std::string>& options ) const;
13797 
13814 KillProcResponse& killProc( const std::string& runId,
13815  const std::map<std::string, std::string>& options,
13816  KillProcResponse& response_ ) const;
13817 
13834 LockTableResponse lockTable( const LockTableRequest& request_ ) const;
13835 
13855 LockTableResponse& lockTable( const LockTableRequest& request_,
13856  LockTableResponse& response_ ) const;
13857 
13890 LockTableResponse lockTable( const std::string& tableName,
13891  const std::string& lockType,
13892  const std::map<std::string, std::string>& options ) const;
13893 
13929 LockTableResponse& lockTable( const std::string& tableName,
13930  const std::string& lockType,
13931  const std::map<std::string, std::string>& options,
13932  LockTableResponse& response_ ) const;
13933 
13957 MergeRecordsResponse mergeRecords( const MergeRecordsRequest& request_ ) const;
13958 
13985 MergeRecordsResponse& mergeRecords( const MergeRecordsRequest& request_,
13986  MergeRecordsResponse& response_ ) const;
13987 
14064 MergeRecordsResponse mergeRecords( const std::string& tableName,
14065  const std::vector<std::string>& sourceTableNames,
14066  const std::vector<std::map<std::string, std::string> >& fieldMaps,
14067  const std::map<std::string, std::string>& options ) const;
14068 
14148 MergeRecordsResponse& mergeRecords( const std::string& tableName,
14149  const std::vector<std::string>& sourceTableNames,
14150  const std::vector<std::map<std::string, std::string> >& fieldMaps,
14151  const std::map<std::string, std::string>& options,
14152  MergeRecordsResponse& response_ ) const;
14153 
14164 AdminReplaceTomResponse adminReplaceTom( const AdminReplaceTomRequest& request_ ) const;
14165 
14179 AdminReplaceTomResponse& adminReplaceTom( const AdminReplaceTomRequest& request_,
14180  AdminReplaceTomResponse& response_ ) const;
14181 
14192 AdminReplaceTomResponse adminReplaceTom( const int64_t oldRankTom,
14193  const int64_t newRankTom ) const;
14194 
14208 AdminReplaceTomResponse& adminReplaceTom( const int64_t oldRankTom,
14209  const int64_t newRankTom,
14210  AdminReplaceTomResponse& response_ ) const;
14211 
14222 RevokePermissionSystemResponse revokePermissionSystem( const RevokePermissionSystemRequest& request_ ) const;
14223 
14237 RevokePermissionSystemResponse& revokePermissionSystem( const RevokePermissionSystemRequest& request_,
14238  RevokePermissionSystemResponse& response_ ) const;
14239 
14262 RevokePermissionSystemResponse revokePermissionSystem( const std::string& name,
14263  const std::string& permission,
14264  const std::map<std::string, std::string>& options ) const;
14265 
14291 RevokePermissionSystemResponse& revokePermissionSystem( const std::string& name,
14292  const std::string& permission,
14293  const std::map<std::string, std::string>& options,
14294  RevokePermissionSystemResponse& response_ ) const;
14295 
14306 RevokePermissionTableResponse revokePermissionTable( const RevokePermissionTableRequest& request_ ) const;
14307 
14321 RevokePermissionTableResponse& revokePermissionTable( const RevokePermissionTableRequest& request_,
14322  RevokePermissionTableResponse& response_ ) const;
14323 
14350 RevokePermissionTableResponse revokePermissionTable( const std::string& name,
14351  const std::string& permission,
14352  const std::string& tableName,
14353  const std::map<std::string, std::string>& options ) const;
14354 
14384 RevokePermissionTableResponse& revokePermissionTable( const std::string& name,
14385  const std::string& permission,
14386  const std::string& tableName,
14387  const std::map<std::string, std::string>& options,
14388  RevokePermissionTableResponse& response_ ) const;
14389 
14400 RevokeRoleResponse revokeRole( const RevokeRoleRequest& request_ ) const;
14401 
14415 RevokeRoleResponse& revokeRole( const RevokeRoleRequest& request_,
14416  RevokeRoleResponse& response_ ) const;
14417 
14431 RevokeRoleResponse revokeRole( const std::string& role,
14432  const std::string& member,
14433  const std::map<std::string, std::string>& options ) const;
14434 
14451 RevokeRoleResponse& revokeRole( const std::string& role,
14452  const std::string& member,
14453  const std::map<std::string, std::string>& options,
14454  RevokeRoleResponse& response_ ) const;
14455 
14466 ShowProcResponse showProc( const ShowProcRequest& request_ ) const;
14467 
14481 ShowProcResponse& showProc( const ShowProcRequest& request_,
14482  ShowProcResponse& response_ ) const;
14483 
14506 ShowProcResponse showProc( const std::string& procName,
14507  const std::map<std::string, std::string>& options ) const;
14508 
14534 ShowProcResponse& showProc( const std::string& procName,
14535  const std::map<std::string, std::string>& options,
14536  ShowProcResponse& response_ ) const;
14537 
14552 ShowProcStatusResponse showProcStatus( const ShowProcStatusRequest& request_ ) const;
14553 
14571 ShowProcStatusResponse& showProcStatus( const ShowProcStatusRequest& request_,
14572  ShowProcStatusResponse& response_ ) const;
14573 
14603 ShowProcStatusResponse showProcStatus( const std::string& runId,
14604  const std::map<std::string, std::string>& options ) const;
14605 
14638 ShowProcStatusResponse& showProcStatus( const std::string& runId,
14639  const std::map<std::string, std::string>& options,
14640  ShowProcStatusResponse& response_ ) const;
14641 
14654 ShowSecurityResponse showSecurity( const ShowSecurityRequest& request_ ) const;
14655 
14671 ShowSecurityResponse& showSecurity( const ShowSecurityRequest& request_,
14672  ShowSecurityResponse& response_ ) const;
14673 
14688 ShowSecurityResponse showSecurity( const std::vector<std::string>& names,
14689  const std::map<std::string, std::string>& options ) const;
14690 
14708 ShowSecurityResponse& showSecurity( const std::vector<std::string>& names,
14709  const std::map<std::string, std::string>& options,
14710  ShowSecurityResponse& response_ ) const;
14711 
14723 ShowSystemPropertiesResponse showSystemProperties( const ShowSystemPropertiesRequest& request_ ) const;
14724 
14739 ShowSystemPropertiesResponse& showSystemProperties( const ShowSystemPropertiesRequest& request_,
14740  ShowSystemPropertiesResponse& response_ ) const;
14741 
14757 ShowSystemPropertiesResponse showSystemProperties( const std::map<std::string, std::string>& options ) const;
14758 
14777 ShowSystemPropertiesResponse& showSystemProperties( const std::map<std::string, std::string>& options,
14778  ShowSystemPropertiesResponse& response_ ) const;
14779 
14791 ShowSystemStatusResponse showSystemStatus( const ShowSystemStatusRequest& request_ ) const;
14792 
14807 ShowSystemStatusResponse& showSystemStatus( const ShowSystemStatusRequest& request_,
14808  ShowSystemStatusResponse& response_ ) const;
14809 
14820 ShowSystemStatusResponse showSystemStatus( const std::map<std::string, std::string>& options ) const;
14821 
14835 ShowSystemStatusResponse& showSystemStatus( const std::map<std::string, std::string>& options,
14836  ShowSystemStatusResponse& response_ ) const;
14837 
14850 ShowSystemTimingResponse showSystemTiming( const ShowSystemTimingRequest& request_ ) const;
14851 
14867 ShowSystemTimingResponse& showSystemTiming( const ShowSystemTimingRequest& request_,
14868  ShowSystemTimingResponse& response_ ) const;
14869 
14881 ShowSystemTimingResponse showSystemTiming( const std::map<std::string, std::string>& options ) const;
14882 
14897 ShowSystemTimingResponse& showSystemTiming( const std::map<std::string, std::string>& options,
14898  ShowSystemTimingResponse& response_ ) const;
14899 
14930 ShowTableResponse showTable( const ShowTableRequest& request_ ) const;
14931 
14965 ShowTableResponse& showTable( const ShowTableRequest& request_,
14966  ShowTableResponse& response_ ) const;
14967 
15044 ShowTableResponse showTable( const std::string& tableName,
15045  const std::map<std::string, std::string>& options ) const;
15046 
15126 ShowTableResponse& showTable( const std::string& tableName,
15127  const std::map<std::string, std::string>& options,
15128  ShowTableResponse& response_ ) const;
15129 
15140 ShowTableMetadataResponse showTableMetadata( const ShowTableMetadataRequest& request_ ) const;
15141 
15155 ShowTableMetadataResponse& showTableMetadata( const ShowTableMetadataRequest& request_,
15156  ShowTableMetadataResponse& response_ ) const;
15157 
15169 ShowTableMetadataResponse showTableMetadata( const std::vector<std::string>& tableNames,
15170  const std::map<std::string, std::string>& options ) const;
15171 
15186 ShowTableMetadataResponse& showTableMetadata( const std::vector<std::string>& tableNames,
15187  const std::map<std::string, std::string>& options,
15188  ShowTableMetadataResponse& response_ ) const;
15189 
15204 ShowTablesByTypeResponse showTablesByType( const ShowTablesByTypeRequest& request_ ) const;
15205 
15223 ShowTablesByTypeResponse& showTablesByType( const ShowTablesByTypeRequest& request_,
15224  ShowTablesByTypeResponse& response_ ) const;
15225 
15242 ShowTablesByTypeResponse showTablesByType( const std::string& typeId,
15243  const std::string& label,
15244  const std::map<std::string, std::string>& options ) const;
15245 
15265 ShowTablesByTypeResponse& showTablesByType( const std::string& typeId,
15266  const std::string& label,
15267  const std::map<std::string, std::string>& options,
15268  ShowTablesByTypeResponse& response_ ) const;
15269 
15281 ShowTriggersResponse showTriggers( const ShowTriggersRequest& request_ ) const;
15282 
15297 ShowTriggersResponse& showTriggers( const ShowTriggersRequest& request_,
15298  ShowTriggersResponse& response_ ) const;
15299 
15313 ShowTriggersResponse showTriggers( const std::vector<std::string>& triggerIds,
15314  const std::map<std::string, std::string>& options ) const;
15315 
15332 ShowTriggersResponse& showTriggers( const std::vector<std::string>& triggerIds,
15333  const std::map<std::string, std::string>& options,
15334  ShowTriggersResponse& response_ ) const;
15335 
15348 ShowTypesResponse showTypes( const ShowTypesRequest& request_ ) const;
15349 
15365 ShowTypesResponse& showTypes( const ShowTypesRequest& request_,
15366  ShowTypesResponse& response_ ) const;
15367 
15391 ShowTypesResponse showTypes( const std::string& typeId,
15392  const std::string& label,
15393  const std::map<std::string, std::string>& options ) const;
15394 
15421 ShowTypesResponse& showTypes( const std::string& typeId,
15422  const std::string& label,
15423  const std::map<std::string, std::string>& options,
15424  ShowTypesResponse& response_ ) const;
15425 
15454 UpdateRecordsResponse updateRecordsRaw( const RawUpdateRecordsRequest& request_ ) const;
15455 
15487 UpdateRecordsResponse& updateRecordsRaw( const RawUpdateRecordsRequest& request_,
15488  UpdateRecordsResponse& response_ ) const;
15489 
15519 template<typename TRequest>
15520 UpdateRecordsResponse updateRecords( const UpdateRecordsRequest<TRequest>& request_ ) const
15521 {
15522  RawUpdateRecordsRequest actualRequest_;
15523  actualRequest_.tableName = request_.tableName;
15524  actualRequest_.expressions = request_.expressions;
15525  actualRequest_.newValuesMaps = request_.newValuesMaps;
15526  avro::encode(actualRequest_.recordsToInsert, request_.data, this->m_threadCount, this->m_executor);
15527  actualRequest_.options = request_.options;
15528  UpdateRecordsResponse actualResponse_;
15529  submitRequest("/update/records", actualRequest_, actualResponse_, true);
15530  return actualResponse_;
15531 }
15532 
15533 
15566 template<typename TRequest>
15567 UpdateRecordsResponse& updateRecords( const UpdateRecordsRequest<TRequest>& request_,
15568  UpdateRecordsResponse& response_ ) const
15569 {
15570  RawUpdateRecordsRequest actualRequest_;
15571  actualRequest_.tableName = request_.tableName;
15572  actualRequest_.expressions = request_.expressions;
15573  actualRequest_.newValuesMaps = request_.newValuesMaps;
15574  avro::encode(actualRequest_.recordsToInsert, request_.data, this->m_threadCount, this->m_executor);
15575  actualRequest_.options = request_.options;
15576  submitRequest("/update/records", actualRequest_, response_, true);
15577  return response_;
15578 }
15579 
15580 
15666 template<typename TRequest>
15667 UpdateRecordsResponse updateRecords( const std::string& tableName,
15668  const std::vector<std::string>& expressions,
15669  const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps,
15670  const std::vector<TRequest>& data,
15671  const std::map<std::string, std::string>& options ) const
15672 {
15673  RawUpdateRecordsRequest actualRequest_;
15674  actualRequest_.tableName = tableName;
15675  actualRequest_.expressions = expressions;
15676  actualRequest_.newValuesMaps = newValuesMaps;
15677  avro::encode(actualRequest_.recordsToInsert, data, this->m_threadCount, this->m_executor);
15678  actualRequest_.options = options;
15679  UpdateRecordsResponse actualResponse_;
15680  submitRequest("/update/records", actualRequest_, actualResponse_, true);
15681  return actualResponse_;
15682 }
15683 
15684 
15773 template<typename TRequest>
15774 UpdateRecordsResponse& updateRecords( const std::string& tableName,
15775  const std::vector<std::string>& expressions,
15776  const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps,
15777  const std::vector<TRequest>& data,
15778  const std::map<std::string, std::string>& options,
15779  UpdateRecordsResponse& response_ ) const
15780 {
15781  RawUpdateRecordsRequest actualRequest_;
15782  actualRequest_.tableName = tableName;
15783  actualRequest_.expressions = expressions;
15784  actualRequest_.newValuesMaps = newValuesMaps;
15785  avro::encode(actualRequest_.recordsToInsert, data, this->m_threadCount, this->m_executor);
15786  actualRequest_.options = options;
15787  submitRequest("/update/records", actualRequest_, response_, true);
15788  return response_;
15789 }
15790 
15791 
15804 UpdateRecordsBySeriesResponse updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_ ) const;
15805 
15821 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const UpdateRecordsBySeriesRequest& request_,
15822  UpdateRecordsBySeriesResponse& response_ ) const;
15823 
15842 UpdateRecordsBySeriesResponse updateRecordsBySeries( const std::string& tableName,
15843  const std::string& worldTableName,
15844  const std::string& viewName,
15845  const std::vector<std::string>& reserved,
15846  const std::map<std::string, std::string>& options ) const;
15847 
15869 UpdateRecordsBySeriesResponse& updateRecordsBySeries( const std::string& tableName,
15870  const std::string& worldTableName,
15871  const std::string& viewName,
15872  const std::vector<std::string>& reserved,
15873  const std::map<std::string, std::string>& options,
15874  UpdateRecordsBySeriesResponse& response_ ) const;
15875 
15886 VisualizeImageResponse visualizeImage( const VisualizeImageRequest& request_ ) const;
15887 
15901 VisualizeImageResponse& visualizeImage( const VisualizeImageRequest& request_,
15902  VisualizeImageResponse& response_ ) const;
15903 
16047 VisualizeImageResponse visualizeImage( const std::vector<std::string>& tableNames,
16048  const std::vector<std::string>& worldTableNames,
16049  const std::string& xColumnName,
16050  const std::string& yColumnName,
16051  const std::string& geometryColumnName,
16052  const std::vector<std::vector<std::string> >& trackIds,
16053  const double minX,
16054  const double maxX,
16055  const double minY,
16056  const double maxY,
16057  const int32_t width,
16058  const int32_t height,
16059  const std::string& projection,
16060  const int64_t bgColor,
16061  const std::map<std::string, std::vector<std::string> >& styleOptions,
16062  const std::map<std::string, std::string>& options ) const;
16063 
16210 VisualizeImageResponse& visualizeImage( const std::vector<std::string>& tableNames,
16211  const std::vector<std::string>& worldTableNames,
16212  const std::string& xColumnName,
16213  const std::string& yColumnName,
16214  const std::string& geometryColumnName,
16215  const std::vector<std::vector<std::string> >& trackIds,
16216  const double minX,
16217  const double maxX,
16218  const double minY,
16219  const double maxY,
16220  const int32_t width,
16221  const int32_t height,
16222  const std::string& projection,
16223  const int64_t bgColor,
16224  const std::map<std::string, std::vector<std::string> >& styleOptions,
16225  const std::map<std::string, std::string>& options,
16226  VisualizeImageResponse& response_ ) const;
16227 
16242 VisualizeImageChartResponse visualizeImageChart( const VisualizeImageChartRequest& request_ ) const;
16243 
16261 VisualizeImageChartResponse& visualizeImageChart( const VisualizeImageChartRequest& request_,
16262  VisualizeImageChartResponse& response_ ) const;
16263 
16399 VisualizeImageChartResponse visualizeImageChart( const std::string& tableName,
16400  const std::vector<std::string>& xColumnNames,
16401  const std::vector<std::string>& yColumnNames,
16402  const double minX,
16403  const double maxX,
16404  const double minY,
16405  const double maxY,
16406  const int32_t width,
16407  const int32_t height,
16408  const std::string& bgColor,
16409  const std::map<std::string, std::vector<std::string> >& styleOptions,
16410  const std::map<std::string, std::string>& options ) const;
16411 
16550 VisualizeImageChartResponse& visualizeImageChart( const std::string& tableName,
16551  const std::vector<std::string>& xColumnNames,
16552  const std::vector<std::string>& yColumnNames,
16553  const double minX,
16554  const double maxX,
16555  const double minY,
16556  const double maxY,
16557  const int32_t width,
16558  const int32_t height,
16559  const std::string& bgColor,
16560  const std::map<std::string, std::vector<std::string> >& styleOptions,
16561  const std::map<std::string, std::string>& options,
16562  VisualizeImageChartResponse& response_ ) const;
16563 
16574 VisualizeImageClassbreakResponse visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_ ) const;
16575 
16589 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const VisualizeImageClassbreakRequest& request_,
16590  VisualizeImageClassbreakResponse& response_ ) const;
16591 
16789 VisualizeImageClassbreakResponse visualizeImageClassbreak( const std::vector<std::string>& tableNames,
16790  const std::vector<std::string>& worldTableNames,
16791  const std::string& xColumnName,
16792  const std::string& yColumnName,
16793  const std::string& geometryColumnName,
16794  const std::vector<std::vector<std::string> >& trackIds,
16795  const std::string& cbAttr,
16796  const std::vector<std::string>& cbVals,
16797  const std::string& cbPointcolorAttr,
16798  const std::vector<std::string>& cbPointcolorVals,
16799  const std::string& cbPointsizeAttr,
16800  const std::vector<std::string>& cbPointsizeVals,
16801  const std::string& cbPointshapeAttr,
16802  const std::vector<std::string>& cbPointshapeVals,
16803  const double minX,
16804  const double maxX,
16805  const double minY,
16806  const double maxY,
16807  const int32_t width,
16808  const int32_t height,
16809  const std::string& projection,
16810  const int64_t bgColor,
16811  const std::map<std::string, std::vector<std::string> >& styleOptions,
16812  const std::map<std::string, std::string>& options ) const;
16813 
17014 VisualizeImageClassbreakResponse& visualizeImageClassbreak( const std::vector<std::string>& tableNames,
17015  const std::vector<std::string>& worldTableNames,
17016  const std::string& xColumnName,
17017  const std::string& yColumnName,
17018  const std::string& geometryColumnName,
17019  const std::vector<std::vector<std::string> >& trackIds,
17020  const std::string& cbAttr,
17021  const std::vector<std::string>& cbVals,
17022  const std::string& cbPointcolorAttr,
17023  const std::vector<std::string>& cbPointcolorVals,
17024  const std::string& cbPointsizeAttr,
17025  const std::vector<std::string>& cbPointsizeVals,
17026  const std::string& cbPointshapeAttr,
17027  const std::vector<std::string>& cbPointshapeVals,
17028  const double minX,
17029  const double maxX,
17030  const double minY,
17031  const double maxY,
17032  const int32_t width,
17033  const int32_t height,
17034  const std::string& projection,
17035  const int64_t bgColor,
17036  const std::map<std::string, std::vector<std::string> >& styleOptions,
17037  const std::map<std::string, std::string>& options,
17038  VisualizeImageClassbreakResponse& response_ ) const;
17039 
17050 VisualizeImageContourResponse visualizeImageContour( const VisualizeImageContourRequest& request_ ) const;
17051 
17065 VisualizeImageContourResponse& visualizeImageContour( const VisualizeImageContourRequest& request_,
17066  VisualizeImageContourResponse& response_ ) const;
17067 
17259 VisualizeImageContourResponse visualizeImageContour( const std::vector<std::string>& tableNames,
17260  const std::string& xColumnName,
17261  const std::string& yColumnName,
17262  const std::string& valueColumnName,
17263  const double minX,
17264  const double maxX,
17265  const double minY,
17266  const double maxY,
17267  const int32_t width,
17268  const int32_t height,
17269  const std::string& projection,
17270  const std::map<std::string, std::string>& styleOptions,
17271  const std::map<std::string, std::string>& options ) const;
17272 
17467 VisualizeImageContourResponse& visualizeImageContour( const std::vector<std::string>& tableNames,
17468  const std::string& xColumnName,
17469  const std::string& yColumnName,
17470  const std::string& valueColumnName,
17471  const double minX,
17472  const double maxX,
17473  const double minY,
17474  const double maxY,
17475  const int32_t width,
17476  const int32_t height,
17477  const std::string& projection,
17478  const std::map<std::string, std::string>& styleOptions,
17479  const std::map<std::string, std::string>& options,
17480  VisualizeImageContourResponse& response_ ) const;
17481 
17492 VisualizeImageHeatmapResponse visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_ ) const;
17493 
17507 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const VisualizeImageHeatmapRequest& request_,
17508  VisualizeImageHeatmapResponse& response_ ) const;
17509 
17639 VisualizeImageHeatmapResponse visualizeImageHeatmap( const std::vector<std::string>& tableNames,
17640  const std::string& xColumnName,
17641  const std::string& yColumnName,
17642  const std::string& valueColumnName,
17643  const std::string& geometryColumnName,
17644  const double minX,
17645  const double maxX,
17646  const double minY,
17647  const double maxY,
17648  const int32_t width,
17649  const int32_t height,
17650  const std::string& projection,
17651  const std::map<std::string, std::string>& styleOptions,
17652  const std::map<std::string, std::string>& options ) const;
17653 
17786 VisualizeImageHeatmapResponse& visualizeImageHeatmap( const std::vector<std::string>& tableNames,
17787  const std::string& xColumnName,
17788  const std::string& yColumnName,
17789  const std::string& valueColumnName,
17790  const std::string& geometryColumnName,
17791  const double minX,
17792  const double maxX,
17793  const double minY,
17794  const double maxY,
17795  const int32_t width,
17796  const int32_t height,
17797  const std::string& projection,
17798  const std::map<std::string, std::string>& styleOptions,
17799  const std::map<std::string, std::string>& options,
17800  VisualizeImageHeatmapResponse& response_ ) const;
17801 
17812 VisualizeImageLabelsResponse visualizeImageLabels( const VisualizeImageLabelsRequest& request_ ) const;
17813 
17827 VisualizeImageLabelsResponse& visualizeImageLabels( const VisualizeImageLabelsRequest& request_,
17828  VisualizeImageLabelsResponse& response_ ) const;
17829 
17877 VisualizeImageLabelsResponse visualizeImageLabels( const std::string& tableName,
17878  const std::string& xColumnName,
17879  const std::string& yColumnName,
17880  const std::string& xOffset,
17881  const std::string& yOffset,
17882  const std::string& textString,
17883  const std::string& font,
17884  const std::string& textColor,
17885  const std::string& textAngle,
17886  const std::string& textScale,
17887  const std::string& drawBox,
17888  const std::string& drawLeader,
17889  const std::string& lineWidth,
17890  const std::string& lineColor,
17891  const std::string& fillColor,
17892  const std::string& leaderXColumnName,
17893  const std::string& leaderYColumnName,
17894  const std::string& filter,
17895  const double minX,
17896  const double maxX,
17897  const double minY,
17898  const double maxY,
17899  const int32_t width,
17900  const int32_t height,
17901  const std::string& projection,
17902  const std::map<std::string, std::string>& options ) const;
17903 
17954 VisualizeImageLabelsResponse& visualizeImageLabels( const std::string& tableName,
17955  const std::string& xColumnName,
17956  const std::string& yColumnName,
17957  const std::string& xOffset,
17958  const std::string& yOffset,
17959  const std::string& textString,
17960  const std::string& font,
17961  const std::string& textColor,
17962  const std::string& textAngle,
17963  const std::string& textScale,
17964  const std::string& drawBox,
17965  const std::string& drawLeader,
17966  const std::string& lineWidth,
17967  const std::string& lineColor,
17968  const std::string& fillColor,
17969  const std::string& leaderXColumnName,
17970  const std::string& leaderYColumnName,
17971  const std::string& filter,
17972  const double minX,
17973  const double maxX,
17974  const double minY,
17975  const double maxY,
17976  const int32_t width,
17977  const int32_t height,
17978  const std::string& projection,
17979  const std::map<std::string, std::string>& options,
17980  VisualizeImageLabelsResponse& response_ ) const;
17981 
17992 VisualizeVideoResponse visualizeVideo( const VisualizeVideoRequest& request_ ) const;
17993 
18007 VisualizeVideoResponse& visualizeVideo( const VisualizeVideoRequest& request_,
18008  VisualizeVideoResponse& response_ ) const;
18009 
18126 VisualizeVideoResponse visualizeVideo( const std::vector<std::string>& tableNames,
18127  const std::vector<std::string>& worldTableNames,
18128  const std::vector<std::vector<std::string> >& trackIds,
18129  const std::string& xColumnName,
18130  const std::string& yColumnName,
18131  const std::string& geometryColumnName,
18132  const double minX,
18133  const double maxX,
18134  const double minY,
18135  const double maxY,
18136  const int32_t width,
18137  const int32_t height,
18138  const std::string& projection,
18139  const int64_t bgColor,
18140  const std::vector<std::vector<double> >& timeIntervals,
18141  const std::string& videoStyle,
18142  const std::string& sessionKey,
18143  const std::map<std::string, std::vector<std::string> >& styleOptions,
18144  const std::map<std::string, std::string>& options ) const;
18145 
18265 VisualizeVideoResponse& visualizeVideo( const std::vector<std::string>& tableNames,
18266  const std::vector<std::string>& worldTableNames,
18267  const std::vector<std::vector<std::string> >& trackIds,
18268  const std::string& xColumnName,
18269  const std::string& yColumnName,
18270  const std::string& geometryColumnName,
18271  const double minX,
18272  const double maxX,
18273  const double minY,
18274  const double maxY,
18275  const int32_t width,
18276  const int32_t height,
18277  const std::string& projection,
18278  const int64_t bgColor,
18279  const std::vector<std::vector<double> >& timeIntervals,
18280  const std::string& videoStyle,
18281  const std::string& sessionKey,
18282  const std::map<std::string, std::vector<std::string> >& styleOptions,
18283  const std::map<std::string, std::string>& options,
18284  VisualizeVideoResponse& response_ ) const;
18285 
18296 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_ ) const;
18297 
18311 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const VisualizeVideoHeatmapRequest& request_,
18312  VisualizeVideoHeatmapResponse& response_ ) const;
18313 
18378 VisualizeVideoHeatmapResponse visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
18379  const std::string& xColumnName,
18380  const std::string& yColumnName,
18381  const double minX,
18382  const double maxX,
18383  const double minY,
18384  const double maxY,
18385  const std::vector<std::vector<double> >& timeIntervals,
18386  const int32_t width,
18387  const int32_t height,
18388  const std::string& projection,
18389  const std::string& videoStyle,
18390  const std::string& sessionKey,
18391  const std::map<std::string, std::string>& styleOptions,
18392  const std::map<std::string, std::string>& options ) const;
18393 
18461 VisualizeVideoHeatmapResponse& visualizeVideoHeatmap( const std::vector<std::string>& tableNames,
18462  const std::string& xColumnName,
18463  const std::string& yColumnName,
18464  const double minX,
18465  const double maxX,
18466  const double minY,
18467  const double maxY,
18468  const std::vector<std::vector<double> >& timeIntervals,
18469  const int32_t width,
18470  const int32_t height,
18471  const std::string& projection,
18472  const std::string& videoStyle,
18473  const std::string& sessionKey,
18474  const std::map<std::string, std::string>& styleOptions,
18475  const std::map<std::string, std::string>& options,
18476  VisualizeVideoHeatmapResponse& response_ ) const;
HasProcResponse hasProc(const HasProcRequest &request_) const
Checks the existence of a proc with the given name.
AggregateUnpivotResponse aggregateUnpivot(const AggregateUnpivotRequest &request_) const
Rotate the column values into rows values.
FilterByBoxResponse filterByBox(const FilterByBoxRequest &request_) const
Calculates how many objects within the given table lie in a rectangular box.
FilterByTableResponse filterByTable(const FilterByTableRequest &request_) const
Filters objects in one table based on objects in another table.
FilterByGeometryResponse filterByGeometry(const FilterByGeometryRequest &request_) const
Applies a geometry filter against a geospatial geometry column in a given table, collection or view...
FilterByBoxGeometryResponse filterByBoxGeometry(const FilterByBoxGeometryRequest &request_) const
Calculates which geospatial geometry objects from a table intersect a rectangular box...
AdminShowAlertsResponse adminShowAlerts(const AdminShowAlertsRequest &request_) const
Retrieves a list of the most recent alerts generated.
GrantRoleResponse grantRole(const GrantRoleRequest &request_) const
Grants membership in a role to a user or role.
CreateTableMonitorResponse createTableMonitor(const CreateTableMonitorRequest &request_) const
Creates a monitor that watches for new records inserted into a particular table (identified by tableN...
AggregateHistogramResponse aggregateHistogram(const AggregateHistogramRequest &request_) const
Performs a histogram calculation given a table, a column, and an interval function.
AlterSystemPropertiesResponse alterSystemProperties(const AlterSystemPropertiesRequest &request_) const
The alterSystemProperties(const AlterSystemPropertiesRequest&) const endpoint is primarily used to si...
CreateUnionResponse createUnion(const CreateUnionRequest &request_) const
Merges data from one or more tables with comparable data types into a new table.
FilterByStringResponse filterByString(const FilterByStringRequest &request_) const
Calculates which objects from a table, collection, or view match a string expression for the given st...
FilterByListResponse filterByList(const FilterByListRequest &request_) const
Calculates which records from a table have values in the given list for the corresponding column...
ShowSystemPropertiesResponse showSystemProperties(const ShowSystemPropertiesRequest &request_) const
Returns server configuration and version related information to the caller.
InsertRecordsRandomResponse insertRecordsRandom(const InsertRecordsRandomRequest &request_) const
Generates a specified number of random records and adds them to the given table.
RawGetRecordsBySeriesResponse getRecordsBySeriesRaw(const GetRecordsBySeriesRequest &request_) const
Retrieves the complete series/track records from the given worldTableName based on the partial track ...
FilterByValueResponse filterByValue(const FilterByValueRequest &request_) const
Calculates which objects from a table has a particular value for a particular column.
CreateTypeResponse createType(const CreateTypeRequest &request_) const
Creates a new type describing the layout or schema of a table.
AggregateKMeansResponse aggregateKMeans(const AggregateKMeansRequest &request_) const
This endpoint runs the k-means algorithm - a heuristic algorithm that attempts to do k-means clusteri...
GetRecordsBySeriesResponse< TResponse > getRecordsBySeries(const GetRecordsBySeriesRequest &request_) const
Retrieves the complete series/track records from the given worldTableName based on the partial track ...
GrantPermissionTableResponse grantPermissionTable(const GrantPermissionTableRequest &request_) const
Grants a table-level permission to a user or role.
FilterByRangeResponse filterByRange(const FilterByRangeRequest &request_) const
Calculates which objects from a table have a column that is within the given bounds.
AggregateMinMaxGeometryResponse aggregateMinMaxGeometry(const AggregateMinMaxGeometryRequest &request_) const
Calculates and returns the minimum and maximum x- and y-coordinates of a particular geospatial geomet...
GetRecordsFromCollectionResponse< TResponse > getRecordsFromCollection(const GetRecordsFromCollectionRequest &request_) const
Retrieves records from a collection.
RawAggregateUniqueResponse aggregateUniqueRaw(const AggregateUniqueRequest &request_) const
Returns all the unique values from a particular column (specified by columnName) of a particular tabl...
UpdateRecordsResponse updateRecordsRaw(const RawUpdateRecordsRequest &request_) const
Runs multiple predicate-based updates in a single call.
FilterBySeriesResponse filterBySeries(const FilterBySeriesRequest &request_) const
Filters objects matching all points of the given track (works only on track type data).
CreateTriggerByRangeResponse createTriggerByRange(const CreateTriggerByRangeRequest &request_) const
Sets up a simple range trigger for a column_name for one or more tables.
CreateTableResponse createTable(const CreateTableRequest &request_) const
Creates a new table or collection.
RawGetRecordsResponse getRecordsRaw(const GetRecordsRequest &request_) const
Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column...
KillProcResponse killProc(const KillProcRequest &request_) const
Kills a running proc instance.
InsertRecordsResponse insertRecords(const InsertRecordsRequest< TRequest > &request_) const
Adds multiple records to the specified table.
ShowTriggersResponse showTriggers(const ShowTriggersRequest &request_) const
Retrieves information regarding the specified triggers or all existing triggers currently active...
FilterByRadiusResponse filterByRadius(const FilterByRadiusRequest &request_) const
Calculates which objects from a table lie within a circle with the given radius and center point (i...
CreateJoinTableResponse createJoinTable(const CreateJoinTableRequest &request_) const
Creates a table that is the result of a SQL JOIN.
RevokeRoleResponse revokeRole(const RevokeRoleRequest &request_) const
Revokes membership in a role from a user or role.
AggregateStatisticsResponse aggregateStatistics(const AggregateStatisticsRequest &request_) const
Calculates the requested statistics of the given column(s) in a given table.
AdminAlterJobsResponse adminAlterJobs(const AdminAlterJobsRequest &request_) const
Perform the requested action on a list of one or more job(s).
InsertRecordsResponse insertRecordsRaw(const RawInsertRecordsRequest &request_) const
Adds multiple records to the specified table.
AdminShutdownResponse adminShutdown(const AdminShutdownRequest &request_) const
Exits the database server application.
UpdateRecordsResponse updateRecords(const UpdateRecordsRequest< TRequest > &request_) const
Runs multiple predicate-based updates in a single call.
AggregateGroupByResponse aggregateGroupBy(const AggregateGroupByRequest &request_) const
Calculates unique combinations (groups) of values for the given columns in a given table/view/collect...
GetRecordsByColumnResponse getRecordsByColumn(const GetRecordsByColumnRequest &request_) const
For a given table, retrieves the values from the requested column(s).
RawGetRecordsByColumnResponse getRecordsByColumnRaw(const GetRecordsByColumnRequest &request_) const
For a given table, retrieves the values from the requested column(s).
CreateJobResponse createJob(const CreateJobRequest &request_) const
Create a job which will run asynchronously.
DeleteUserResponse deleteUser(const DeleteUserRequest &request_) const
Deletes an existing user.
RawAggregateUnpivotResponse aggregateUnpivotRaw(const AggregateUnpivotRequest &request_) const
Rotate the column values into rows values.
AggregateMinMaxResponse aggregateMinMax(const AggregateMinMaxRequest &request_) const
Calculates and returns the minimum and maximum values of a particular column in a table...
FilterByRadiusGeometryResponse filterByRadiusGeometry(const FilterByRadiusGeometryRequest &request_) const
Calculates which geospatial geometry objects from a table intersect a circle with the given radius an...
RevokePermissionTableResponse revokePermissionTable(const RevokePermissionTableRequest &request_) const
Revokes a table-level permission from a user or role.
ShowSystemTimingResponse showSystemTiming(const ShowSystemTimingRequest &request_) const
Returns the last 100 database requests along with the request timing and internal job id...
VisualizeImageChartResponse visualizeImageChart(const VisualizeImageChartRequest &request_) const
Scatter plot is the only plot type currently supported.
CreateTriggerByAreaResponse createTriggerByArea(const CreateTriggerByAreaRequest &request_) const
Sets up an area trigger mechanism for two column_names for one or more tables.
AppendRecordsResponse appendRecords(const AppendRecordsRequest &request_) const
Append (or insert) all records from a source table (specified by sourceTableName) to a particular tar...
CreateProjectionResponse createProjection(const CreateProjectionRequest &request_) const
Creates a new projection of an existing table.
GetRecordsResponse< TResponse > getRecords(const GetRecordsRequest &request_) const
Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column...
RevokePermissionSystemResponse revokePermissionSystem(const RevokePermissionSystemRequest &request_) const
Revokes a system-level permission from a user or role.
RawAggregateGroupByResponse aggregateGroupByRaw(const AggregateGroupByRequest &request_) const
Calculates unique combinations (groups) of values for the given columns in a given table/view/collect...
ShowProcStatusResponse showProcStatus(const ShowProcStatusRequest &request_) const
Shows the statuses of running or completed proc instances.
FilterByAreaResponse filterByArea(const FilterByAreaRequest &request_) const
Calculates which objects from a table are within a named area of interest (NAI/polygon).
ExecuteProcResponse executeProc(const ExecuteProcRequest &request_) const
Executes a proc.
CreateUserInternalResponse createUserInternal(const CreateUserInternalRequest &request_) const
Creates a new internal user (a user whose credentials are managed by the database system)...
AdminShowShardsResponse adminShowShards(const AdminShowShardsRequest &request_) const
Show the mapping of shards to the corresponding rank and tom.
DeleteRecordsResponse deleteRecords(const DeleteRecordsRequest &request_) const
Deletes record(s) matching the provided criteria from the given table.
FilterResponse filter(const FilterRequest &request_) const
Filters data based on the specified expression.
ShowTableMetadataResponse showTableMetadata(const ShowTableMetadataRequest &request_) const
Retrieves the user provided metadata for the specified tables.
AlterUserResponse alterUser(const AlterUserRequest &request_) const
Alters a user.
CreateRoleResponse createRole(const CreateRoleRequest &request_) const
Creates a new role.
AdminShowJobsResponse adminShowJobs(const AdminShowJobsRequest &request_) const
Get a list of the current jobs in GPUdb.
CreateMaterializedViewResponse createMaterializedView(const CreateMaterializedViewRequest &request_) const
Initiates the process of creating a materialized view, reserving the view&#39;s name to prevent other vie...
AdminOfflineResponse adminOffline(const AdminOfflineRequest &request_) const
Take the system offline.
HasTypeResponse hasType(const HasTypeRequest &request_) const
Check for the existence of a type.
CreateUserExternalResponse createUserExternal(const CreateUserExternalRequest &request_) const
Creates a new external user (a user whose credentials are managed by an external LDAP).
ClearTableMonitorResponse clearTableMonitor(const ClearTableMonitorRequest &request_) const
Deactivates a table monitor previously created with createTableMonitor(const CreateTableMonitorReques...
GrantPermissionSystemResponse grantPermissionSystem(const GrantPermissionSystemRequest &request_) const
Grants a system-level permission to a user or role.
AdminVerifyDbResponse adminVerifyDb(const AdminVerifyDbRequest &request_) const
Verify database is in a consistent state.
GetJobResponse getJob(const GetJobRequest &request_) const
HasTableResponse hasTable(const HasTableRequest &request_) const
Checks for the existence of a table with the given name.
AggregateStatisticsByRangeResponse aggregateStatisticsByRange(const AggregateStatisticsByRangeRequest &request_) const
Divides the given set into bins and calculates statistics of the values of a value-column in each bin...
DeleteRoleResponse deleteRole(const DeleteRoleRequest &request_) const
Deletes an existing role.
ClearTriggerResponse clearTrigger(const ClearTriggerRequest &request_) const
Clears or cancels the trigger identified by the specified handle.
ShowTablesByTypeResponse showTablesByType(const ShowTablesByTypeRequest &request_) const
Gets names of the tables whose type matches the given criteria.
ShowTypesResponse showTypes(const ShowTypesRequest &request_) const
Retrieves information for the specified data type ID or type label.
DeleteProcResponse deleteProc(const DeleteProcRequest &request_) const
Deletes a proc.
ShowProcResponse showProc(const ShowProcRequest &request_) const
Shows information about a proc.
ShowSystemStatusResponse showSystemStatus(const ShowSystemStatusRequest &request_) const
Provides server configuration and health related status to the caller.
AlterTableResponse alterTable(const AlterTableRequest &request_) const
Apply various modifications to a table, view, or collection.
MergeRecordsResponse mergeRecords(const MergeRecordsRequest &request_) const
Create a new empty result table (specified by tableName), and insert all records from source tables (...
LockTableResponse lockTable(const LockTableRequest &request_) const
Manages global access to a table&#39;s data.
ShowTableResponse showTable(const ShowTableRequest &request_) const
Retrieves detailed information about tables, views, and collections.
ShowSecurityResponse showSecurity(const ShowSecurityRequest &request_) const
Shows security information relating to users and/or roles.
AggregateConvexHullResponse aggregateConvexHull(const AggregateConvexHullRequest &request_) const
Calculates and returns the convex hull for the values in a table specified by tableName.
UpdateRecordsBySeriesResponse updateRecordsBySeries(const UpdateRecordsBySeriesRequest &request_) const
Updates the view specified by tableName to include full series (track) information from the worldTabl...
FilterByAreaGeometryResponse filterByAreaGeometry(const FilterByAreaGeometryRequest &request_) const
Calculates which geospatial geometry objects from a table intersect a named area of interest (NAI/pol...
RawGetRecordsFromCollectionResponse getRecordsFromCollectionRaw(const GetRecordsFromCollectionRequest &request_) const
Retrieves records from a collection.
InsertSymbolResponse insertSymbol(const InsertSymbolRequest &request_) const
Adds a symbol or icon (i.e.
AlterTableMetadataResponse alterTableMetadata(const AlterTableMetadataRequest &request_) const
Updates (adds or changes) metadata for tables.
CreateProcResponse createProc(const CreateProcRequest &request_) const
Creates an instance (proc) of the user-defined function (UDF) specified by the given command...
ClearTableResponse clearTable(const ClearTableRequest &request_) const
Clears (drops) one or all tables in the database cluster.
AggregateUniqueResponse aggregateUnique(const AggregateUniqueRequest &request_) const
Returns all the unique values from a particular column (specified by columnName) of a particular tabl...