jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <column_type.hpp>
Public Types | |
enum | type_name { int8_type, int16_type, int32_type, int64_type, uint8_type, uint16_type, uint32_type, uint64_type, float_type, double_type, bit_vector_type, string_type, array_type, invalid_type } |
Public Member Functions | |
size_t | bit_vector_length () const |
column_type () | |
column_type (type_name name) | |
column_type (type_name name, int length) | |
bool | is (const type_name &type) const |
template<class Buffer > | |
void | msgpack_pack (msgpack::packer< Buffer > &packer) const |
void | msgpack_unpack (msgpack::object o) |
column_type & | operator= (const column_type &orig) |
size_t | size () const |
void | swap (column_type &rhs) |
std::string | type_as_string () const |
Private Attributes | |
int | bit_vector_length_ |
type_name | type_ |
Friends | |
bool | operator!= (const column_type &x, const column_type &y) |
std::ostream & | operator<< (std::ostream &os, const column_type &type) |
bool | operator== (const column_type &x, const column_type &y) |
Definition at line 32 of file column_type.hpp.
Enumerator | |
---|---|
int8_type | |
int16_type | |
int32_type | |
int64_type | |
uint8_type | |
uint16_type | |
uint32_type | |
uint64_type | |
float_type | |
double_type | |
bit_vector_type | |
string_type | |
array_type | |
invalid_type |
Definition at line 34 of file column_type.hpp.
|
inline |
Definition at line 50 of file column_type.hpp.
|
inlineexplicit |
Definition at line 51 of file column_type.hpp.
References bit_vector_type.
|
inline |
Definition at line 57 of file column_type.hpp.
References bit_vector_type.
|
inline |
Definition at line 126 of file column_type.hpp.
References bit_vector_length_, bit_vector_type, type_, and type_as_string().
Referenced by jubatus::core::storage::typed_column< bit_vector >::check_bit_vector_(), and msgpack_unpack().
|
inline |
Definition at line 66 of file column_type.hpp.
References type_.
Referenced by jubatus::core::storage::detail::abstract_column::abstract_column(), jubatus::core::storage::detail::abstract_column::msgpack_pack(), and jubatus::core::storage::detail::abstract_column::msgpack_unpack().
|
inline |
Definition at line 163 of file column_type.hpp.
References bit_vector_length_, and type_.
|
inline |
Definition at line 168 of file column_type.hpp.
References bit_vector_length(), bit_vector_length_, and type_.
|
inline |
Definition at line 134 of file column_type.hpp.
References bit_vector_length_, and type_.
|
inline |
Definition at line 99 of file column_type.hpp.
References array_type, bit_vector_length_, bit_vector_type, double_type, float_type, int16_type, int32_type, int64_type, int8_type, invalid_type, jubatus::core::storage::bit_vector_base< uint64_t >::memory_size(), string_type, type_, uint16_type, uint32_type, uint64_type, and uint8_type.
|
inline |
Definition at line 140 of file column_type.hpp.
References bit_vector_length_, jubatus::core::clustering::swap(), and type_.
|
inline |
Definition at line 70 of file column_type.hpp.
References bit_vector_type, double_type, float_type, int16_type, int32_type, int64_type, int8_type, string_type, type_, uint16_type, uint32_type, uint64_type, and uint8_type.
Referenced by bit_vector_length().
|
friend |
Definition at line 158 of file column_type.hpp.
|
friend |
Definition at line 146 of file column_type.hpp.
|
friend |
Definition at line 155 of file column_type.hpp.
|
private |
Definition at line 182 of file column_type.hpp.
Referenced by bit_vector_length(), msgpack_pack(), msgpack_unpack(), operator=(), size(), and swap().
|
private |
Definition at line 181 of file column_type.hpp.
Referenced by bit_vector_length(), is(), msgpack_pack(), msgpack_unpack(), operator=(), size(), swap(), and type_as_string().