Skip to main content

A set of results returned by GPUdb::getRecordsRaw. More…

#include <gpudb/protocol/get_records.h>

Public Member Functions

 RawGetRecordsResponse ()
 Constructs a RawGetRecordsResponse object with default parameters.
 

Public Attributes

std::string tableName
 Value of tableName.
 
std::string typeName
 The name of the type of the returned records.
 
std::string typeSchema
 Avro schema of recordsBinary or recordsJson.
 
std::vector< std::vector< uint8_t > > recordsBinary
 If the encoding was ‘binary’, then this list contains the binary encoded records retrieved from the table, otherwise not populated.
 
std::vector< std::string > recordsJson
 If the encoding was ‘json’, then this list contains the JSON encoded records retrieved from the table.
 
int64_t totalNumberOfRecords
 Total/Filtered number of records.
 
bool hasMoreRecords
 Too many records.
 
std::map< std::string, std::string > info
 Additional information.
 

Detailed Description

A set of results returned by GPUdb::getRecordsRaw.

Definition at line 386 of file get_records.h.

Constructor & Destructor Documentation

◆ RawGetRecordsResponse()

gpudb::RawGetRecordsResponse::RawGetRecordsResponse ()
inline

Constructs a RawGetRecordsResponse object with default parameters.

Definition at line 391 of file get_records.h.

Member Data Documentation

◆ hasMoreRecords

bool gpudb::RawGetRecordsResponse::hasMoreRecords

Too many records.

Returned a partial set.

Definition at line 443 of file get_records.h.

◆ info

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

Additional information.

Definition at line 448 of file get_records.h.

◆ recordsBinary

std::vector<std::vector<uint8_t> > gpudb::RawGetRecordsResponse::recordsBinary

If the encoding was ‘binary’, then this list contains the binary encoded records retrieved from the table, otherwise not populated.

Definition at line 423 of file get_records.h.

◆ recordsJson

std::vector<std::string> gpudb::RawGetRecordsResponse::recordsJson

If the encoding was ‘json’, then this list contains the JSON encoded records retrieved from the table.

If the encoding was ‘geojson’ this list contains a single entry consisting of a GeoJSON FeatureCollection containing a feature per record. Otherwise not populated.

Definition at line 433 of file get_records.h.

◆ tableName

std::string gpudb::RawGetRecordsResponse::tableName

Value of tableName.

Definition at line 406 of file get_records.h.

◆ totalNumberOfRecords

int64_t gpudb::RawGetRecordsResponse::totalNumberOfRecords

Total/Filtered number of records.

Definition at line 438 of file get_records.h.

◆ typeName

std::string gpudb::RawGetRecordsResponse::typeName

The name of the type of the returned records.

Definition at line 411 of file get_records.h.

◆ typeSchema

std::string gpudb::RawGetRecordsResponse::typeSchema

Avro schema of recordsBinary or recordsJson.

Definition at line 416 of file get_records.h.


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