OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ResultSetMetaInfo Struct Reference

#include <ResultSetRecycler.h>

Public Member Functions

 ResultSetMetaInfo (const std::unordered_set< size_t > input_table_infos)
 
void keepTargetExprs (std::vector< std::shared_ptr< Analyzer::Expr >> &in_target_exprs)
 
std::vector< std::shared_ptr
< Analyzer::Expr > > & 
getTargetExprs ()
 

Public Attributes

std::unordered_set< size_t > input_table_keys
 
std::vector< std::shared_ptr
< Analyzer::Expr > > 
target_exprs
 

Detailed Description

Definition at line 23 of file ResultSetRecycler.h.

Constructor & Destructor Documentation

ResultSetMetaInfo::ResultSetMetaInfo ( const std::unordered_set< size_t >  input_table_infos)
inline

Definition at line 24 of file ResultSetRecycler.h.

References input_table_keys.

24  {
25  input_table_keys.insert(input_table_infos.begin(), input_table_infos.end());
26  };
std::unordered_set< size_t > input_table_keys

Member Function Documentation

std::vector<std::shared_ptr<Analyzer::Expr> >& ResultSetMetaInfo::getTargetExprs ( )
inline

Definition at line 34 of file ResultSetRecycler.h.

References target_exprs.

34 { return target_exprs; }
std::vector< std::shared_ptr< Analyzer::Expr > > target_exprs
void ResultSetMetaInfo::keepTargetExprs ( std::vector< std::shared_ptr< Analyzer::Expr >> &  in_target_exprs)
inline

Definition at line 28 of file ResultSetRecycler.h.

References target_exprs.

Referenced by ResultSetRecyclerHolder::putQueryResultSetToCache().

28  {
29  for (const auto& expr : in_target_exprs) {
30  target_exprs.push_back(expr->get_shared_ptr());
31  }
32  }
std::vector< std::shared_ptr< Analyzer::Expr > > target_exprs

+ Here is the caller graph for this function:

Member Data Documentation

std::unordered_set<size_t> ResultSetMetaInfo::input_table_keys

Definition at line 36 of file ResultSetRecycler.h.

Referenced by ResultSetMetaInfo().

std::vector<std::shared_ptr<Analyzer::Expr> > ResultSetMetaInfo::target_exprs

Definition at line 37 of file ResultSetRecycler.h.

Referenced by getTargetExprs(), and keepTargetExprs().


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