#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 constexpr 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 |
|
inline |
Definition at line 694 of file DbCore.h.
References cond::persistency::BulkInserter< Types >::m_coralInserter.
Referenced by cond::persistency::RUN_INFO::Table::insert(), cond::persistency::GLOBAL_TAG_MAP::Table::insert(), and cond::persistency::IOV::Table::insertMany().
|
inline |
Definition at line 687 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, CalibrationSummaryClient_cfi::params, and cond::persistency::RowBuffer< Columns >::set().
Referenced by BeautifulSoup.PageElement::append(), cond::persistency::RUN_INFO::Table::insert(), cond::persistency::GLOBAL_TAG_MAP::Table::insert(), and cond::persistency::IOV::Table::insertMany().
|
staticconstexpr |
Definition at line 679 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 704 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 705 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::flush(), and cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 701 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().
|
private |
Definition at line 702 of file DbCore.h.
Referenced by cond::persistency::BulkInserter< Types >::insert().