public final class ESCriteriaVisitor extends Object implements ASTCriteriaVisitor
Constructor and Description |
---|
ESCriteriaVisitor() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
getNode() |
void |
visitLogicalOp(String logicalOp,
List<ASTCriteriaVisitor> visitedSubTrees) |
void |
visitPredicate(String predicateOp,
String leftColCanonical,
List<String> rightExps)
Visits simple predicate
|
void |
visitUnaryLogicalOp(String logicalOp,
ASTCriteriaVisitor visitedSubTree) |
public void visitLogicalOp(String logicalOp, List<ASTCriteriaVisitor> visitedSubTrees)
visitLogicalOp
in interface ASTCriteriaVisitor
logicalOp
- The logical operatorvisitedSubTrees
- The visited subtree of logical operatorpublic void visitUnaryLogicalOp(String logicalOp, ASTCriteriaVisitor visitedSubTree)
visitUnaryLogicalOp
in interface ASTCriteriaVisitor
logicalOp
- The unary operatorvisitedSubTree
- The visited subtree of unary operatorpublic void visitPredicate(String predicateOp, String leftColCanonical, List<String> rightExps) throws InvalidQueryException
ASTCriteriaVisitor
visitPredicate
in interface ASTCriteriaVisitor
predicateOp
- Operator constructing the predicateleftColCanonical
- Left columnrightExps
- Right expressionInvalidQueryException
public com.fasterxml.jackson.databind.node.ObjectNode getNode()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.