public class OpNotEquals extends Comparator
| Constructor and Description |
|---|
OpNotEquals(JmesPathExpression lhsExpr,
JmesPathExpression rhsExpr) |
| Modifier and Type | Method and Description |
|---|---|
<Input,Output> |
accept(JmesPathVisitor<Input,Output> visitor,
Input 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 not equal to rhs
|
getLhsExpr, getRhsExprpublic OpNotEquals(JmesPathExpression lhsExpr, JmesPathExpression rhsExpr)
public <Input,Output> Output accept(JmesPathVisitor<Input,Output> visitor, Input input) throws InvalidTypeException
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 evaluatedInvalidTypeExceptionpublic boolean matches(com.fasterxml.jackson.databind.JsonNode lhs,
com.fasterxml.jackson.databind.JsonNode rhs)
matches in class Comparatorlhs - Lhs expressionrhs - Rhs expression