public class SizeOfCollectionExpression<C extends Collection> extends ExpressionImpl<Integer> implements Serializable
ParameterContainer.Helper
Constructor and Description |
---|
SizeOfCollectionExpression(CriteriaBuilderImpl criteriaBuilder,
PluralAttributePath<C> collectionPath) |
Modifier and Type | Method and Description |
---|---|
PluralAttributePath<C> |
getCollectionPath() |
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
String |
render(CriteriaQueryCompiler.RenderingContext renderingContext) |
String |
renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext) |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueHandlers
getValueHandler
public SizeOfCollectionExpression(CriteriaBuilderImpl criteriaBuilder, PluralAttributePath<C> collectionPath)
public PluralAttributePath<C> getCollectionPath()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registry
- The parameter registry with which to register.public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render
in interface Renderable
public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
renderProjection
in interface Renderable
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved