public static class Expressions.Count extends Expressions.UnaryFunctionalExpression<java.lang.Long>
e
Constructor and Description |
---|
Expressions.Count(javax.persistence.criteria.Expression<?> x) |
Expressions.Count(javax.persistence.criteria.Expression<?> x,
boolean distinct) |
Modifier and Type | Method and Description |
---|---|
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.
|
acceptVisit
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
public Expressions.Count(javax.persistence.criteria.Expression<?> x)
public Expressions.Count(javax.persistence.criteria.Expression<?> x, boolean distinct)
public Value toValue(ExpressionFactory factory, CriteriaQueryImpl<?> q)
ExpressionImpl
toValue
in class ExpressionImpl<java.lang.Long>
factory
- creates the kernel expressionq
- the query definition context of this expressionpublic java.lang.StringBuilder asValue(AliasContext q)
CriteriaExpression
asValue
in interface CriteriaExpression
asValue
in class SelectionImpl<java.lang.Long>
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.