Skip to main content

#include <gpudb/GenericRecord.hpp>

Public Member Functions

 GenericRecord (const Type &type)
 Create a blank GenericRecord object from a given type.
 
const TypegetType () const
 
const ::avro::ValidSchema & getSchema () const
 
template<typename T>
T & value (const size_t index)
 
template<typename T>
const T & value (const size_t index) const
 
template<typename T>
T & value (const std::string &name)
 
template<typename T>
const T & value (const std::string &name) const
 
std::vector< uint8_t > & bytesValue (const size_t index)
 
const std::vector< uint8_t > & bytesValue (const size_t index) const
 
std::vector< uint8_t > & bytesValue (const std::string &name)
 
const std::vector< uint8_t > & bytesValue (const std::string &name) const
 
double & doubleValue (const size_t index)
 
const double & doubleValue (const size_t index) const
 
double & doubleValue (const std::string &name)
 
const double & doubleValue (const std::string &name) const
 
float & floatValue (const size_t index)
 
const float & floatValue (const size_t index) const
 
float & floatValue (const std::string &name)
 
const float & floatValue (const std::string &name) const
 
int32_t & intValue (const size_t index)
 
const int32_t & intValue (const size_t index) const
 
int32_t & intValue (const std::string &name)
 
const int32_t & intValue (const std::string &name) const
 
int64_t & longValue (const size_t index)
 
const int64_t & longValue (const size_t index) const
 
int64_t & longValue (const std::string &name)
 
const int64_t & longValue (const std::string &name) const
 
std::string & stringValue (const size_t index)
 
const std::string & stringValue (const size_t index) const
 
std::string & stringValue (const std::string &name)
 
const std::string & stringValue (const std::string &name) const
 
boost::optional< std::vector< uint8_t > > & nullableBytesValue (const size_t index)
 
const boost::optional< std::vector< uint8_t > > & nullableBytesValue (const size_t index) const
 
boost::optional< std::vector< uint8_t > > & nullableBytesValue (const std::string &name)
 
const boost::optional< std::vector< uint8_t > > & nullableBytesValue (const std::string &name) const
 
boost::optional< double > & nullableDoubleValue (const size_t index)
 
const boost::optional< double > & nullableDoubleValue (const size_t index) const
 
boost::optional< double > & nullableDoubleValue (const std::string &name)
 
const boost::optional< double > & nullableDoubleValue (const std::string &name) const
 
boost::optional< float > & nullableFloatValue (const size_t index)
 
const boost::optional< float > & nullableFloatValue (const size_t index) const
 
boost::optional< float > & nullableFloatValue (const std::string &name)
 
const boost::optional< float > & nullableFloatValue (const std::string &name) const
 
boost::optional< int32_t > & nullableIntValue (const size_t index)
 
const boost::optional< int32_t > & nullableIntValue (const size_t index) const
 
boost::optional< int32_t > & nullableIntValue (const std::string &name)
 
const boost::optional< int32_t > & nullableIntValue (const std::string &name) const
 
boost::optional< int64_t > & nullableLongValue (const size_t index)
 
const boost::optional< int64_t > & nullableLongValue (const size_t index) const
 
boost::optional< int64_t > & nullableLongValue (const std::string &name)
 
const boost::optional< int64_t > & nullableLongValue (const std::string &name) const
 
boost::optional< std::string > & nullableStringValue (const size_t index)
 
const boost::optional< std::string > & nullableStringValue (const size_t index) const
 
boost::optional< std::string > & nullableStringValue (const std::string &name)
 
const boost::optional< std::string > & nullableStringValue (const std::string &name) const
 
bool isNull (const size_t index) const
 
bool isNull (const std::string &name) const
 
template<typename T>
void getAsArray (const size_t index, std::vector< T > &result) const
 
template<typename T>
void getAsArray (const std::string &name, std::vector< T > &result) const
 
template<typename T>
std::vector< T > getAsArray (const size_t index) const
 
template<typename T>
std::vector< T > getAsArray (const std::string &name) const
 
void getAsBytes (const size_t index, std::vector< uint8_t > &result) const
 
void getAsBytes (const std::string &name, std::vector< uint8_t > &result) const
 
std::vector< uint8_t > getAsBytes (const size_t index) const
 
std::vector< uint8_t > getAsBytes (const std::string &name) const
 
void getAsDouble (const size_t index, double &result) const
 
void getAsDouble (const std::string &name, double &result) const
 
double getAsDouble (const size_t index) const
 
double getAsDouble (const std::string &name) const
 
void getAsFloat (const size_t index, float &result) const
 
void getAsFloat (const std::string &name, float &result) const
 
float getAsFloat (const size_t index) const
 
float getAsFloat (const std::string &name) const
 
void getAsInt (const size_t index, int32_t &result) const
 
void getAsInt (const std::string &name, int32_t &result) const
 
int32_t getAsInt (const size_t index) const
 
int32_t getAsInt (const std::string &name) const
 
void getAsLong (const size_t index, int64_t &result) const
 
void getAsLong (const std::string &name, int64_t &result) const
 
int64_t getAsLong (const size_t index) const
 
int64_t getAsLong (const std::string &name) const
 
void getAsString (const size_t index, std::string &result) const
 
void getAsString (const std::string &name, std::string &result) const
 
std::string getAsString (const size_t index) const
 
std::string getAsString (const std::string &name) const
 
void getAsVector (const size_t index, std::vector< float > &result) const
 
void getAsVector (const std::string &name, std::vector< float > &result) const
 
std::vector< float > getAsVector (const size_t index) const
 
std::vector< float > getAsVector (const std::string &name) const
 
void getAsNullableBytes (const size_t index, boost::optional< std::vector< uint8_t > > &result) const
 
void getAsNullableBytes (const std::string &name, boost::optional< std::vector< uint8_t > > &result) const
 
boost::optional< std::vector< uint8_t > > getAsNullableBytes (const size_t index) const
 
boost::optional< std::vector< uint8_t > > getAsNullableBytes (const std::string &name) const
 
void getAsNullableDouble (const size_t index, boost::optional< double > &result) const
 
void getAsNullableDouble (const std::string &name, boost::optional< double > &result) const
 
boost::optional< double > getAsNullableDouble (const size_t index) const
 
boost::optional< double > getAsNullableDouble (const std::string &name) const
 
void getAsNullableFloat (const size_t index, boost::optional< float > &result) const
 
void getAsNullableFloat (const std::string &name, boost::optional< float > &result) const
 
boost::optional< float > getAsNullableFloat (const size_t index) const
 
boost::optional< float > getAsNullableFloat (const std::string &name) const
 
void getAsNullableInt (const size_t index, boost::optional< int32_t > &result) const
 
void getAsNullableInt (const std::string &name, boost::optional< int32_t > &result) const
 
boost::optional< int32_t > getAsNullableInt (const size_t index) const
 
boost::optional< int32_t > getAsNullableInt (const std::string &name) const
 
void getAsNullableLong (const size_t index, boost::optional< int64_t > &result) const
 
void getAsNullableLong (const std::string &name, boost::optional< int64_t > &result) const
 
boost::optional< int64_t > getAsNullableLong (const size_t index) const
 
boost::optional< int64_t > getAsNullableLong (const std::string &name) const
 
void getAsNullableString (const size_t index, boost::optional< std::string > &result) const
 
void getAsNullableString (const std::string &name, boost::optional< std::string > &result) const
 
boost::optional< std::string > getAsNullableString (const size_t index) const
 
boost::optional< std::string > getAsNullableString (const std::string &name) const
 
void setNull (const size_t index)
 
void setNull (const std::string &name)
 
template<typename T>
void setAsArray (const size_t index, const std::vector< T > &newValue)
 
template<typename T>
void setAsArray (const std::string &name, const std::vector< T > &newValue)
 
void setAsBytes (const size_t index, const std::vector< uint8_t > &newValue)
 
void setAsBytes (const std::string &name, const std::vector< uint8_t > &newValue)
 
void setAsDouble (const size_t index, const double &newValue)
 
