JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
BloomAttributeVisitor.h
Go to the documentation of this file.
1 //
2 // Created by Nico Schäfer on 10/31/17.
3 //
4 
5 #ifndef JODA_ATTRIBUTEVISITOR_H
6 #define JODA_ATTRIBUTEVISITOR_H
7 
8 #include "AndPredicate.h"
9 #include "ComparePredicate.h"
10 #include "EqualizePredicate.h"
11 #include "NegatePredicate.h"
12 #include "OrPredicate.h"
13 #include "Predicate.h"
14 #include "PredicateVisitor.h"
15 namespace joda::query {
20  public:
21  void visit(AndPredicate *e) override;
22  void visit(NegatePredicate *e) override;
23  void visit(OrPredicate *e) override;
24  void visit(EqualizePredicate *e) override;
25  void visit(ComparePredicate *e) override;
26  void visit(ValToPredicate *e) override;
27  bool isValid() const;
28 
32  std::vector<std::string> getAttributes() const;
33 
34  protected:
35  bool valid = true;
36  std::vector<std::string> attributes;
37 };
38 } // namespace joda::query
39 
40 #endif // JODA_ATTRIBUTEVISITOR_H
Definition: AndPredicate.h:13
Definition: BloomAttributeVisitor.h:19
std::vector< std::string > attributes
Definition: BloomAttributeVisitor.h:36
std::vector< std::string > getAttributes() const
Definition: BloomAttributeVisitor.cpp:24
bool isValid() const
Definition: BloomAttributeVisitor.cpp:23
bool valid
Definition: BloomAttributeVisitor.h:35
void visit(AndPredicate *e) override
Definition: BloomAttributeVisitor.cpp:11
Definition: ComparePredicate.h:25
Definition: EqualizePredicate.h:25
Definition: NegatePredicate.h:15
Definition: OrPredicate.h:15
Definition: PredicateVisitor.h:29
Definition: ValToPredicate.h:17
Definition: AttributeStatAggregator.h:12