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

public Class ListIndexExpression

extends ExpressionImpl<Integer>
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, javax.persistence.metamodel.ListAttribute, org.hibernate.query.criteria.internal.CriteriaBuilderImpl, .ParameterRegistry, .PathImplementor, org.hibernate.query.criteria.internal.compile.RenderingContext

An expression for referring to the index of a list.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final ListAttribute<X, E>
private final PathImplementor<X>

Constructor Summary

AccessConstructor and Description
public
ListIndexExpression(CriteriaBuilderImpl criteriaBuilder, PathImplementor<X> origin, ListAttribute<X, E> listAttribute)

Method Summary

Modifier and TypeMethod and Description
public ListAttribute<X, E>
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

listAttributeback to summary
private final ListAttribute<X, E> listAttribute
originback to summary
private final PathImplementor<X> origin

Constructor Detail

ListIndexExpressionback to summary
public ListIndexExpression(CriteriaBuilderImpl criteriaBuilder, PathImplementor<X> origin, ListAttribute<X, E> listAttribute)

Method Detail

getListAttributeback to summary
public ListAttribute<X, E> getListAttribute()
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