void setAsDouble (const std::string &name, const double &newValue)
 
void setAsFloat (const size_t index, const float &newValue)
 
void setAsFloat (const std::string &name, const float &newValue)
 
void setAsInt (const size_t index, const int32_t &newValue)
 
void setAsInt (const std::string &name, const int32_t &newValue)
 
void setAsLong (const size_t index, const int64_t &newValue)
 
void setAsLong (const std::string &name, const int64_t &newValue)
 
void setAsString (const size_t index, const std::string &newValue)
 
void setAsString (const std::string &name, const std::string &newValue)
 
void setAsVector (const size_t index, const std::vector< float > &newValue)
 
void setAsVector (const std::string &name, const std::vector< float > &newValue)
 
void setAsNullableBytes (const size_t index, const boost::optional< std::vector< uint8_t > > &newValue)
 
void setAsNullableBytes (const std::string &name, const boost::optional< std::vector< uint8_t > > &newValue)
 
void setAsNullableDouble (const size_t index, const boost::optional< double > &newValue)
 
void setAsNullableDouble (const std::string &name, const boost::optional< double > &newValue)
 
void setAsNullableFloat (const size_t index, const boost::optional< float > &newValue)
 
void setAsNullableFloat (const std::string &name, const boost::optional< float > &newValue)
 
void setAsNullableInt (const size_t index, const boost::optional< int32_t > &newValue)
 
void setAsNullableInt (const std::string &name, const boost::optional< int32_t > &newValue)
 
void setAsNullableLong (const size_t index, const boost::optional< int64_t > &newValue)
 
void setAsNullableLong (const std::string &name, const boost::optional< int64_t > &newValue)
 
void setAsNullableString (const size_t index, const boost::optional< std::string > &newValue)
 
void setAsNullableString (const std::string &name, const boost::optional< std::string > &newValue)
 
void toString (const size_t index, std::string &result) const
 
void toString (const std::string &name, std::string &result) const
 
std::string toString (const size_t index) const
 
std::string toString (const std::string &name) const
 

Static Public Member Functions

static void decode (const std::string &schemaString, const std::vector< std::vector< uint8_t > > &encodedData, std::vector< GenericRecord > &data)
 Decodes avro encoded data (given the schema string) into GenericRecord objects.
 
static void decode (const std::string &schemaString, const std::vector< uint8_t > &encodedData, GenericRecord &data)
 Decodes avro encoded data (given the schema string) into GenericRecord objects.
 

Friends

class GPUdb
 
std::ostream & operator<< (std::ostream &os, GenericRecord &gr)
 
std::ostream & operator<< (std::ostream &os, const GenericRecord &gr)
 

Detailed Description

Definition at line 23 of file GenericRecord.hpp.

Constructor & Destructor Documentation

◆ GenericRecord()

gpudb::GenericRecord::GenericRecord (const Type &type)

Create a blank GenericRecord object from a given type.

Member Function Documentation

◆ bytesValue() [1/4]

std::vector< uint8_t > & gpudb::GenericRecord::bytesValue (const size_tindex)

◆ bytesValue() [2/4]

const std::vector< uint8_t > & gpudb::GenericRecord::bytesValue (const size_tindex) const

◆ bytesValue() [3/4]

std::vector< uint8_t > & gpudb::GenericRecord::bytesValue (const std::string &name)

◆ bytesValue() [4/4]

const std::vector< uint8_t > & gpudb::GenericRecord::bytesValue (const std::string &name) const

◆ decode() [1/2]

static void gpudb::GenericRecord::decode (const std::string &schemaString,
const std::vector< std::vector< uint8_t > > &encodedData,
std::vector< GenericRecord > &data )
static

Decodes avro encoded data (given the schema string) into GenericRecord objects.

Parameters
[in]schemaStringAvro schema string used for decoding the data
[in]encodedDataAvro encoded binary data containing multiple records.
[out]dataVector of decoded GenericRecord objects. The vector is cleared before operation begins.

◆ decode() [2/2]

