OmniSciDB
a5dc49c757
|
#include <TableGenerations.h>
Public Member Functions | |
void | setGeneration (const shared::TableKey &table_key, const TableGeneration &generation) |
const TableGeneration & | getGeneration (const shared::TableKey &table_key) const |
const std::unordered_map < shared::TableKey, TableGeneration > & | asMap () const |
void | clear () |
Private Attributes | |
std::unordered_map < shared::TableKey, TableGeneration > | table_key_to_generation_ |
Definition at line 29 of file TableGenerations.h.
const std::unordered_map< shared::TableKey, TableGeneration > & TableGenerations::asMap | ( | ) | const |
Definition at line 33 of file TableGenerations.cpp.
References table_key_to_generation_.
Referenced by Executor::dumpCache().
void TableGenerations::clear | ( | ) |
Definition at line 38 of file TableGenerations.cpp.
References gpu_enabled::swap(), and table_key_to_generation_.
Referenced by Executor::clearMetaInfoCache().
const TableGeneration & TableGenerations::getGeneration | ( | const shared::TableKey & | table_key | ) | const |
Definition at line 26 of file TableGenerations.cpp.
References CHECK, and table_key_to_generation_.
Referenced by Executor::getTableGeneration().
void TableGenerations::setGeneration | ( | const shared::TableKey & | table_key, |
const TableGeneration & | generation | ||
) |
Definition at line 20 of file TableGenerations.cpp.
References CHECK, and table_key_to_generation_.
Referenced by Executor::computeTableGenerations().
|
private |
Definition at line 41 of file TableGenerations.h.
Referenced by asMap(), clear(), getGeneration(), and setGeneration().