taco-db  0.1.0
Public Types | Static Public Member Functions | Static Private Member Functions | List of all members
taco::CatCacheBase< CatCacheCls >::SearchForCatalogEntry< expect_unique, NPreds, no_cache > Struct Template Reference

#include <catalog/CatCacheBase.h>

Public Types

using EntryPtr = typename std::conditional< no_cache, std::unique_ptr< CCLookupTableEntry >, CCLookupTableEntry * >::type
 
using RetType = typename std::conditional< expect_unique, EntryPtr, std::vector< EntryPtr > >::type
 

Static Public Member Functions

template<class RHS0 , class ... RemRHS>
static std::enable_if< std::is_same< RHS0, RHS0 >::value &&expect_unique, RetType >::type Call (CatCacheBase *_this, Oid systabid, Oid idxid_hint, const std::array< FieldId, NPreds > &fieldid, const std::array< Oid, NPreds > &eq_funcid, RHS0 &&rhs0, RemRHS &&...remrhs)
 
template<class RHS0 , class ... RemRHS>
static std::enable_if< std::is_same< RHS0, RHS0 >::value &&!expect_unique, RetType >::type Call (CatCacheBase *_this, Oid systabid, Oid idxid_hint, size_t expect_n, const std::array< FieldId, NPreds > &fieldid, const std::array< Oid, NPreds > &eq_funcid, RHS0 &&rhs0, RemRHS &&...remrhs)
 

Static Private Member Functions

template<class ... RHS>
static RetType Impl (CatCacheBase *_this, Oid systabid, Oid idxid_hint, size_t expect_n, const std::array< FieldId, NPreds > &fieldid, const std::array< Oid, NPreds > &eq_funcid, RHS &&...rhs)
 

Member Typedef Documentation

◆ EntryPtr

template<class CatCacheCls >
template<bool expect_unique, size_t NPreds, bool no_cache>
using taco::CatCacheBase< CatCacheCls >::SearchForCatalogEntry< expect_unique, NPreds, no_cache >::EntryPtr = typename std::conditional< no_cache, std::unique_ptr<CCLookupTableEntry>, CCLookupTableEntry*>::type

◆ RetType

template<class CatCacheCls >
template<bool expect_unique, size_t NPreds, bool no_cache>
using taco::CatCacheBase< CatCacheCls >::SearchForCatalogEntry< expect_unique, NPreds, no_cache >::RetType = typename std::conditional< expect_unique, EntryPtr, std::vector<EntryPtr> >::type

Member Function Documentation

◆ Call() [1/2]

template<class CatCacheCls >
template<bool expect_unique, size_t NPreds, bool no_cache>
template<class RHS0 , class ... RemRHS>
static std::enable_if<std::is_same<RHS0, RHS0>::value && expect_unique, RetType>::type taco::CatCacheBase< CatCacheCls >::SearchForCatalogEntry< expect_unique, NPreds, no_cache >::Call ( CatCacheBase _this,
Oid  systabid,
Oid  idxid_hint,
const std::array< FieldId, NPreds > &  fieldid,
const std::array< Oid, NPreds > &  eq_funcid,
RHS0 &&  rhs0,
RemRHS &&...  remrhs 
)
inlinestatic

◆ Call() [2/2]

template<class CatCacheCls >
template<bool expect_unique, size_t NPreds, bool no_cache>
template<class RHS0 , class ... RemRHS>
static std::enable_if<std::is_same<RHS0, RHS0>::value && !expect_unique, RetType>::type taco::CatCacheBase< CatCacheCls >::SearchForCatalogEntry< expect_unique, NPreds, no_cache >::Call ( CatCacheBase _this,
Oid  systabid,
Oid  idxid_hint,
size_t  expect_n,
const std::array< FieldId, NPreds > &  fieldid,
const std::array< Oid, NPreds > &  eq_funcid,
RHS0 &&  rhs0,
RemRHS &&...  remrhs 
)
inlinestatic

◆ Impl()

template<class CatCacheCls >
template<bool expect_unique, size_t NPreds, bool no_cache>
template<class ... RHS>
static RetType taco::CatCacheBase< CatCacheCls >::SearchForCatalogEntry< expect_unique, NPreds, no_cache >::Impl ( CatCacheBase _this,
Oid  systabid,
Oid  idxid_hint,
size_t  expect_n,
const std::array< FieldId, NPreds > &  fieldid,
const std::array< Oid, NPreds > &  eq_funcid,
RHS &&...  rhs 
)
staticprivate

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