static void gpudb::GenericRecord::decode (const std::string &schemaString,
const std::vector< uint8_t > &encodedData,
GenericRecord &data )
static

Decodes avro encoded data (given the schema string) into GenericRecord objects.

Parameters
[in]schemaStringAvro schema string used for decoding the data
[in]encodedDataAvro encoded binary data containing a single record.
[out]dataA decoded GenericRecord object

◆ doubleValue() [1/4]

double & gpudb::GenericRecord::doubleValue (const size_tindex)

◆ doubleValue() [2/4]

const double & gpudb::GenericRecord::doubleValue (const size_tindex) const

◆ doubleValue() [3/4]

double & gpudb::GenericRecord::doubleValue (const std::string &name)

◆ doubleValue() [4/4]

const double & gpudb::GenericRecord::doubleValue (const std::string &name) const

◆ floatValue() [1/4]

float & gpudb::GenericRecord::floatValue (const size_tindex)

◆ floatValue() [2/4]

const float & gpudb::GenericRecord::floatValue (const size_tindex) const

◆ floatValue() [3/4]

float & gpudb::GenericRecord::floatValue (const std::string &name)

◆ floatValue() [4/4]

const float & gpudb::GenericRecord::floatValue (const std::string &name) const

◆ getAsArray() [1/4]

template<typename T>
std::vector< T > gpudb::GenericRecord::getAsArray (const size_tindex) const

◆ getAsArray() [2/4]

template<typename T>
void gpudb::GenericRecord::getAsArray (const size_tindex,
std::vector< T > &result ) const

◆ getAsArray() [3/4]

template<typename T>
std::vector< T > gpudb::GenericRecord::getAsArray (const std::string &name) const

◆ getAsArray() [4/4]

template<typename T>
void gpudb::GenericRecord::getAsArray (const std::string &name,
std::vector< T > &result ) const

◆ getAsBytes() [1/4]

std::vector< uint8_t > gpudb::GenericRecord::getAsBytes (const size_tindex) const

◆ getAsBytes() [2/4]

void gpudb::GenericRecord::getAsBytes (const size_tindex,
std::vector< uint8_t > &result ) const

◆ getAsBytes() [3/4]

std::vector< uint8_t > gpudb::GenericRecord::getAsBytes (const std::string &name) const

◆ getAsBytes() [4/4]

void gpudb::GenericRecord::getAsBytes (const std::string &name,
std::vector< uint8_t > &result ) const

◆ getAsDouble() [1/4]

double gpudb::GenericRecord::getAsDouble (const size_tindex) const

◆ getAsDouble() [2/4]

void gpudb::GenericRecord::getAsDouble (const size_tindex,
double &result ) const

◆ getAsDouble() [3/4]

double gpudb::GenericRecord::getAsDouble (const std::string &name) const

◆ getAsDouble() [4/4]

void gpudb::GenericRecord::getAsDouble (const std::string &name,
double &result ) const

◆ getAsFloat() [1/4]

float gpudb::GenericRecord::getAsFloat (const size_tindex) const

◆ getAsFloat() [2/4]

void gpudb::GenericRecord::getAsFloat (const size_tindex,
float &result ) const

◆ getAsFloat() [3/4]

float gpudb::GenericRecord::getAsFloat (const std::string &name) const

◆ getAsFloat() [4/4]

void gpudb::GenericRecord::getAsFloat (const std::string &name,
float &result ) const

◆ getAsInt() [1/4]

int32_t gpudb::GenericRecord::getAsInt (const size_tindex) const

◆ getAsInt() [2/4]

void gpudb::GenericRecord::getAsInt (const size_tindex,
int32_t &result ) const

◆ getAsInt() [3/4]

int32_t gpudb::GenericRecord::getAsInt (const std::string &name) const

◆ getAsInt() [4/4]

void gpudb::GenericRecord::getAsInt (const std::string &name,
int32_t &result ) const

◆ getAsLong() [1/4]

int64_t gpudb::GenericRecord::getAsLong (const size_tindex) const

◆ getAsLong() [2/4]

void gpudb::GenericRecord::getAsLong (const size_tindex,
int64_t &result ) const

