GPUdb C++ API  Version 6.2.0.3
gpudb::GenericRecord Class Reference

#include <gpudb/GenericRecord.hpp>

Public Member Functions

 GenericRecord (const Type &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
 
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 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)
 
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 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
 

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 14 of file GenericRecord.hpp.

Constructor & Destructor Documentation

◆ GenericRecord()

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

Member Function Documentation

◆ bytesValue() [1/4]

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

◆ bytesValue() [2/4]

const std::vector<uint8_t>& gpudb::GenericRecord::bytesValue ( const size_t  index) 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

◆ doubleValue() [1/4]

double& gpudb::GenericRecord::doubleValue ( const size_t  index)

◆ doubleValue() [2/4]

const double& gpudb::GenericRecord::doubleValue ( const size_t  index) 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_t  index)

◆ floatValue() [2/4]

const float& gpudb::GenericRecord::floatValue ( const size_t  index) 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

◆ getAsBytes() [1/4]

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

◆ getAsBytes() [2/4]

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

◆ getAsBytes() [3/4]

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

◆ getAsBytes() [4/4]

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

◆ getAsDouble() [1/4]

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

◆ getAsDouble() [2/4]

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

◆ getAsDouble() [3/4]

double gpudb::GenericRecord::getAsDouble ( const size_t  index) const

◆ getAsDouble() [4/4]

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

◆ getAsFloat() [1/4]

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

◆ getAsFloat() [2/4]

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

◆ getAsFloat() [3/4]

float gpudb::GenericRecord::getAsFloat ( const size_t  index) const

◆ getAsFloat() [4/4]

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

◆ getAsInt() [1/4]

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

◆ getAsInt() [2/4]

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

◆ getAsInt() [3/4]

int32_t gpudb::GenericRecord::getAsInt ( const size_t  index) const

◆ getAsInt() [4/4]

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

◆ getAsLong() [1/4]

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

◆ getAsLong() [2/4]

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

◆ getAsLong() [3/4]

int64_t gpudb::GenericRecord::getAsLong ( const size_t  index) const

◆ getAsLong() [4/4]

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

◆ getAsNullableBytes() [1/4]

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

◆ getAsNullableBytes() [2/4]

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

◆ getAsNullableBytes() [3/4]

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

◆ getAsNullableBytes() [4/4]

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

◆ getAsNullableDouble() [1/4]

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

◆ getAsNullableDouble() [2/4]

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

◆ getAsNullableDouble() [3/4]

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

◆ getAsNullableDouble() [4/4]

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

◆ getAsNullableFloat() [1/4]

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

◆ getAsNullableFloat() [2/4]

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

◆ getAsNullableFloat() [3/4]

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

◆ getAsNullableFloat() [4/4]

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

◆ getAsNullableInt() [1/4]

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

◆ getAsNullableInt() [2/4]

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

◆ getAsNullableInt() [3/4]

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

◆ getAsNullableInt() [4/4]

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

◆ getAsNullableLong() [1/4]

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

◆ getAsNullableLong() [2/4]

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

◆ getAsNullableLong() [3/4]

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

◆ getAsNullableLong() [4/4]

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

◆ getAsNullableString() [1/4]

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

◆ getAsNullableString() [2/4]

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

◆ getAsNullableString() [3/4]

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

◆ getAsNullableString() [4/4]

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

◆ getAsString() [1/4]

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

◆ getAsString() [2/4]

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

◆ getAsString() [3/4]

std::string gpudb::GenericRecord::getAsString ( const size_t  index) const

◆ getAsString() [4/4]

std::string gpudb::GenericRecord::getAsString ( const std::string &  name) 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_t  index)

◆ intValue() [2/4]

const int32_t& gpudb::GenericRecord::intValue ( const size_t  index) 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_t  index) const

◆ isNull() [2/2]

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

◆ longValue() [1/4]

int64_t& gpudb::GenericRecord::longValue ( const size_t  index)

◆ longValue() [2/4]

const int64_t& gpudb::GenericRecord::longValue ( const size_t  index) 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_t  index)

◆ nullableBytesValue() [2/4]

const boost::optional<std::vector<uint8_t> >& gpudb::GenericRecord::nullableBytesValue ( const size_t  index) 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_t  index)

◆ nullableDoubleValue() [2/4]

const boost::optional<double>& gpudb::GenericRecord::nullableDoubleValue ( const size_t  index) 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_t  index)

◆ nullableFloatValue() [2/4]

const boost::optional<float>& gpudb::GenericRecord::nullableFloatValue ( const size_t  index) 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_t  index)

◆ nullableIntValue() [2/4]

const boost::optional<int32_t>& gpudb::GenericRecord::nullableIntValue ( const size_t  index) 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_t  index)

◆ nullableLongValue() [2/4]

const boost::optional<int64_t>& gpudb::GenericRecord::nullableLongValue ( const size_t  index) 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_t  index)

◆ nullableStringValue() [2/4]

const boost::optional<std::string>& gpudb::GenericRecord::nullableStringValue ( const size_t  index) 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

◆ setAsBytes() [1/2]

void gpudb::GenericRecord::setAsBytes ( const size_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
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_t  index,
const std::string &  newValue 
)

◆ setAsString() [2/2]

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

◆ setNull() [1/2]

void gpudb::GenericRecord::setNull ( const size_t  index)

◆ setNull() [2/2]

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

◆ stringValue() [1/4]

std::string& gpudb::GenericRecord::stringValue ( const size_t  index)

◆ stringValue() [2/4]

const std::string& gpudb::GenericRecord::stringValue ( const size_t  index) 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]

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

◆ toString() [2/4]

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

◆ toString() [3/4]

std::string gpudb::GenericRecord::toString ( const size_t  index) const

◆ toString() [4/4]

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

◆ value() [1/4]

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

Definition at line 25 of file GenericRecord.hpp.

◆ value() [2/4]

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

Definition at line 30 of file GenericRecord.hpp.

◆ value() [3/4]

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

Definition at line 35 of file GenericRecord.hpp.

◆ value() [4/4]

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

Definition at line 40 of file GenericRecord.hpp.

Friends And Related Function Documentation

◆ GPUdb

friend class GPUdb
friend

Definition at line 16 of file GenericRecord.hpp.

◆ operator<< [1/2]

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

◆ operator<< [2/2]

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

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