Top Description Fields Constructors Methods
org.hibernate.query.criteria.internal.expression

public Class SizeOfPluralAttributeExpression

extends ExpressionImpl<Integer>
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, org.hibernate.query.criteria.internal.CriteriaBuilderImpl, .ParameterRegistry, org.hibernate.query.criteria.internal.compile.RenderingContext, org.hibernate.query.criteria.internal.path.PluralAttributePath

Represents a "size of" expression in regards to a persistent collection; the implication is that of a subquery.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PluralAttributePath<X>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PluralAttributePath<X>
public PluralAttributePath<X>
public void
registerParameters(ParameterRegistry
The parameter registry with which to register.
registry
)

Implements org.hibernate.query.criteria.internal.ParameterContainer.registerParameters.

Register any parameters contained within this query component with the given registry.
public String
render(RenderingContext renderingContext)

Implements org.hibernate.query.criteria.internal.Renderable.render.

Perform the rendering, returning the rendition
Inherited from org.hibernate.query.criteria.internal.expression.ExpressionImpl:
asasBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasStringininininisNotNullisNull

Field Detail

pathback to summary
private final PluralAttributePath<X> path

Constructor Detail

SizeOfPluralAttributeExpressionback to summary
public SizeOfPluralAttributeExpression(CriteriaBuilderImpl criteriaBuilder, PluralAttributePath<X> path)

Method Detail

getCollectionPathback to summary
public PluralAttributePath<X> getCollectionPath()

Deprecated

Use getPluralAttributePath() instead

Annotations
@Deprecated
getPluralAttributePathback to summary
public PluralAttributePath<X> getPluralAttributePath()
registerParametersback to summary
public void registerParameters(ParameterRegistry registry)

Implements org.hibernate.query.criteria.internal.ParameterContainer.registerParameters.

Doc from org.hibernate.query.criteria.internal.ParameterContainer.registerParameters.

Register any parameters contained within this query component with the given registry.

Parameters
registry:ParameterRegistry

The parameter registry with which to register.

renderback to summary
public String render(RenderingContext renderingContext)

Implements org.hibernate.query.criteria.internal.Renderable.render.

Doc from org.hibernate.query.criteria.internal.Renderable.render.

Perform the rendering, returning the rendition