◆ getAsLong() [3/4]

int64_t gpudb::GenericRecord::getAsLong (const std::string &name) const

◆ getAsLong() [4/4]

void gpudb::GenericRecord::getAsLong (const std::string &name,
int64_t &result ) const

◆ getAsNullableBytes() [1/4]

boost::optional< std::vector< uint8_t > > gpudb::GenericRecord::getAsNullableBytes (const size_tindex) const

◆ getAsNullableBytes() [2/4]

void gpudb::GenericRecord::getAsNullableBytes (const size_tindex,
boost::optional< std::vector< uint8_t > > &result ) const

◆ getAsNullableBytes() [3/4]

boost::optional< std::vector< uint8_t > > gpudb::GenericRecord::getAsNullableBytes (const std::string &name) const

◆ getAsNullableBytes() [4/4]

void gpudb::GenericRecord::getAsNullableBytes (const std::string &name,
boost::optional< std::vector< uint8_t > > &result ) const

◆ getAsNullableDouble() [1/4]

boost::optional< double > gpudb::GenericRecord::getAsNullableDouble (const size_tindex) const

◆ getAsNullableDouble() [2/4]

void gpudb::GenericRecord::getAsNullableDouble (const size_tindex,
boost::optional< double > &result ) const

◆ getAsNullableDouble() [3/4]

boost::optional< double > gpudb::GenericRecord::getAsNullableDouble (const std::string &name) const

◆ getAsNullableDouble() [4/4]

void gpudb::GenericRecord::getAsNullableDouble (const std::string &name,
boost::optional< double > &result ) const

◆ getAsNullableFloat() [1/4]

boost::optional< float > gpudb::GenericRecord::getAsNullableFloat (const size_tindex) const

◆ getAsNullableFloat() [2/4]

void gpudb::GenericRecord::getAsNullableFloat (const size_tindex,
boost::optional< float > &result ) const

◆ getAsNullableFloat() [3/4]

boost::optional< float > gpudb::GenericRecord::getAsNullableFloat (const std::string &name) const

◆ getAsNullableFloat() [4/4]

void gpudb::GenericRecord::getAsNullableFloat (const std::string &name,
boost::optional< float > &result ) const

◆ getAsNullableInt() [1/4]

boost::optional< int32_t > gpudb::GenericRecord::getAsNullableInt (const size_tindex) const

◆ getAsNullableInt() [2/4]

void gpudb::GenericRecord::getAsNullableInt (const size_tindex,
boost::optional< int32_t > &result ) const

◆ getAsNullableInt() [3/4]

boost::optional< int32_t > gpudb::GenericRecord::getAsNullableInt (const std::string &name) const

◆ getAsNullableInt() [4/4]

void gpudb::GenericRecord::getAsNullableInt (const std::string &name,
boost::optional< int32_t > &result ) const

◆ getAsNullableLong() [1/4]

boost::optional< int64_t > gpudb::GenericRecord::getAsNullableLong (const size_tindex) const

◆ getAsNullableLong() [2/4]

void gpudb::GenericRecord::getAsNullableLong (const size_tindex,
boost::optional< int64_t > &result ) const

◆ getAsNullableLong() [3/4]

boost::optional< int64_t > gpudb::GenericRecord::getAsNullableLong (const std::string &name) const

◆ getAsNullableLong() [4/4]

void gpudb::GenericRecord::getAsNullableLong (const std::string &name,
boost::optional< int64_t > &result ) const

◆ getAsNullableString() [1/4]

boost::optional< std::string > gpudb::GenericRecord::getAsNullableString (const size_tindex) const

◆ getAsNullableString() [2/4]

void gpudb::GenericRecord::getAsNullableString (const size_tindex,
boost::optional< std::string > &result ) const

◆ getAsNullableString() [3/4]

boost::optional< std::string > gpudb::GenericRecord::getAsNullableString (const std::string &name) const

◆ getAsNullableString() [4/4]

void gpudb::GenericRecord::getAsNullableString (const std::string &name,
boost::optional< std::string > &result ) const

