Skip to main content

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

#include <gpudb/protocol/get_records.h>

Public Member Functions

 GetRecordsResponse ()
 Constructs a GetRecordsResponse 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 data or recordsJson.
 
std::vector< T > data
 If the encoding was ‘binary’, then this list contains the binary encoded records retrieved from the table, otherwise not populated.
 
int64_t totalNumberOfRecords
 Total/Filtered number of records.
 
bool hasMoreRecords
 Too many records.
 
std::map< std::string, std::string > info
 Additional information.
 

Detailed Description

template<typename T>
struct gpudb::GetRecordsResponse< T >

A set of results returned by GPUdb::getRecords.

Template Parameters
TThe type of object being processed.

Definition at line 539 of file get_records.h.

Constructor & Destructor Documentation

◆ GetRecordsResponse()

template<typename T>
gpudb::GetRecordsResponse< T >::GetRecordsResponse ()
inline

Constructs a GetRecordsResponse object with default parameters.

Definition at line 544 of file get_records.h.

Member Data Documentation

◆ data

template<typename T>
std::vector<T> gpudb::GetRecordsResponse< T >::data

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

Definition at line 575 of file get_records.h.

◆ hasMoreRecords

template<typename T>
bool gpudb::GetRecordsResponse< T >::hasMoreRecords

Too many records.

Returned a partial set.

Definition at line 585 of file get_records.h.

◆ info

template<typename T>
std::map<std::string, std::string> gpudb::GetRecordsResponse< T >::info

Additional information.

Definition at line 590 of file get_records.h.

◆ tableName

template<typename T>
std::string gpudb::GetRecordsResponse< T >::tableName

Value of tableName.

Definition at line 558 of file get_records.h.

◆ totalNumberOfRecords

template<typename T>
int64_t gpudb::GetRecordsResponse< T >::totalNumberOfRecords

Total/Filtered number of records.

Definition at line 580 of file get_records.h.

◆ typeName

template<typename T>
std::string gpudb::GetRecordsResponse< T >::typeName

The name of the type of the returned records.

Definition at line 563 of file get_records.h.

◆ typeSchema

template<typename T>
std::string gpudb::GetRecordsResponse< T >::typeSchema

Avro schema of data or recordsJson.

Definition at line 568 of file get_records.h.


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