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

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

Public Attributes

int64_t countAffected
 The number of objects/records affected. More...
 
std::string responseSchemaStr
 Avro schema of binaryEncodedResponse or jsonEncodedResponse. More...
 
std::vector< uint8_t > binaryEncodedResponse
 Avro binary encoded response. More...
 
std::string jsonEncodedResponse
 Avro JSON 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...
 

Detailed Description

A set of results returned by GPUdb::executeSqlRaw.

Definition at line 1172 of file execute_sql.h.

Constructor & Destructor Documentation

◆ RawExecuteSqlResponse()

gpudb::RawExecuteSqlResponse::RawExecuteSqlResponse ( )
inline

Constructs a RawExecuteSqlResponse object with default parameters.

Definition at line 1177 of file execute_sql.h.

Member Data Documentation

◆ binaryEncodedResponse

std::vector<uint8_t> gpudb::RawExecuteSqlResponse::binaryEncodedResponse

Avro binary encoded response.

Definition at line 1203 of file execute_sql.h.

◆ countAffected

int64_t gpudb::RawExecuteSqlResponse::countAffected

The number of objects/records affected.

Definition at line 1192 of file execute_sql.h.

◆ hasMoreRecords

bool gpudb::RawExecuteSqlResponse::hasMoreRecords

Too many records.

Returned a partial set. Supported values:

  • true
  • false

Definition at line 1223 of file execute_sql.h.

◆ info

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

Additional information.

The default value is an empty map.

Definition at line 1239 of file execute_sql.h.

◆ jsonEncodedResponse

std::string gpudb::RawExecuteSqlResponse::jsonEncodedResponse

Avro JSON encoded response.

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

Definition at line 1229 of file execute_sql.h.

◆ responseSchemaStr

std::string gpudb::RawExecuteSqlResponse::responseSchemaStr

Avro schema of binaryEncodedResponse or jsonEncodedResponse.

Definition at line 1198 of file execute_sql.h.

◆ totalNumberOfRecords

int64_t gpudb::RawExecuteSqlResponse::totalNumberOfRecords

Total/Filtered number of records.

Definition at line 1213 of file execute_sql.h.


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