JmesPathExpressionpublic class OpEquals extends Comparator
| Constructor | Description |
|---|---|
OpEquals(JmesPathExpression lhsExpr,
JmesPathExpression rhsExpr) |
| Modifier and Type | Method | Description |
|---|---|---|
<InputT,OutputT> |
accept(JmesPathVisitor<InputT,OutputT> visitor,
InputT input) |
Delegates to either the CodeGen visitor(Comparator) or
Evaluation visitor(Comparator) based on the type of JmesPath
visitor
|
boolean |
matches(com.fasterxml.jackson.databind.JsonNode lhs,
com.fasterxml.jackson.databind.JsonNode rhs) |
Checks whether lhs is equal to rhs
|
getLhsExpr, getRhsExprpublic OpEquals(JmesPathExpression lhsExpr, JmesPathExpression rhsExpr)
public <InputT,OutputT> OutputT accept(JmesPathVisitor<InputT,OutputT> visitor, InputT input) throws InvalidTypeException
InputT - Input type for the visitor
CodeGen visitor: Void
Evaluation visitor: JsonNodeOutputT - Output type for the visitor
CodeGen visitor: String
Evaluation visitor: JsonNodevisitor - CodeGen visitor or Evaluation visitorinput - Input expression that needs to be evaluatedInvalidTypeExceptionpublic boolean matches(com.fasterxml.jackson.databind.JsonNode lhs,
com.fasterxml.jackson.databind.JsonNode rhs)
matches in class Comparatorlhs - Lhs expressionrhs - Rhs expressionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.