jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <abstract_column.hpp>
Public Member Functions | |
void | clear () |
void | dump (std::ostream &os, uint64_t target) const |
bool | insert (uint64_t target, const bit_vector &value) |
bool | insert (uint64_t target, const msgpack::object &obj) |
bit_vector | operator[] (uint64_t index) |
bit_vector | operator[] (uint64_t index) const |
template<class Buffer > | |
void | pack_array (msgpack::packer< Buffer > &packer) const |
void | pack_with_index (const uint64_t index, framework::packer &pk) const |
void | push_back (const bit_vector &value) |
void | push_back (const msgpack::object &obj) |
bool | remove (uint64_t target) |
uint64_t | size () const |
typed_column (const column_type &type) | |
void | unpack_array (msgpack::object o) |
bool | update (uint64_t index, const bit_vector &value) |
bool | update (uint64_t index, const msgpack::object &obj) |
Public Member Functions inherited from jubatus::core::storage::detail::abstract_column_base | |
abstract_column_base (const column_type &type) | |
JUBATUS_GEN_FUNCTIONS_ (uint8_t) | |
JUBATUS_GEN_FUNCTIONS_ (uint16_t) | |
JUBATUS_GEN_FUNCTIONS_ (uint32_t) | |
JUBATUS_GEN_FUNCTIONS_ (uint64_t) | |
JUBATUS_GEN_FUNCTIONS_ (int8_t) | |
JUBATUS_GEN_FUNCTIONS_ (int16_t) | |
JUBATUS_GEN_FUNCTIONS_ (int32_t) | |
JUBATUS_GEN_FUNCTIONS_ (int64_t) | |
JUBATUS_GEN_FUNCTIONS_ (float) | |
JUBATUS_GEN_FUNCTIONS_ (double) | |
JUBATUS_GEN_FUNCTIONS_ (std::string) | |
JUBATUS_GEN_FUNCTIONS_ (bit_vector) | |
JUBATUS_GEN_FUNCTIONS_ (msgpack::object) | |
column_type | type () const |
virtual | ~abstract_column_base () |
Private Member Functions | |
size_t | blocks_per_value_ () const |
size_t | bytes_per_value_ () const |
void | check_bit_vector_ (const bit_vector &tested) const |
uint64_t * | get_data_at_ (size_t index) |
const uint64_t * | get_data_at_ (size_t index) const |
void | update_at_ (size_t index, const void *raw_data) |
Private Attributes | |
std::vector< uint64_t > | array_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const typed_column< bit_vector > &c) |
Definition at line 214 of file abstract_column.hpp.
|
inlineexplicit |
Definition at line 216 of file abstract_column.hpp.
|
inlineprivate |
Definition at line 327 of file abstract_column.hpp.
|
inlineprivate |
Definition at line 324 of file abstract_column.hpp.
References jubatus::core::storage::bit_vector_base< uint64_t >::memory_size(), and jubatus::core::storage::detail::abstract_column_base::type().
|
inlineprivate |
Definition at line 348 of file abstract_column.hpp.
References jubatus::core::storage::bit_vector_base< bit_base >::bit_num(), jubatus::core::storage::column_type::bit_vector_length(), and jubatus::core::storage::detail::abstract_column_base::type().
|
inlinevirtual |
Implements jubatus::core::storage::detail::abstract_column_base.
Definition at line 290 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::array_.
|
inlinevirtual |
Implements jubatus::core::storage::detail::abstract_column_base.
Definition at line 309 of file abstract_column.hpp.
|
inlineprivate |
Definition at line 331 of file abstract_column.hpp.
References JUBATUS_ASSERT_LT, and jubatus::core::storage::typed_column< T >::size().
|
inlineprivate |
Definition at line 335 of file abstract_column.hpp.
References JUBATUS_ASSERT_LT, and jubatus::core::storage::typed_column< T >::size().
|
inline |
Definition at line 235 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::array_, jubatus::core::storage::bit_vector_base< bit_base >::raw_data_unsafe(), and jubatus::core::storage::typed_column< T >::size().
|
inline |
Definition at line 247 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::insert(), and jubatus::core::storage::detail::abstract_column_base::type().
|
inline |
Definition at line 272 of file abstract_column.hpp.
References jubatus::core::storage::detail::abstract_column_base::type().
|
inline |
Definition at line 275 of file abstract_column.hpp.
References jubatus::core::storage::detail::abstract_column_base::type().
|
inline |
Definition at line 314 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::array_.
|
inlinevirtual |
Reimplemented from jubatus::core::storage::detail::abstract_column_base.
Definition at line 293 of file abstract_column.hpp.
|
inline |
Definition at line 224 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::array_, jubatus::core::storage::bit_vector_base< bit_base >::raw_data_unsafe(), and jubatus::core::storage::typed_column< T >::size().
|
inline |
Definition at line 229 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::push_back(), and jubatus::core::storage::detail::abstract_column_base::type().
|
inlinevirtual |
Implements jubatus::core::storage::detail::abstract_column_base.
Definition at line 278 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::array_, JUBATUS_ASSERT_GE, and jubatus::core::storage::typed_column< T >::size().
|
inline |
Definition at line 268 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::array_, and JUBATUS_ASSERT_EQ.
|
inline |
Definition at line 317 of file abstract_column.hpp.
References jubatus::core::storage::typed_column< T >::array_.
|
inline |
Definition at line 253 of file abstract_column.hpp.
References jubatus::core::storage::bit_vector_base< bit_base >::raw_data_unsafe(), and jubatus::core::storage::typed_column< T >::size().
|
inline |
Definition at line 262 of file abstract_column.hpp.
References jubatus::core::storage::detail::abstract_column_base::type(), and jubatus::core::storage::typed_column< T >::update().
|
inlineprivate |
Definition at line 340 of file abstract_column.hpp.
|
friend |
Definition at line 298 of file abstract_column.hpp.
|
private |
Definition at line 322 of file abstract_column.hpp.