◆ getAsString() [1/4]

std::string gpudb::GenericRecord::getAsString (const size_tindex) const

◆ getAsString() [2/4]

void gpudb::GenericRecord::getAsString (const size_tindex,
std::string &result ) const

◆ getAsString() [3/4]

std::string gpudb::GenericRecord::getAsString (const std::string &name) const

◆ getAsString() [4/4]

void gpudb::GenericRecord::getAsString (const std::string &name,
std::string &result ) const

◆ getAsVector() [1/4]

std::vector< float > gpudb::GenericRecord::getAsVector (const size_tindex) const

◆ getAsVector() [2/4]

void gpudb::GenericRecord::getAsVector (const size_tindex,
std::vector< float > &result ) const

◆ getAsVector() [3/4]

std::vector< float > gpudb::GenericRecord::getAsVector (const std::string &name) const

◆ getAsVector() [4/4]

void gpudb::GenericRecord::getAsVector (const std::string &name,
std::vector< float > &result ) const

◆ getSchema()

const ::avro::ValidSchema & gpudb::GenericRecord::getSchema () const

◆ getType()

const Type & gpudb::GenericRecord::getType () const

◆ intValue() [1/4]

int32_t & gpudb::GenericRecord::intValue (const size_tindex)

◆ intValue() [2/4]

const int32_t & gpudb::GenericRecord::intValue (const size_tindex) const

◆ intValue() [3/4]

int32_t & gpudb::GenericRecord::intValue (const std::string &name)

◆ intValue() [4/4]

const int32_t & gpudb::GenericRecord::intValue (const std::string &name) const

◆ isNull() [1/2]

bool gpudb::GenericRecord::isNull (const size_tindex) const

◆ isNull() [2/2]

bool gpudb::GenericRecord::isNull (const std::string &name) const

◆ longValue() [1/4]

int64_t & gpudb::GenericRecord::longValue (const size_tindex)

◆ longValue() [2/4]

const int64_t & gpudb::GenericRecord::longValue (const size_tindex) const

◆ longValue() [3/4]

int64_t & gpudb::GenericRecord::longValue (const std::string &name)

◆ longValue() [4/4]

const int64_t & gpudb::GenericRecord::longValue (const std::string &name) const

◆ nullableBytesValue() [1/4]

boost::optional< std::vector< uint8_t > > & gpudb::GenericRecord::nullableBytesValue (const size_tindex)

◆ nullableBytesValue() [2/4]

const boost::optional< std::vector< uint8_t > > & gpudb::GenericRecord::nullableBytesValue (const size_tindex) const

◆ nullableBytesValue() [3/4]

boost::optional< std::vector< uint8_t > > & gpudb::GenericRecord::nullableBytesValue (const std::string &name)

◆ nullableBytesValue() [4/4]

const boost::optional< std::vector< uint8_t > > & gpudb::GenericRecord::nullableBytesValue (const std::string &name) const

◆ nullableDoubleValue() [1/4]

boost::optional< double > & gpudb::GenericRecord::nullableDoubleValue (const size_tindex)

◆ nullableDoubleValue() [2/4]

const boost::optional< double > & gpudb::GenericRecord::nullableDoubleValue (const size_tindex) const

◆ nullableDoubleValue() [3/4]

boost::optional< double > & gpudb::GenericRecord::nullableDoubleValue (const std::string &name)

◆ nullableDoubleValue() [4/4]

const boost::optional< double > & gpudb::GenericRecord::nullableDoubleValue (const std::string &name) const

◆ nullableFloatValue() [1/4]

boost::optional< float > & gpudb::GenericRecord::nullableFloatValue (const size_tindex)

◆ nullableFloatValue() [2/4]

const boost::optional< float > & gpudb::GenericRecord::nullableFloatValue (const size_tindex) const

◆ nullableFloatValue() [3/4]

boost::optional< float > & gpudb::GenericRecord::nullableFloatValue (const std::string &name)

◆ nullableFloatValue() [4/4]

const boost::optional< float > & gpudb::GenericRecord::nullableFloatValue (const std::string &name) const

◆ nullableIntValue() [1/4]

boost::optional< int32_t > & gpudb::GenericRecord::nullableIntValue (const size_tindex)

◆ nullableIntValue() [2/4]

const boost::optional< int32_t > & gpudb::GenericRecord::nullableIntValue (const size_tindex) const

◆ nullableIntValue() [3/4]

boost::optional< int32_t > & gpudb::GenericRecord::nullableIntValue (const std::string &name)

◆ nullableIntValue() [4/4]

const boost::optional< int32_t > & gpudb::GenericRecord::nullableIntValue (const std::string &name) const

◆ nullableLongValue() [1/4]

boost::optional< int64_t > & gpudb::GenericRecord::nullableLongValue (const size_tindex)

◆ nullableLongValue() [2/4]

const boost::optional< int64_t > & gpudb::GenericRecord::nullableLongValue (const size_tindex) const

◆ nullableLongValue() [3/4]

boost::optional< int64_t > & gpudb::GenericRecord::nullableLongValue (const std::string &name)

◆ nullableLongValue() [4/4]

const boost::optional< int64_t > & gpudb::GenericRecord::nullableLongValue (const std::string &name) const

◆ nullableStringValue() [1/4]

boost::optional< std::string > & gpudb::GenericRecord::nullableStringValue (const size_tindex)

◆ nullableStringValue() [2/4]

const boost::optional< std::string > & gpudb::GenericRecord::nullableStringValue (const size_tindex) const

◆ nullableStringValue() [3/4]

boost::optional< std::string > & gpudb::GenericRecord::nullableStringValue (const std::string &name)

◆ nullableStringValue() [4/4]

const boost::optional< std::string > & gpudb::GenericRecord::nullableStringValue (const std::string &name) const

◆ setAsArray() [1/2]

template<typename T>
void gpudb::GenericRecord::setAsArray (const size_tindex,
const std::vector< T > &newValue )

◆ setAsArray() [2/2]

template<typename T>
void gpudb::GenericRecord::setAsArray (const std::string &name,
const std::vector< T > &newValue )

◆ setAsBytes() [1/2]

void gpudb::GenericRecord::setAsBytes (const size_tindex,
const std::vector< uint8_t > &newValue )

◆ setAsBytes() [2/2]

void gpudb::GenericRecord::setAsBytes (const std::string &name,
const std::vector< uint8_t > &newValue )

◆ setAsDouble() [1/2]

void gpudb::GenericRecord::setAsDouble (const size_tindex,
const double &newValue )

◆ setAsDouble() [2/2]

void gpudb::GenericRecord::setAsDouble (const std::string &name,
const double &newValue )

◆ setAsFloat() [1/2]

void gpudb::GenericRecord::setAsFloat (const size_tindex,
const float &newValue )

◆ setAsFloat() [2/2]

void gpudb::GenericRecord::setAsFloat (const std::string &name,
const float &newValue )

◆ setAsInt() [1/2]

void gpudb::GenericRecord::setAsInt (const size_tindex,
const int32_t &newValue )

◆ setAsInt() [2/2]

void gpudb::GenericRecord::setAsInt (const std::string &name,
const int32_t &newValue )

◆ setAsLong() [1/2]

void gpudb::GenericRecord::setAsLong (const size_tindex,
const int64_t &newValue )

◆ setAsLong() [2/2]

void gpudb::GenericRecord::setAsLong (const std::string &name,
const int64_t &newValue )

◆ setAsNullableBytes() [1/2]

void gpudb::GenericRecord::setAsNullableBytes (const size_tindex,
const boost::optional< std::vector< uint8_t > > &newValue )

◆ setAsNullableBytes() [2/2]

void gpudb::GenericRecord::setAsNullableBytes (const std::string &name,
const boost::optional< std::vector< uint8_t > > &newValue )

◆ setAsNullableDouble() [1/2]

void gpudb::GenericRecord::setAsNullableDouble (const size_tindex,
const boost::optional< double > &newValue )

◆ setAsNullableDouble() [2/2]

