souffle
2.0.2-371-g6315b36
|
A view on a relation caching local access patterns (not thread safe!). More...
#include <Index.h>
Public Member Functions | |
bool | contains (const Tuple &entry) |
Tests whether the given entry is contained in this index. More... | |
bool | contains (const Tuple &low, const Tuple &high) |
Tests whether any element in the given range is contained in this index. More... | |
souffle::range< iterator > | range (const Tuple &low, const Tuple &high) |
Obtains a pair of iterators representing the given range within this index. More... | |
View (const Data &data) | |
Public Member Functions inherited from souffle::interpreter::ViewWrapper | |
virtual | ~ViewWrapper ()=default |
Private Attributes | |
const Data & | data |
Hints | hints |
A view on a relation caching local access patterns (not thread safe!).
Each thread should create and use its own view for accessing relations to exploit access patterns via operation hints.
|
inline |
|
inline |
|
inline |
Tests whether any element in the given range is contained in this index.
Definition at line 185 of file Index.h.
References souffle::interpreter::Index< _Arity, Structure >::View::data, high, souffle::interpreter::Index< _Arity, Structure >::View::hints, and low.
|
inline |
|
private |
Definition at line 174 of file Index.h.
Referenced by souffle::interpreter::Index< _Arity, Structure >::View::contains(), and souffle::interpreter::Index< 0, Structure >::View::View().
|
mutableprivate |
Definition at line 173 of file Index.h.
Referenced by souffle::interpreter::Index< _Arity, Structure >::View::contains().