24 #include "../Catalog/ColumnDescriptor.h"
25 #include "../DataMgr/ChunkMetadata.h"
26 #include "../Shared/mapd_shared_mutex.h"
27 #include "../Shared/types.h"
29 namespace Data_Namespace {
35 namespace Fragmenter_Namespace {
36 class InsertOrderFragmenter;
64 std::vector<DataBlockPtr>
data;
169 #endif // FRAGMENTER_H
static void setUnconditionalVacuum(const double unconditionalVacuum)
size_t getNumTuples() const
std::vector< int > deviceIds
void invalidateNumTuples() const
void setChunkMetadata(const int col, std::shared_ptr< ChunkMetadata > chunkMetadata)
const ChunkMetadataMap & getChunkMetadataMapPhysical() const
size_t getPhysicalNumTuples() const
std::shared_ptr< std::mutex > resultSetMutex
std::vector< FragmentInfo > fragments
bool isEmptyPhysicalFragment() const
The InsertOrderFragmenter is a child class of AbstractFragmenter, and fragments data in insert order...
std::vector< int > chunkKeyPrefix
int tableId
identifies the database into which the data is being inserted
ChunkMetadataMap chunkMetadataMap
size_t getPhysicalNumTuples() const
size_t numRows
a vector of column ids for the row(s) being inserted
bool synthesizedNumTuplesIsValid
size_t getNumTuples() const
std::vector< bool > bypass
count to replicate values of column(s); used only for ALTER ADD column
Used by Fragmenter classes to store info about each fragment - the fragment id and number of tuples(r...
size_t getFragmentNumTuplesUpperBound() const
const ChunkMetadataMap & getChunkMetadataMap() const
void invalidateChunkMetadataMap() const
std::vector< DataBlockPtr > data
the number of rows being inserted
static bool unconditionalVacuum_
size_t getNumTuplesUpperBound() const
bool g_enable_watchdog false
void setPhysicalNumTuples(const size_t physNumTuples)
void setPhysicalNumTuples(const size_t physNumTuples)
The data to be inserted using the fragment manager.
bool synthesizedMetadataIsValid
std::vector< int > columnIds
identifies the table into which the data is being inserted
ChunkMetadataMap shadowChunkMetadataMap
void setChunkMetadataMap(const ChunkMetadataMap &chunk_metadata_map)