public static class Expressions.CastAs<Y> extends ExpressionImpl<Y>
Modifier and Type | Field and Description |
---|---|
protected ExpressionImpl<?> |
actual |
Constructor and Description |
---|
Expressions.CastAs(java.lang.Class<Y> cast,
ExpressionImpl<?> actual) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisit(CriteriaExpressionVisitor visitor)
Accept visit from the given visitor.
|
java.lang.StringBuilder |
asValue(AliasContext q)
Get a string representation of this node as a value in the context of the given query.
|
Value |
toValue(ExpressionFactory factory,
CriteriaQueryImpl<?> q)
Bridge contract to convert this facade expression to a kernel value.
|
as, in, in, in, in, isNotNull, isNull, toKernelExpression
alias, asProjection, assertValidName, asVariable, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAlias
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final ExpressionImpl<?> actual
public Expressions.CastAs(java.lang.Class<Y> cast, ExpressionImpl<?> actual)
public Value toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
ExpressionImpl
toValue
in class ExpressionImpl<Y>
factory
- creates the kernel expressionq
- the query definition context of this expressionpublic void acceptVisit(CriteriaExpressionVisitor visitor)
CriteriaExpression
acceptVisit
in interface CriteriaExpression
acceptVisit
in class SelectionImpl<Y>
visitor
- a processor to walk the nodes of a tree.public java.lang.StringBuilder asValue(AliasContext q)
CriteriaExpression
asValue
in interface CriteriaExpression
asValue
in class SelectionImpl<Y>
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.