|
| 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) |
|
| ~SortedOrderFragmenter () override |
|
void | insertData (InsertData &insert_data_struct) override |
| appends data onto the most recently occuring fragment, creating a new one if necessary More...
|
|
void | insertDataNoCheckpoint (InsertData &insert_data_struct) override |
| Given data wrapped in an InsertData struct, inserts it into the correct partitions No locks and checkpoints taken needs to be managed externally. More...
|
|
| SortedOrderFragmenter (SortedOrderFragmenter &&)=default |
|
| SortedOrderFragmenter (const SortedOrderFragmenter &)=delete |
|
SortedOrderFragmenter & | operator= (const SortedOrderFragmenter &)=delete |
|
| InsertOrderFragmenter (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, const bool uses_foreign_storage=false) |
|
| ~InsertOrderFragmenter () override |
|
size_t | getNumFragments () override |
| returns the number of fragments in a table More...
|
|
TableInfo | getFragmentsForQuery () override |
| returns (inside QueryInfo) object all ids and row sizes of fragments More...
|
|
void | insertChunks (const InsertChunks &insert_chunk) override |
| Insert chunks into minimal number of fragments. More...
|
|
void | insertChunksNoCheckpoint (const InsertChunks &insert_chunk) override |
| Insert chunks into minimal number of fragments; no locks or checkpoints taken. More...
|
|
void | dropFragmentsToSize (const size_t maxRows) override |
| Will truncate table to less than maxRows by dropping fragments. More...
|
|
void | updateColumnChunkMetadata (const ColumnDescriptor *cd, const int fragment_id, const std::shared_ptr< ChunkMetadata > metadata) override |
| Updates the metadata for a column chunk. More...
|
|
void | updateChunkStats (const ColumnDescriptor *cd, std::unordered_map< int, ChunkStats > &stats_map, std::optional< Data_Namespace::MemoryLevel > memory_level) override |
| Update chunk stats. More...
|
|
FragmentInfo * | getFragmentInfo (const int fragment_id) const override |
| Retrieve the fragment info object for an individual fragment for editing. More...
|
|
int | getFragmenterId () override |
| get fragmenter's id More...
|
|
std::vector< int > | getChunkKeyPrefix () const |
|
std::string | getFragmenterType () override |
| get fragmenter's type (as string More...
|
|
size_t | getNumRows () override |
|
void | setNumRows (const size_t numTuples) override |
|
std::optional< ChunkUpdateStats > | updateColumn (const Catalog_Namespace::Catalog *catalog, const TableDescriptor *td, const ColumnDescriptor *cd, const int fragment_id, const std::vector< uint64_t > &frag_offsets, const std::vector< ScalarTargetValue > &rhs_values, const SQLTypeInfo &rhs_type, const Data_Namespace::MemoryLevel memory_level, UpdelRoll &updel_roll) override |
|
void | updateColumns (const Catalog_Namespace::Catalog *catalog, const TableDescriptor *td, const int fragmentId, const std::vector< TargetMetaInfo > sourceMetaInfo, const std::vector< const ColumnDescriptor * > columnDescriptors, const RowDataProvider &sourceDataProvider, const size_t indexOffFragmentOffsetColumn, const Data_Namespace::MemoryLevel memoryLevel, UpdelRoll &updelRoll, Executor *executor) override |
|
void | updateColumn (const Catalog_Namespace::Catalog *catalog, const TableDescriptor *td, const ColumnDescriptor *cd, const int fragment_id, const std::vector< uint64_t > &frag_offsets, const ScalarTargetValue &rhs_value, const SQLTypeInfo &rhs_type, const Data_Namespace::MemoryLevel memory_level, UpdelRoll &updel_roll) override |
|
void | updateColumnMetadata (const ColumnDescriptor *cd, FragmentInfo &fragment, std::shared_ptr< Chunk_NS::Chunk > chunk, const UpdateValuesStats &update_values_stats, const SQLTypeInfo &rhs_type, UpdelRoll &updel_roll) override |
|
void | updateMetadata (const Catalog_Namespace::Catalog *catalog, const MetaDataKey &key, UpdelRoll &updel_roll) override |
|
void | compactRows (const Catalog_Namespace::Catalog *catalog, const TableDescriptor *td, const int fragment_id, const std::vector< uint64_t > &frag_offsets, const Data_Namespace::MemoryLevel memory_level, UpdelRoll &updel_roll) override |
|
const std::vector< uint64_t > | getVacuumOffsets (const std::shared_ptr< Chunk_NS::Chunk > &chunk) override |
|
auto | getChunksForAllColumns (const TableDescriptor *td, const FragmentInfo &fragment, const Data_Namespace::MemoryLevel memory_level) |
|
void | dropColumns (const std::vector< int > &columnIds) override |
|
bool | hasDeletedRows (const int delete_column_id) override |
| Iterates through chunk metadata to return whether any rows have been deleted. More...
|
|
void | resetSizesFromFragments () override |
|
void | alterNonGeoColumnType (const std::list< const ColumnDescriptor * > &columns) |
|
void | alterColumnGeoType (const std::list< std::pair< const ColumnDescriptor *, std::list< const ColumnDescriptor * >>> &src_dst_column_pairs) |
|
virtual | ~AbstractFragmenter () |
|
Definition at line 23 of file SortedOrderFragmenter.h.