GPUdb C++ API  Version 7.2.2.4
gpudb::ExecuteSqlResponse Struct Reference

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. More...
 

Public Attributes

int64_t countAffected
 The number of objects/records affected. More...
 
std::string responseSchemaStr
 Avro schema of data or jsonEncodedResponse. More...
 
std::vector< gpudb::GenericRecorddata
 Avro binary encoded response. More...
 
int64_t totalNumberOfRecords
 Total/Filtered number of records. More...
 
bool hasMoreRecords
 Too many records. More...
 
std::string pagingTable
 Name of the table that has the result records of the query. More...
 
std::map< std::string, std::string > info
 Additional information. More...
 
gpudb_type_ptr_t dataTypePtr
 

Detailed Description

A set of results returned by GPUdb::executeSql.

Definition at line 1327 of file execute_sql.h.

Constructor & Destructor Documentation

◆ ExecuteSqlResponse()

gpudb::ExecuteSqlResponse::ExecuteSqlResponse ( )
inline

Constructs an ExecuteSqlResponse object with default parameters.

Definition at line 1332 of file execute_sql.h.

Member Data Documentation

◆ countAffected

int64_t gpudb::ExecuteSqlResponse::countAffected

The number of objects/records affected.

Definition at line 1347 of file execute_sql.h.

◆ data

std::vector<gpudb::GenericRecord> gpudb::ExecuteSqlResponse::data

Avro binary encoded response.

Definition at line 1357 of file execute_sql.h.

◆ dataTypePtr

gpudb_type_ptr_t gpudb::ExecuteSqlResponse::dataTypePtr

Definition at line 1390 of file execute_sql.h.

◆ hasMoreRecords

bool gpudb::ExecuteSqlResponse::hasMoreRecords

Too many records.

Returned a partial set. Supported values:

  • true
  • false

Definition at line 1372 of file execute_sql.h.

◆ info

std::map<std::string, std::string> gpudb::ExecuteSqlResponse::info

Additional information.

The default value is an empty map.

Definition at line 1388 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

Definition at line 1378 of file execute_sql.h.

◆ responseSchemaStr

std::string gpudb::ExecuteSqlResponse::responseSchemaStr

Avro schema of data or jsonEncodedResponse.

Definition at line 1352 of file execute_sql.h.

◆ totalNumberOfRecords

int64_t gpudb::ExecuteSqlResponse::totalNumberOfRecords

Total/Filtered number of records.

Definition at line 1362 of file execute_sql.h.


The documentation for this struct was generated from the following file: