#include <index/TableBulkLoadIterator.h>
◆ TableBulkLoadIterator()
taco::TableBulkLoadIterator::TableBulkLoadIterator |
( |
std::shared_ptr< const IndexDesc > |
idxdesc, |
|
|
Table::Iterator && |
iter |
|
) |
| |
◆ EndScan()
void taco::TableBulkLoadIterator::EndScan |
( |
| ) |
|
|
overridevirtual |
Ends the scan.
If the subclass does want it to be called again in the destructor if it has been called, it should set m_key_schema to nullptr
.
Implements taco::BulkLoadIterator.
◆ Next()
bool taco::TableBulkLoadIterator::Next |
( |
| ) |
|
|
overridevirtual |
Subclass should override the Next() function for moving to the next (key, record id) pair.
Upon a successful return, Next() should call IndexKey::Construct on the preallocated IndexKey m_key
, which is sufficient to hold key_schema->GetNumFields()
references to the keys, and m_recid
is set record id this key maps to.
Implements taco::BulkLoadIterator.
◆ m_data
std::vector<Datum> taco::TableBulkLoadIterator::m_data |
|
private |
◆ m_idxdesc
std::shared_ptr<const IndexDesc> taco::TableBulkLoadIterator::m_idxdesc |
|
private |
◆ m_iter
The documentation for this class was generated from the following files: