![]() |
JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <CacheEntry.h>
Public Types | |
| typedef std::vector< bool > | CacheIndex |
Public Member Functions | |
| CacheEntry (std::shared_ptr< const CacheIndex > docs, std::shared_ptr< joda::query::Predicate > predicate) | |
| CacheEntry (std::shared_ptr< const CacheIndex > &&docs, std::shared_ptr< joda::query::Predicate > predicate) | |
| void | acceptPredicate (joda::query::PredicateVisitor &v) |
| std::shared_ptr< const CacheIndex > | getDocs () const |
| const long | estimatedSize () |
Protected Attributes | |
| std::shared_ptr< const CacheIndex > | docs |
| std::shared_ptr< joda::query::Predicate > | predicate |
One Cache entry, containing the result documents and the predicate responsible for them
| typedef std::vector<bool> CacheEntry::CacheIndex |
| CacheEntry::CacheEntry | ( | std::shared_ptr< const CacheIndex > | docs, |
| std::shared_ptr< joda::query::Predicate > | predicate | ||
| ) |
| CacheEntry::CacheEntry | ( | std::shared_ptr< const CacheIndex > && | docs, |
| std::shared_ptr< joda::query::Predicate > | predicate | ||
| ) |
| void CacheEntry::acceptPredicate | ( | joda::query::PredicateVisitor & | v | ) |
Executes the given PredicateVisitor on the stored predicate
| v | A reference to the PredicateVisitor to execute |
| const long CacheEntry::estimatedSize | ( | ) |
Returns the estimated memory size of the CacheEntry
| std::shared_ptr< const CacheEntry::CacheIndex > CacheEntry::getDocs | ( | ) | const |
Returns the set of documents in the CacheEntry
|
protected |
|
protected |