GPUdb C++ API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
gpudb::GetRecordsByColumnResponse Struct Reference

A set of output parameters for const. More...

#include <gpudb/protocol/get_records_by_column.h>

Public Member Functions

 GetRecordsByColumnResponse ()
 Constructs a GetRecordsByColumnResponse object with default parameter values. More...
 

Public Attributes

std::string tableName
 
std::string responseSchemaStr
 
std::vector< gpudb::GenericRecorddata
 
int64_t totalNumberOfRecords
 
bool hasMoreRecords
 

Detailed Description

A set of output parameters for const.

For a given table, retrieves the values of the given columns within a given range. It returns maps of column name to the vector of values for each supported data type (double, float, long, int and string). This operation supports pagination feature, i.e. values that are retrieved are those associated with the indices between the start (offset) and end value (offset + limit) parameters (inclusive). If there are num_points values in the table then each of the indices between 0 and num_points-1 retrieves a unique value.

Note that when using the pagination feature, if the table (or the underlying table in case of a view) is updated (records are inserted, deleted or modified) the records or values retrieved may differ between calls (discontiguous or overlap) based on the type of the update.

The response is returned as a dynamic schema. For details see: dynamic schemas documentation.

Definition at line 399 of file get_records_by_column.h.

Constructor & Destructor Documentation

gpudb::GetRecordsByColumnResponse::GetRecordsByColumnResponse ( )
inline

Constructs a GetRecordsByColumnResponse object with default parameter values.

Definition at line 406 of file get_records_by_column.h.

Member Data Documentation

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

Definition at line 417 of file get_records_by_column.h.

bool gpudb::GetRecordsByColumnResponse::hasMoreRecords

Definition at line 419 of file get_records_by_column.h.

std::string gpudb::GetRecordsByColumnResponse::responseSchemaStr

Definition at line 416 of file get_records_by_column.h.

std::string gpudb::GetRecordsByColumnResponse::tableName

Definition at line 415 of file get_records_by_column.h.

int64_t gpudb::GetRecordsByColumnResponse::totalNumberOfRecords

Definition at line 418 of file get_records_by_column.h.


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