JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
AttributeVisitor.h
Go to the documentation of this file.
1 //
2 // Created by nico on 10/31/17.
3 //
4 
5 #ifndef PJDB_ATTRIBUTEVISITOR_H
6 #define PJDB_ATTRIBUTEVISITOR_H
7 
8 #include "AndPredicate.h"
9 #include "PredicateVisitor.h"
10 namespace joda::query {
12  public:
13  void visit(AndPredicate *e) override;
14  void visit(NegatePredicate *e) override;
15  void visit(OrPredicate *e) override;
16  void visit(EqualizePredicate *e) override;
17  void visit(ComparePredicate *e) override;
18  void visit(ValToPredicate *e) override;
19  std::vector<std::string> getAttributes() const;
20 
21  protected:
22  std::vector<std::string> attributes;
23 };
24 } // namespace joda::query
25 
26 #endif // PJDB_ATTRIBUTEVISITOR_H
Definition: AndPredicate.h:13
Definition: AttributeVisitor.h:11
std::vector< std::string > getAttributes() const
Definition: AttributeVisitor.cpp:28
void visit(AndPredicate *e) override
Definition: AttributeVisitor.cpp:14
std::vector< std::string > attributes
Definition: AttributeVisitor.h:22
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