T - Expression typepublic interface TypedExpression<T> extends Expression
Expression with a declared type.Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException| Modifier and Type | Method and Description |
|---|---|
default Optional<TemporalType> |
getTemporalType()
If the expression type represents a temporal type, get the actual
TemporalType of the type. |
Class<? extends T> |
getType()
Get the expression type.
|
default Optional<CollectionExpression<?,?>> |
isCollectionExpression()
Checks if this expression is a
CollectionExpression. |
default Optional<ConverterExpression<T>> |
isConverterExpression()
Checks if this expression is a
ConverterExpression. |
validatedefault Optional<TemporalType> getTemporalType()
TemporalType of the type.default Optional<ConverterExpression<T>> isConverterExpression()
ConverterExpression.ConverterExpression returns the expression itself as a
ConverterExpression, or an empty Optional otherwisedefault Optional<CollectionExpression<?,?>> isCollectionExpression()
CollectionExpression.CollectionExpression returns the expression itself as a
CollectionExpression, or an empty Optional otherwiseCopyright © 2019 The Holon Platform. All rights reserved.