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
|
public void visitLogicalOp(String logicalOp, List<ASTCriteriaVisitor> visitedSubTrees) throws InvalidQueryException
visitLogicalOp
in interface ASTCriteriaVisitor
logicalOp
- The logical operatorvisitedSubTrees
- The visited subtree of logical operatorInvalidQueryException
public 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.