A set of results returned by GPUdb::executeSql. More…
#include <gpudb/protocol/execute_sql.h>
Public Member Functions | |
| ExecuteSqlResponse () | |
| Constructs an ExecuteSqlResponse object with default parameters. | |
Public Attributes | |
| int64_t | countAffected |
| The number of objects/records affected. | |
| std::string | responseSchemaStr |
| Avro schema of data or jsonEncodedResponse. | |
| std::vector< gpudb::GenericRecord > | data |
| Avro binary encoded response. | |
| int64_t | totalNumberOfRecords |
| Total/Filtered number of records. | |
| bool | hasMoreRecords |
| Too many records. | |
| std::string | pagingTable |
| Name of the table that has the result records of the query. | |
| std::map< std::string, std::string > | info |
| Additional information. | |
| gpudb_type_ptr_t | dataTypePtr |
Detailed Description
A set of results returned by GPUdb::executeSql.
Definition at line 1441 of file execute_sql.h.
Constructor & Destructor Documentation
◆ ExecuteSqlResponse()
| inline |
Constructs an ExecuteSqlResponse object with default parameters.
Definition at line 1446 of file execute_sql.h.
Member Data Documentation
◆ countAffected
| int64_t gpudb::ExecuteSqlResponse::countAffected |
The number of objects/records affected.
Definition at line 1461 of file execute_sql.h.
◆ data
| std::vector<gpudb::GenericRecord> gpudb::ExecuteSqlResponse::data |
Avro binary encoded response.
Definition at line 1471 of file execute_sql.h.
◆ dataTypePtr
| gpudb_type_ptr_t gpudb::ExecuteSqlResponse::dataTypePtr |
Definition at line 1512 of file execute_sql.h.
◆ hasMoreRecords
| bool gpudb::ExecuteSqlResponse::hasMoreRecords |
Too many records.
Returned a partial set. Supported values:
- true
- false
Definition at line 1486 of file execute_sql.h.
◆ info
| std::map<std::string, std::string> gpudb::ExecuteSqlResponse::info |
Additional information.
- execute_sql_count: Number of records without final limits applied.
- execute_sql_result_table_list: List of tables, comma-separated, in addition to the pagingTable, created as result of the query. These should be cleared by the caller when they are done querying.
The default value is an empty map.
Definition at line 1510 of file execute_sql.h.
◆ pagingTable
| std::string gpudb::ExecuteSqlResponse::pagingTable |
Name of the table that has the result records of the query.
Valid, when hasMoreRecords is true. The caller should clear this and all tables in result_table_list when they are done querying.
Definition at line 1495 of file execute_sql.h.
◆ responseSchemaStr
| std::string gpudb::ExecuteSqlResponse::responseSchemaStr |
Avro schema of data or jsonEncodedResponse.
Definition at line 1466 of file execute_sql.h.
◆ totalNumberOfRecords
| int64_t gpudb::ExecuteSqlResponse::totalNumberOfRecords |
Total/Filtered number of records.
Definition at line 1476 of file execute_sql.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/execute_sql.h