OmniSciDB
a5dc49c757
|
Used by Fragmenter classes to store info about each fragment - the fragment id and number of tuples(rows) currently stored by that fragment. More...
#include <Fragmenter.h>
Public Member Functions | |
FragmentInfo () | |
void | setChunkMetadataMap (const ChunkMetadataMap &chunk_metadata_map) |
void | setChunkMetadata (const int col, std::shared_ptr< ChunkMetadata > chunkMetadata) |
const ChunkMetadataMap & | getChunkMetadataMap () const |
const ChunkMetadataMap & | getChunkMetadataMapPhysical () const |
ChunkMetadataMap | getChunkMetadataMapPhysicalCopy () const |
size_t | getNumTuples () const |
size_t | getPhysicalNumTuples () const |
bool | isEmptyPhysicalFragment () const |
void | setPhysicalNumTuples (const size_t physNumTuples) |
void | invalidateChunkMetadataMap () const |
void | invalidateNumTuples () const |
Static Public Member Functions | |
static void | setUnconditionalVacuum (const double unconditionalVacuum) |
Public Attributes | |
int | fragmentId |
size_t | shadowNumTuples |
std::vector< int > | deviceIds |
int | physicalTableId |
int | shard |
ChunkMetadataMap | shadowChunkMetadataMap |
ResultSet * | resultSet |
std::shared_ptr< std::mutex > | resultSetMutex |
Private Attributes | |
size_t | numTuples |
ChunkMetadataMap | chunkMetadataMap |
bool | synthesizedNumTuplesIsValid |
bool | synthesizedMetadataIsValid |
Static Private Attributes | |
static bool | unconditionalVacuum_ {false} |
Friends | |
class | InsertOrderFragmenter |
Used by Fragmenter classes to store info about each fragment - the fragment id and number of tuples(rows) currently stored by that fragment.
Definition at line 86 of file Fragmenter.h.
|
inline |
Definition at line 88 of file Fragmenter.h.
const ChunkMetadataMap & Fragmenter_Namespace::FragmentInfo::getChunkMetadataMap | ( | ) | const |
Definition at line 528 of file InputMetadata.cpp.
References chunkMetadataMap, g_enable_data_recycler, g_enable_filter_push_down, g_use_chunk_metadata_cache, Executor::getExecutor(), resultSet, synthesize_metadata(), synthesizedMetadataIsValid, and Executor::UNITARY_EXECUTOR_ID.
Referenced by Executor::canSkipFragmentForFpQual(), ColumnFetcher::getOneColumnFragment(), Executor::isFragmentFullyDeleted(), and Executor::skipFragment().
|
inline |
Definition at line 108 of file Fragmenter.h.
References chunkMetadataMap.
Referenced by Fragmenter_Namespace::get_chunks(), and Fragmenter_Namespace::InsertOrderFragmenter::getChunksForAllColumns().
ChunkMetadataMap Fragmenter_Namespace::FragmentInfo::getChunkMetadataMapPhysicalCopy | ( | ) | const |
Definition at line 561 of file InputMetadata.cpp.
Referenced by UpdelRoll::initializeUnsetMetadata().
size_t Fragmenter_Namespace::FragmentInfo::getNumTuples | ( | ) | const |
Definition at line 570 of file InputMetadata.cpp.
References CHECK_EQ.
Referenced by QueryFragmentDescriptor::checkDeviceMemoryUsage(), and ColumnFetcher::getOneColumnFragment().
|
inline |
Definition at line 114 of file Fragmenter.h.
References numTuples.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::vacuum_fixlen_rows(), and Fragmenter_Namespace::InsertOrderFragmenter::vacuum_varlen_rows().
|
inline |
Definition at line 120 of file Fragmenter.h.
References synthesizedMetadataIsValid.
|
inline |
Definition at line 121 of file Fragmenter.h.
References synthesizedNumTuplesIsValid.
|
inline |
Definition at line 116 of file Fragmenter.h.
References numTuples, and physicalTableId.
Referenced by ColumnFetcher::getOneColumnFragment().
|
inline |
Definition at line 102 of file Fragmenter.h.
References chunkMetadataMap.
|
inline |
Definition at line 98 of file Fragmenter.h.
References chunkMetadataMap.
|
inline |
Definition at line 118 of file Fragmenter.h.
References numTuples.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::getFragmentsForQuery().
|
inlinestatic |
Definition at line 124 of file Fragmenter.h.
References unconditionalVacuum_.
|
friend |
Definition at line 143 of file Fragmenter.h.
|
mutableprivate |
Definition at line 139 of file Fragmenter.h.
Referenced by getChunkMetadataMap(), getChunkMetadataMapPhysical(), setChunkMetadata(), and setChunkMetadataMap().
std::vector<int> Fragmenter_Namespace::FragmentInfo::deviceIds |
Definition at line 130 of file Fragmenter.h.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::getFragmentsForQuery().
int Fragmenter_Namespace::FragmentInfo::fragmentId |
Definition at line 128 of file Fragmenter.h.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::createNewFragment(), Fragmenter_Namespace::get_chunks(), Fragmenter_Namespace::InsertOrderFragmenter::getChunksForAllColumns(), UpdateLogForFragment::getFragmentId(), Fragmenter_Namespace::InsertOrderFragmenter::getFragmentsForQuery(), ColumnFetcher::getOneColumnFragment(), Fragmenter_Namespace::InsertOrderFragmenter::insertChunksIntoFragment(), and Fragmenter_Namespace::set_chunk_metadata().
|
mutableprivate |
Definition at line 138 of file Fragmenter.h.
Referenced by getPhysicalNumTuples(), isEmptyPhysicalFragment(), and setPhysicalNumTuples().
int Fragmenter_Namespace::FragmentInfo::physicalTableId |
Definition at line 131 of file Fragmenter.h.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::getFragmentsForQuery(), ColumnFetcher::getOneColumnFragment(), UpdateLogForFragment::getPhysicalTableId(), isEmptyPhysicalFragment(), Executor::isFragmentFullyDeleted(), and Executor::skipFragment().
|
mutable |
Definition at line 134 of file Fragmenter.h.
Referenced by getChunkMetadataMap().
|
mutable |
Definition at line 135 of file Fragmenter.h.
ChunkMetadataMap Fragmenter_Namespace::FragmentInfo::shadowChunkMetadataMap |
Definition at line 133 of file Fragmenter.h.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::insertChunksIntoFragment().
size_t Fragmenter_Namespace::FragmentInfo::shadowNumTuples |
Definition at line 129 of file Fragmenter.h.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::getFragmentsForQuery(), UpdelRoll::initializeUnsetMetadata(), and Fragmenter_Namespace::InsertOrderFragmenter::insertChunksIntoFragment().
int Fragmenter_Namespace::FragmentInfo::shard |
Definition at line 132 of file Fragmenter.h.
Referenced by Fragmenter_Namespace::InsertOrderFragmenter::getFragmentsForQuery(), and Executor::skipFragmentPair().
|
mutableprivate |
Definition at line 141 of file Fragmenter.h.
Referenced by getChunkMetadataMap(), and invalidateChunkMetadataMap().
|
mutableprivate |
Definition at line 140 of file Fragmenter.h.
Referenced by invalidateNumTuples().
|
staticprivate |
Definition at line 144 of file Fragmenter.h.
Referenced by setUnconditionalVacuum(), and Fragmenter_Namespace::InsertOrderFragmenter::updateColumn().