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

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

Public Attributes

std::string tableName
 Value of tableName. More...
 
std::string typeName
 
std::string typeSchema
 Avro schema of recordsBinary or recordsJson. More...
 
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. More...
 
std::vector< std::string > recordsJson
 If the encoding was 'json', then this list contains the JSON encoded records retrieved from the table. More...
 
int64_t totalNumberOfRecords
 Total/Filtered number of records. More...
 
bool hasMoreRecords
 Too many records. More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::getRecordsRaw.

Definition at line 387 of file get_records.h.

Constructor & Destructor Documentation

◆ RawGetRecordsResponse()

gpudb::RawGetRecordsResponse::RawGetRecordsResponse ( )
inline

Constructs a RawGetRecordsResponse object with default parameters.

Definition at line 392 of file get_records.h.

Member Data Documentation

◆ hasMoreRecords

bool gpudb::RawGetRecordsResponse::hasMoreRecords

Too many records.

Returned a partial set.

Definition at line 441 of file get_records.h.

◆ info

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

Additional information.

Definition at line 446 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 421 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 431 of file get_records.h.

◆ tableName

std::string gpudb::RawGetRecordsResponse::tableName

Value of tableName.

Definition at line 407 of file get_records.h.

◆ totalNumberOfRecords

int64_t gpudb::RawGetRecordsResponse::totalNumberOfRecords

Total/Filtered number of records.

Definition at line 436 of file get_records.h.

◆ typeName

std::string gpudb::RawGetRecordsResponse::typeName

Definition at line 409 of file get_records.h.

◆ typeSchema

std::string gpudb::RawGetRecordsResponse::typeSchema

Avro schema of recordsBinary or recordsJson.

Definition at line 414 of file get_records.h.


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