-
Method Summary
Get this expression as a time expression
default boolean
Check if this expression is a time expresion.
Methods inherited from interface org.n52.svalbard.odata.core.expr.Expr
accept, asArithmetic, asBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTextValue, asUnary, isArithmetic, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTextValue, isUnary
-
Method Details
-
isTime
default boolean isTime()
Description copied from interface: Expr
Check if this expression is a time expresion.
- Specified by:
isTime in interface Expr
- Returns:
- if it is a arithmetic expression
-
asTime
Description copied from interface: Expr
Get this expression as a time expression
- Specified by:
asTime in interface Expr
- Returns:
- the expression or
Optional.empty() if the type does not match