Class UnaryExpression
java.lang.Object
org.qubership.integration.platform.engine.mapper.atlasmap.expressions.UnaryExpression
- All Implemented Interfaces:
io.atlasmap.expression.Expression
Copied from io.atlasmap.expression.internal.BooleanExpression
Added all the types from JsonFieldReader to negate.
An expression which performs an operation on two expression values.
- Version:
- $Revision: 1.3 $
-
Field Summary
FieldsFields inherited from interface io.atlasmap.expression.Expression
CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.atlasmap.expression.internal.BooleanExpressioncreateBooleanCast(io.atlasmap.expression.Expression left) static io.atlasmap.expression.internal.BooleanExpressioncreateInExpression(io.atlasmap.expression.internal.VariableExpression right, List<Object> elements, boolean not) static io.atlasmap.expression.ExpressioncreateNegate(io.atlasmap.expression.Expression left) static io.atlasmap.expression.internal.BooleanExpressioncreateNOT(io.atlasmap.expression.internal.BooleanExpression left) booleanTODO: more efficient hashCode()abstract StringReturns the symbol that represents this binary expression.io.atlasmap.expression.ExpressiongetRight()inthashCode()TODO: more efficient hashCode()voidsetRight(io.atlasmap.expression.Expression expression) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.atlasmap.expression.Expression
evaluate
-
Field Details
-
right
protected io.atlasmap.expression.Expression right
-
-
Constructor Details
-
UnaryExpression
public UnaryExpression(io.atlasmap.expression.Expression left)
-
-
Method Details
-
createNegate
public static io.atlasmap.expression.Expression createNegate(io.atlasmap.expression.Expression left) -
createInExpression
-
createNOT
public static io.atlasmap.expression.internal.BooleanExpression createNOT(io.atlasmap.expression.internal.BooleanExpression left) -
createBooleanCast
public static io.atlasmap.expression.internal.BooleanExpression createBooleanCast(io.atlasmap.expression.Expression left) -
getRight
public io.atlasmap.expression.Expression getRight() -
setRight
public void setRight(io.atlasmap.expression.Expression expression) -
toString
-
hashCode
public int hashCode()TODO: more efficient hashCode() -
equals
TODO: more efficient hashCode() -
getExpressionSymbol
Returns the symbol that represents this binary expression. For example, addition is represented by "+"- Returns:
- expression symbol string
-