|
GPUdb C++ API
Version 5.2.0.0
|
#include <gpudb/GenericRecord.hpp>
Public Member Functions | |
| GenericRecord (const Type &type) | |
| const Type & | getType () 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 > & | asBytes (const size_t index) |
| const std::vector< uint8_t > & | asBytes (const size_t index) const |
| std::vector< uint8_t > & | asBytes (const std::string &name) |
| const std::vector< uint8_t > & | asBytes (const std::string &name) const |
| boost::optional< std::vector< uint8_t > > & | asNullableBytes (const size_t index) |
| const boost::optional< std::vector< uint8_t > > & | asNullableBytes (const size_t index) const |
| boost::optional< std::vector< uint8_t > > & | asNullableBytes (const std::string &name) |
| const boost::optional< std::vector< uint8_t > > & | asNullableBytes (const std::string &name) const |
| double & | asDouble (const size_t index) |
| const double & | asDouble (const size_t index) const |
| double & | asDouble (const std::string &name) |
| const double & | asDouble (const std::string &name) const |
| boost::optional< double > & | asNullableDouble (const size_t index) |
| const boost::optional< double > & | asNullableDouble (const size_t index) const |
| boost::optional< double > & | asNullableDouble (const std::string &name) |
| const boost::optional< double > & | asNullableDouble (const std::string &name) const |
| float & | asFloat (const size_t index) |
| const float & | asFloat (const size_t index) const |
| float & | asFloat (const std::string &name) |
| const float & | asFloat (const std::string &name) const |
| boost::optional< float > & | asNullableFloat (const size_t index) |
| const boost::optional< float > & | asNullableFloat (const size_t index) const |
| boost::optional< float > & | asNullableFloat (const std::string &name) |
| const boost::optional< float > & | asNullableFloat (const std::string &name) const |
| int32_t & | asInt (const size_t index) |
| const int32_t & | asInt (const size_t index) const |
| int32_t & | asInt (const std::string &name) |
| const int32_t & | asInt (const std::string &name) const |
| boost::optional< int32_t > & | asNullableInt (const size_t index) |
| const boost::optional< int32_t > & | asNullableInt (const size_t index) const |
| boost::optional< int32_t > & | asNullableInt (const std::string &name) |
| const boost::optional< int32_t > & | asNullableInt (const std::string &name) const |
| int64_t & | asLong (const size_t index) |
| const int64_t & | asLong (const size_t index) const |
| int64_t & | asLong (const std::string &name) |
| const int64_t & | asLong (const std::string &name) const |
| boost::optional< int64_t > & | asNullableLong (const size_t index) |
| const boost::optional< int64_t > & | asNullableLong (const size_t index) const |
| boost::optional< int64_t > & | asNullableLong (const std::string &name) |
| const boost::optional< int64_t > & | asNullableLong (const std::string &name) const |
| std::string & | asString (const size_t index) |
| const std::string & | asString (const size_t index) const |
| std::string & | asString (const std::string &name) |
| const std::string & | asString (const std::string &name) const |
| boost::optional< std::string > & | asNullableString (const size_t index) |
| const boost::optional< std::string > & | asNullableString (const size_t index) const |
| boost::optional< std::string > & | asNullableString (const std::string &name) |
| const boost::optional< std::string > & | asNullableString (const std::string &name) const |
Friends | |
| class | GPUdb |
Definition at line 11 of file GenericRecord.hpp.
| gpudb::GenericRecord::GenericRecord | ( | const Type & | type | ) |
| std::vector<uint8_t>& gpudb::GenericRecord::asBytes | ( | const size_t | index | ) |
| const std::vector<uint8_t>& gpudb::GenericRecord::asBytes | ( | const size_t | index | ) | const |
| std::vector<uint8_t>& gpudb::GenericRecord::asBytes | ( | const std::string & | name | ) |
| const std::vector<uint8_t>& gpudb::GenericRecord::asBytes | ( | const std::string & | name | ) | const |
| double& gpudb::GenericRecord::asDouble | ( | const size_t | index | ) |
| const double& gpudb::GenericRecord::asDouble | ( | const size_t | index | ) | const |
| double& gpudb::GenericRecord::asDouble | ( | const std::string & | name | ) |
| const double& gpudb::GenericRecord::asDouble | ( | const std::string & | name | ) | const |
| float& gpudb::GenericRecord::asFloat | ( | const size_t | index | ) |
| const float& gpudb::GenericRecord::asFloat | ( | const size_t | index | ) | const |
| float& gpudb::GenericRecord::asFloat | ( | const std::string & | name | ) |
| const float& gpudb::GenericRecord::asFloat | ( | const std::string & | name | ) | const |
| int32_t& gpudb::GenericRecord::asInt | ( | const size_t | index | ) |
| const int32_t& gpudb::GenericRecord::asInt | ( | const size_t | index | ) | const |
| int32_t& gpudb::GenericRecord::asInt | ( | const std::string & | name | ) |
| const int32_t& gpudb::GenericRecord::asInt | ( | const std::string & | name | ) | const |
| int64_t& gpudb::GenericRecord::asLong | ( | const size_t | index | ) |
| const int64_t& gpudb::GenericRecord::asLong | ( | const size_t | index | ) | const |
| int64_t& gpudb::GenericRecord::asLong | ( | const std::string & | name | ) |
| const int64_t& gpudb::GenericRecord::asLong | ( | const std::string & | name | ) | const |
| boost::optional<std::vector<uint8_t> >& gpudb::GenericRecord::asNullableBytes | ( | const size_t | index | ) |
| const boost::optional<std::vector<uint8_t> >& gpudb::GenericRecord::asNullableBytes | ( | const size_t | index | ) | const |
| boost::optional<std::vector<uint8_t> >& gpudb::GenericRecord::asNullableBytes | ( | const std::string & | name | ) |
| const boost::optional<std::vector<uint8_t> >& gpudb::GenericRecord::asNullableBytes | ( | const std::string & | name | ) | const |
| boost::optional<double>& gpudb::GenericRecord::asNullableDouble | ( | const size_t | index | ) |
| const boost::optional<double>& gpudb::GenericRecord::asNullableDouble | ( | const size_t | index | ) | const |
| boost::optional<double>& gpudb::GenericRecord::asNullableDouble | ( | const std::string & | name | ) |
| const boost::optional<double>& gpudb::GenericRecord::asNullableDouble | ( | const std::string & | name | ) | const |
| boost::optional<float>& gpudb::GenericRecord::asNullableFloat | ( | const size_t | index | ) |
| const boost::optional<float>& gpudb::GenericRecord::asNullableFloat | ( | const size_t | index | ) | const |
| boost::optional<float>& gpudb::GenericRecord::asNullableFloat | ( | const std::string & | name | ) |
| const boost::optional<float>& gpudb::GenericRecord::asNullableFloat | ( | const std::string & | name | ) | const |
| boost::optional<int32_t>& gpudb::GenericRecord::asNullableInt | ( | const size_t | index | ) |
| const boost::optional<int32_t>& gpudb::GenericRecord::asNullableInt | ( | const size_t | index | ) | const |
| boost::optional<int32_t>& gpudb::GenericRecord::asNullableInt | ( | const std::string & | name | ) |
| const boost::optional<int32_t>& gpudb::GenericRecord::asNullableInt | ( | const std::string & | name | ) | const |
| boost::optional<int64_t>& gpudb::GenericRecord::asNullableLong | ( | const size_t | index | ) |
| const boost::optional<int64_t>& gpudb::GenericRecord::asNullableLong | ( | const size_t | index | ) | const |
| boost::optional<int64_t>& gpudb::GenericRecord::asNullableLong | ( | const std::string & | name | ) |
| const boost::optional<int64_t>& gpudb::GenericRecord::asNullableLong | ( | const std::string & | name | ) | const |
| boost::optional<std::string>& gpudb::GenericRecord::asNullableString | ( | const size_t | index | ) |
| const boost::optional<std::string>& gpudb::GenericRecord::asNullableString | ( | const size_t | index | ) | const |
| boost::optional<std::string>& gpudb::GenericRecord::asNullableString | ( | const std::string & | name | ) |
| const boost::optional<std::string>& gpudb::GenericRecord::asNullableString | ( | const std::string & | name | ) | const |
| std::string& gpudb::GenericRecord::asString | ( | const size_t | index | ) |
| const std::string& gpudb::GenericRecord::asString | ( | const size_t | index | ) | const |
| std::string& gpudb::GenericRecord::asString | ( | const std::string & | name | ) |
| const std::string& gpudb::GenericRecord::asString | ( | const std::string & | name | ) | const |
| const ::avro::ValidSchema& gpudb::GenericRecord::getSchema | ( | ) | const |
| const Type& gpudb::GenericRecord::getType | ( | ) | const |
|
inline |
Definition at line 22 of file GenericRecord.hpp.
|
inline |
Definition at line 27 of file GenericRecord.hpp.
|
inline |
Definition at line 32 of file GenericRecord.hpp.
|
inline |
Definition at line 37 of file GenericRecord.hpp.
|
friend |
Definition at line 13 of file GenericRecord.hpp.