public interface CommonExpression extends Visitable
This interface defines the default methods for all expression tree nodes
|Modifier and Type||Method and Description|
Returns the URI literal which lead to the creation of this expression.
Set the edmType of this expression node
getEdmType()method for an expression representing the "concat" method will return always "Edm.String".
This type information is set while parsing the $filter or $orderby
expressions and used to do a first validation of the expression.
For calculating operators like "add, sub, mul" this type
information is purely based on input and output types of the
operator as defined in the OData specification.
So for $filter=2 add 7 the
getEdmType() method of the binary expression
will return Edm.Byte and not Edm.Int16 because the parser performs no real
However, the application may change this type while evaluating the expression tree.
CommonExpression setEdmType(EdmType edmType)
edmType- Type to be set
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.