21 namespace Fragmenter_Namespace {
26 const std::vector<int> chunkKeyPrefix,
27 std::vector<Chunk_NS::Chunk>& chunkVec,
30 const int physicalTableId,
47 defaultInsertLevel) {}
class for a per-database catalog. also includes metadata for the current database and the current use...
#define DEFAULT_MAX_CHUNK_SIZE
The InsertOrderFragmenter is a child class of AbstractFragmenter, and fragments data in insert order...
void insertData(InsertData &insert_data_struct) override
appends data onto the most recently occuring fragment, creating a new one if necessary ...
virtual void sortData(InsertData &insertDataStruct)
void insertDataNoCheckpoint(InsertData &insert_data_struct) override
Given data wrapped in an InsertData struct, inserts it into the correct partitions No locks and check...
#define DEFAULT_PAGE_SIZE
~SortedOrderFragmenter() override
SortedOrderFragmenter(const std::vector< int > chunkKeyPrefix, std::vector< Chunk_NS::Chunk > &chunkVec, Data_Namespace::DataMgr *dataMgr, Catalog_Namespace::Catalog *catalog, const int physicalTableId, const int shard, const size_t maxFragmentRows=DEFAULT_FRAGMENT_ROWS, const size_t maxChunkSize=DEFAULT_MAX_CHUNK_SIZE, const size_t pageSize=DEFAULT_PAGE_SIZE, const size_t maxRows=DEFAULT_MAX_ROWS, const Data_Namespace::MemoryLevel defaultInsertLevel=Data_Namespace::DISK_LEVEL)
#define DEFAULT_FRAGMENT_ROWS
void insertData(InsertData &insert_data_struct) override
appends data onto the most recently occuring fragment, creating a new one if necessary ...
SortedOrderFragmenter & operator=(const SortedOrderFragmenter &)=delete
The data to be inserted using the fragment manager.
void insertDataNoCheckpoint(InsertData &insert_data_struct) override
Given data wrapped in an InsertData struct, inserts it into the correct partitions No locks and check...