void gpudb::GenericRecord::setAsNullableDouble (const std::string &name,
const boost::optional< double > &newValue )

◆ setAsNullableFloat() [1/2]

void gpudb::GenericRecord::setAsNullableFloat (const size_tindex,
const boost::optional< float > &newValue )

◆ setAsNullableFloat() [2/2]

void gpudb::GenericRecord::setAsNullableFloat (const std::string &name,
const boost::optional< float > &newValue )

◆ setAsNullableInt() [1/2]

void gpudb::GenericRecord::setAsNullableInt (const size_tindex,
const boost::optional< int32_t > &newValue )

◆ setAsNullableInt() [2/2]

void gpudb::GenericRecord::setAsNullableInt (const std::string &name,
const boost::optional< int32_t > &newValue )

◆ setAsNullableLong() [1/2]

void gpudb::GenericRecord::setAsNullableLong (const size_tindex,
const boost::optional< int64_t > &newValue )

◆ setAsNullableLong() [2/2]

void gpudb::GenericRecord::setAsNullableLong (const std::string &name,
const boost::optional< int64_t > &newValue )

◆ setAsNullableString() [1/2]

void gpudb::GenericRecord::setAsNullableString (const size_tindex,
const boost::optional< std::string > &newValue )

◆ setAsNullableString() [2/2]

void gpudb::GenericRecord::setAsNullableString (const std::string &name,
const boost::optional< std::string > &newValue )

◆ setAsString() [1/2]

void gpudb::GenericRecord::setAsString (const size_tindex,
const std::string &newValue )

◆ setAsString() [2/2]

void gpudb::GenericRecord::setAsString (const std::string &name,
const std::string &newValue )

◆ setAsVector() [1/2]

void gpudb::GenericRecord::setAsVector (const size_tindex,
const std::vector< float > &newValue )

◆ setAsVector() [2/2]

void gpudb::GenericRecord::setAsVector (const std::string &name,
const std::vector< float > &newValue )

◆ setNull() [1/2]

void gpudb::GenericRecord::setNull (const size_tindex)

◆ setNull() [2/2]

void gpudb::GenericRecord::setNull (const std::string &name)

◆ stringValue() [1/4]

std::string & gpudb::GenericRecord::stringValue (const size_tindex)

◆ stringValue() [2/4]

const std::string & gpudb::GenericRecord::stringValue (const size_tindex) const

◆ stringValue() [3/4]

std::string & gpudb::GenericRecord::stringValue (const std::string &name)

◆ stringValue() [4/4]

const std::string & gpudb::GenericRecord::stringValue (const std::string &name) const

◆ toString() [1/4]

std::string gpudb::GenericRecord::toString (const size_tindex) const

◆ toString() [2/4]

void gpudb::GenericRecord::toString (const size_tindex,
std::string &result ) const

◆ toString() [3/4]

std::string gpudb::GenericRecord::toString (const std::string &name) const

◆ toString() [4/4]

void gpudb::GenericRecord::toString (const std::string &name,
std::string &result ) const

◆ value() [1/4]

template<typename T>
T & gpudb::GenericRecord::value (const size_tindex)
inline

Definition at line 36 of file GenericRecord.hpp.

◆ value() [2/4]

template<typename T>
const T & gpudb::GenericRecord::value (const size_tindex) const
inline

Definition at line 43 of file GenericRecord.hpp.

◆ value() [3/4]

template<typename T>
T & gpudb::GenericRecord::value (const std::string &name)
inline

Definition at line 50 of file GenericRecord.hpp.

◆ value() [4/4]

template<typename T>
const T & gpudb::GenericRecord::value (const std::string &name) const
inline

Definition at line 57 of file GenericRecord.hpp.

◆ GPUdb

friend class GPUdb
friend

Definition at line 25 of file GenericRecord.hpp.

◆ operator<< [1/2]

std::ostream & operator<< (std::ostream &os,
const GenericRecord &gr )
friend

◆ operator<< [2/2]

std::ostream & operator<< (std::ostream &os,
GenericRecord &gr )
friend

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