OmniSciDB  d2f719934e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CachedItem< CACHED_ITEM_TYPE, META_INFO_TYPE > Struct Template Reference

#include <DataRecycler.h>

Public Member Functions

 CachedItem (QueryPlanHash hashed_plan, CACHED_ITEM_TYPE item, std::shared_ptr< CacheItemMetric > item_metric_ptr, std::optional< META_INFO_TYPE > metadata=std::nullopt)
 

Public Attributes

QueryPlanHash key
 
CACHED_ITEM_TYPE cached_item
 
std::shared_ptr< CacheItemMetricitem_metric
 
std::optional< META_INFO_TYPE > meta_info
 

Detailed Description

template<typename CACHED_ITEM_TYPE, typename META_INFO_TYPE>
struct CachedItem< CACHED_ITEM_TYPE, META_INFO_TYPE >

Definition at line 373 of file DataRecycler.h.

Constructor & Destructor Documentation

template<typename CACHED_ITEM_TYPE, typename META_INFO_TYPE>
CachedItem< CACHED_ITEM_TYPE, META_INFO_TYPE >::CachedItem ( QueryPlanHash  hashed_plan,
CACHED_ITEM_TYPE  item,
std::shared_ptr< CacheItemMetric item_metric_ptr,
std::optional< META_INFO_TYPE >  metadata = std::nullopt 
)
inline

Definition at line 374 of file DataRecycler.h.

378  : key(hashed_plan)
379  , cached_item(item)
380  , item_metric(item_metric_ptr)
381  , meta_info(metadata) {}
CACHED_ITEM_TYPE cached_item
Definition: DataRecycler.h:383
QueryPlanHash key
Definition: DataRecycler.h:382
std::optional< META_INFO_TYPE > meta_info
Definition: DataRecycler.h:385
std::shared_ptr< CacheItemMetric > item_metric
Definition: DataRecycler.h:384

Member Data Documentation

template<typename CACHED_ITEM_TYPE, typename META_INFO_TYPE>
CACHED_ITEM_TYPE CachedItem< CACHED_ITEM_TYPE, META_INFO_TYPE >::cached_item

Definition at line 383 of file DataRecycler.h.

template<typename CACHED_ITEM_TYPE, typename META_INFO_TYPE>
std::shared_ptr<CacheItemMetric> CachedItem< CACHED_ITEM_TYPE, META_INFO_TYPE >::item_metric
template<typename CACHED_ITEM_TYPE, typename META_INFO_TYPE>
QueryPlanHash CachedItem< CACHED_ITEM_TYPE, META_INFO_TYPE >::key

Definition at line 382 of file DataRecycler.h.

template<typename CACHED_ITEM_TYPE, typename META_INFO_TYPE>
std::optional<META_INFO_TYPE> CachedItem< CACHED_ITEM_TYPE, META_INFO_TYPE >::meta_info

Definition at line 385 of file DataRecycler.h.


The documentation for this struct was generated from the following file: