#include <DbCore.h>
Public Member Functions | |
BulkInserter (coral::ISchema &schema, const char *tableName) | |
void | flush () |
template<typename P > | |
void | insert (const P ¶ms) |
Static Public Attributes | |
static size_t | cacheSize = 1000 |
Private Attributes | |
RowBuffer< Types...> | m_buffer |
std::unique_ptr < coral::IBulkOperation > | m_coralInserter |
coral::ISchema & | m_schema |
std::string | m_tableName |
|
inline |
Definition at line 579 of file DbCore.h.
|
inline |
Definition at line 594 of file DbCore.h.
References cond::persistency::BulkInserter< Types >::m_coralInserter.
Referenced by cond::persistency::GLOBAL_TAG_MAP::Table::insert(), and cond::persistency::IOV::Table::insertMany().
|
inline |
Definition at line 588 of file DbCore.h.
References cond::persistency::BulkInserter< Types >::cacheSize, cond::persistency::RowBuffer< Columns >::get(), cond::persistency::BulkInserter< Types >::m_buffer, cond::persistency::BulkInserter< Types >::m_coralInserter, cond::persistency::BulkInserter< Types >::m_schema, cond::persistency::BulkInserter< Types >::m_tableName, and cond::persistency::RowBuffer< Columns >::set().
Referenced by BeautifulSoup.PageElement::_invert(), cond::persistency::GLOBAL_TAG_MAP::Table::insert(), and cond::persistency::IOV::Table::insertMany().
|
static |
Definition at line 578 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 602 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 603 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::flush(), and cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 599 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 600 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().