addQueryPlanDagForTableKeys(size_t hashed_query_plan_dag, const std::unordered_set< size_t > &table_keys, std::lock_guard< std::mutex > &lock) | ChunkMetadataRecycler | |
CachedItemContainer typedef | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | |
ChunkMetadataRecycler() | ChunkMetadataRecycler | inline |
cleanupCacheForInsertion(CacheItemType item_type, DeviceIdentifier device_identifier, size_t required_size, std::lock_guard< std::mutex > &lock, std::optional< ChunkMetadataMetaInfo > meta_info=std::nullopt) override | ChunkMetadataRecycler | inlineprivatevirtual |
clearCache() override | ChunkMetadataRecycler | virtual |
DataRecycler(const std::vector< CacheItemType > &item_types, size_t total_cache_size, size_t max_item_size, int num_gpus) | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getCachedItemContainer(CacheItemType item_type, DeviceIdentifier device_identifier) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getCachedItemMetric(CacheItemType item_type, DeviceIdentifier device_identifier, QueryPlanHash key) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getCachedItemWithoutConsideringMetaInfo(QueryPlanHash key, CacheItemType item_type, DeviceIdentifier device_identifier, CachedItemContainer &m, std::lock_guard< std::mutex > &lock) | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getCacheItemType() const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inlineprotected |
getCacheLock() const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inlineprotected |
getCurrentCacheSizeForDevice(CacheItemType item_type, DeviceIdentifier device_identifier) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getCurrentNumCachedItems(CacheItemType item_type, DeviceIdentifier device_identifier) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getCurrentNumCleanCachedItems(CacheItemType item_type, DeviceIdentifier device_identifier) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getCurrentNumDirtyCachedItems(CacheItemType item_type, DeviceIdentifier device_identifier) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
getItemCache() const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inlineprotected |
getItemFromCache(QueryPlanHash key, CacheItemType item_type, DeviceIdentifier device_identifier, std::optional< ChunkMetadataMetaInfo > meta_info=std::nullopt)=0 | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | pure virtual |
getMappedQueryPlanDagsWithTableKey(size_t table_key) const | ChunkMetadataRecycler | |
getMetricTracker(CacheItemType item_type) | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inlineprotected |
getMetricTracker(CacheItemType item_type) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inlineprotected |
hasItemInCache(QueryPlanHash key, CacheItemType item_type, DeviceIdentifier device_identifier, std::lock_guard< std::mutex > &lock, std::optional< ChunkMetadataMetaInfo > meta_info=std::nullopt) const override | ChunkMetadataRecycler | privatevirtual |
initCache() override | ChunkMetadataRecycler | inlinevirtual |
isCachedItemDirty(QueryPlanHash key, CachedItemContainer &m) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
markCachedItemAsDirty(size_t table_key, std::unordered_set< QueryPlanHash > &key_set, CacheItemType item_type, DeviceIdentifier device_identifier) override | ChunkMetadataRecycler | virtual |
markCachedItemAsDirtyImpl(QueryPlanHash key, CachedItemContainer &m) const | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
PerDeviceCacheItemContainer typedef | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | |
PerTypeCacheItemContainer typedef | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | |
PerTypeCacheMetricTracker typedef | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | |
putItemToCache(QueryPlanHash key, std::optional< ChunkMetadataMap > item, CacheItemType item_type, DeviceIdentifier device_identifier, size_t item_size, size_t compute_time, std::optional< ChunkMetadataMetaInfo > meta_info=std::nullopt) override | ChunkMetadataRecycler | virtual |
removeCachedItemFromBeginning(CacheItemType item_type, DeviceIdentifier device_identifier, int offset) | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inlineprotected |
removeItemFromCache(QueryPlanHash key, CacheItemType item_type, DeviceIdentifier device_identifier, std::lock_guard< std::mutex > &lock, std::optional< ChunkMetadataMetaInfo > meta_info=std::nullopt) override | ChunkMetadataRecycler | privatevirtual |
removeTableKeyInfoFromQueryPlanDagMap(size_t table_key) | ChunkMetadataRecycler | |
setMaxCacheItemSize(CacheItemType item_type, size_t new_max_cache_item_size) | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
setTotalCacheSize(CacheItemType item_type, size_t new_total_cache_size) | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inline |
sortCacheContainerByQueryMetric(CacheItemType item_type, DeviceIdentifier device_identifier) | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | inlineprotected |
std::numeric_limits() | ChunkMetadataRecycler | |
std::numeric_limits() | ChunkMetadataRecycler | |
table_key_to_query_plan_dag_map_ | ChunkMetadataRecycler | private |
toString() const override | ChunkMetadataRecycler | virtual |
~DataRecycler()=default | DataRecycler< std::optional< ChunkMetadataMap >, ChunkMetadataMetaInfo > | virtual |