public class JmesPathFilter extends Object implements JmesPathExpression
Constructor and Description |
---|
JmesPathFilter(JmesPathExpression lhsExpr,
JmesPathExpression rhsExpr,
JmesPathExpression comparator) |
Modifier and Type | Method and Description |
---|---|
<Input,Output> |
accept(JmesPathVisitor<Input,Output> visitor,
Input input)
Delegates to either the CodeGen visitor(JmesPathFilter) or
Evaluation visitor(JmesPathFilter) based on the type of JmesPath
visitor
|
JmesPathExpression |
getComparator() |
JmesPathExpression |
getLhsExpr() |
JmesPathExpression |
getRhsExpr() |
public JmesPathFilter(JmesPathExpression lhsExpr, JmesPathExpression rhsExpr, JmesPathExpression comparator)
public JmesPathExpression getRhsExpr()
public JmesPathExpression getLhsExpr()
public JmesPathExpression getComparator()
public <Input,Output> Output accept(JmesPathVisitor<Input,Output> visitor, Input input) throws InvalidTypeException
accept
in interface JmesPathExpression
Input
- Input type for the visitor
CodeGen visitor: Void
Evaluation visitor: JsonNodeOutput
- Output type for the visitor
CodeGen visitor: String
Evaluation visitor: JsonNodevisitor
- CodeGen visitor or Evaluation visitorinput
- Input expression that needs to be evaluatedInvalidTypeException