JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions | Protected Attributes
joda::query::BloomAttributeVisitor Class Reference

#include <BloomAttributeVisitor.h>

Inheritance diagram for joda::query::BloomAttributeVisitor:
[legend]
Collaboration diagram for joda::query::BloomAttributeVisitor:
[legend]

Public Member Functions

void visit (AndPredicate *e) override
 
void visit (NegatePredicate *e) override
 
void visit (OrPredicate *e) override
 
void visit (EqualizePredicate *e) override
 
void visit (ComparePredicate *e) override
 
void visit (ValToPredicate *e) override
 
bool isValid () const
 
std::vector< std::string > getAttributes () const
 

Protected Attributes

bool valid = true
 
std::vector< std::string > attributes
 

Detailed Description

Visitor extracting required JSON pointers for usage in Bloom filter

Member Function Documentation

◆ getAttributes()

std::vector< std::string > joda::query::BloomAttributeVisitor::getAttributes ( ) const
Returns
the extracted attributes (JSON pointers)
Here is the caller graph for this function:

◆ isValid()

bool joda::query::BloomAttributeVisitor::isValid ( ) const
Here is the caller graph for this function:

◆ visit() [1/6]

void joda::query::BloomAttributeVisitor::visit ( AndPredicate e)
overridevirtual

Visits an AndPredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [2/6]

void joda::query::BloomAttributeVisitor::visit ( ComparePredicate e)
overridevirtual

Visits an ComparePredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [3/6]

void joda::query::BloomAttributeVisitor::visit ( EqualizePredicate e)
overridevirtual

Visits an EqualizePredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [4/6]

void joda::query::BloomAttributeVisitor::visit ( NegatePredicate e)
overridevirtual

Visits an NegatePredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

◆ visit() [5/6]

void joda::query::BloomAttributeVisitor::visit ( OrPredicate e)
overridevirtual

Visits an OrPredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

◆ visit() [6/6]

void joda::query::BloomAttributeVisitor::visit ( ValToPredicate e)
overridevirtual

Visits an ValToPredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

Field Documentation

◆ attributes

std::vector<std::string> joda::query::BloomAttributeVisitor::attributes
protected

◆ valid

bool joda::query::BloomAttributeVisitor::valid = true
protected

The documentation for this class was generated from the following files: