souffle
2.0.2-371-g6315b36
|
A base class for the Trie implementation allowing various specializations of the Trie template to inherit common functionality. More...
#include <Brie.h>
Data Structures | |
struct | hint_statistics |
Public Types | |
using | const_entry_span_type = typename types::const_entry_span_type |
using | entry_span_type = typename types::entry_span_type |
using | entry_type = typename types::entry_type |
using | iterator = typename types::iterator |
using | iterator_core = typename types::iterator_core |
using | op_context = typename types::op_context |
Public Member Functions | |
iterator | begin () const |
Obtains an iterator referencing the first element stored within this trie. More... | |
bool | empty () const |
Determines whether this trie is empty or not. More... | |
iterator | end () const |
Obtains an iterator referencing the position after the last element stored within this trie. More... | |
iterator | find (const_entry_span_type entry, op_context &ctxt) const |
template<unsigned levels> | |
range< iterator > | getBoundaries (const entry_type &entry) const |
template<unsigned levels> | |
range< iterator > | getBoundaries (const entry_type &entry, op_context &ctxt) const |
template<unsigned levels> | |
range< iterator > | getBoundaries (const_entry_span_type entry) const |
template<unsigned levels, typename... Values, typename = std::enable_if_t<(isRamType<Values> && ...)>> | |
range< iterator > | getBoundaries (Values... values) const |
const store_type & | getStore () const |
Provides protected access to the internally maintained store. More... | |
void | insertAll (const TrieBase &other) |
Inserts all tuples stored within the given trie into this trie. More... | |
void | printStats (std::ostream &out) const |
Protected Types | |
using | store_type = typename types::store_type |
using | types = TrieTypes< Dim > |
Protected Attributes | |
hint_statistics | hint_stats |
store_type | store |
Private Member Functions | |
Derived & | impl () |
const Derived & | impl () const |
A base class for the Trie implementation allowing various specializations of the Trie template to inherit common functionality.
Dim | the number of dimensions / arity of the stored tuples |
Derived | the type derived from this base class |
using souffle::detail::brie::TrieBase< Dim, Derived >::const_entry_span_type = typename types::const_entry_span_type |
using souffle::detail::brie::TrieBase< Dim, Derived >::entry_span_type = typename types::entry_span_type |
using souffle::detail::brie::TrieBase< Dim, Derived >::entry_type = typename types::entry_type |
using souffle::detail::brie::TrieBase< Dim, Derived >::iterator = typename types::iterator |
using souffle::detail::brie::TrieBase< Dim, Derived >::iterator_core = typename types::iterator_core |
using souffle::detail::brie::TrieBase< Dim, Derived >::op_context = typename types::op_context |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
mutableprotected |
|
protected |