A set of results returned by GPUdb::executeSqlRaw. More…
#include <gpudb/protocol/execute_sql.h>
Public Member Functions | |
| RawExecuteSqlResponse () | |
| Constructs a RawExecuteSqlResponse object with default parameters. | |
Public Attributes | |
| int64_t | countAffected |
| The number of objects/records affected. | |
| std::string | responseSchemaStr |
| Avro schema of binaryEncodedResponse or jsonEncodedResponse. | |
| std::vector< uint8_t > | binaryEncodedResponse |
| Avro binary encoded response. | |
| std::string | jsonEncodedResponse |
| Avro JSON 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. | |
Detailed Description
A set of results returned by GPUdb::executeSqlRaw.
Definition at line 1266 of file execute_sql.h.
Constructor & Destructor Documentation
◆ RawExecuteSqlResponse()
| inline |
Constructs a RawExecuteSqlResponse object with default parameters.
Definition at line 1271 of file execute_sql.h.
Member Data Documentation
◆ binaryEncodedResponse
| std::vector<uint8_t> gpudb::RawExecuteSqlResponse::binaryEncodedResponse |
Avro binary encoded response.
Definition at line 1297 of file execute_sql.h.
◆ countAffected
| int64_t gpudb::RawExecuteSqlResponse::countAffected |
The number of objects/records affected.
Definition at line 1286 of file execute_sql.h.
◆ hasMoreRecords
| bool gpudb::RawExecuteSqlResponse::hasMoreRecords |
Too many records.
Returned a partial set. Supported values:
- true
- false
Definition at line 1317 of file execute_sql.h.
◆ info
| std::map<std::string, std::string> gpudb::RawExecuteSqlResponse::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 1341 of file execute_sql.h.
◆ jsonEncodedResponse
| std::string gpudb::RawExecuteSqlResponse::jsonEncodedResponse |
Avro JSON encoded response.
Definition at line 1302 of file execute_sql.h.
◆ pagingTable
| std::string gpudb::RawExecuteSqlResponse::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 1326 of file execute_sql.h.
◆ responseSchemaStr
| std::string gpudb::RawExecuteSqlResponse::responseSchemaStr |
Avro schema of binaryEncodedResponse or jsonEncodedResponse.
Definition at line 1292 of file execute_sql.h.
◆ totalNumberOfRecords
| int64_t gpudb::RawExecuteSqlResponse::totalNumberOfRecords |
Total/Filtered number of records.
Definition at line 1307 of file execute_sql.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/execute_sql.h