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

public Class CompoundSelectionImpl<X>

extends SelectionImpl<X>
implements CompoundSelection<X>, Renderable, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.query.criteria.internal.Renderable, javax.persistence.criteria.CompoundSelection, javax.persistence.criteria.Selection, javax.persistence.TupleElement
Imports
java.io.Serializable, java.util.ArrayList, .List, javax.persistence.Tuple, javax.persistence.criteria.CompoundSelection, .Selection, org.hibernate.query.criteria.internal.CriteriaBuilderImpl, .ParameterRegistry, .Renderable, .TupleElementImplementor, .ValueHandlerFactory, org.hibernate.query.criteria.internal.compile.RenderingContext

The Hibernate implementation of the JPA CompoundSelection contract.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final boolean
private List<Selection<?>>

Constructor Summary

AccessConstructor and Description
public
CompoundSelectionImpl(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, List<Selection<?>> selectionItems)

Method Summary

Modifier and TypeMethod and Description
public List<Selection<?>>
public List<ValueHandlerFactory.ValueHandler<T>>
public boolean
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.SelectionImpl:
alias

Field Detail

isConstructorback to summary
private final boolean isConstructor
selectionItemsback to summary
private List<Selection<?>> selectionItems

Constructor Detail

CompoundSelectionImplback to summary
public CompoundSelectionImpl(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, List<Selection<?>> selectionItems)

Method Detail

getCompoundSelectionItemsback to summary
public List<Selection<?>> getCompoundSelectionItems()

Overrides org.hibernate.query.criteria.internal.expression.SelectionImpl.getCompoundSelectionItems.

Implements javax.persistence.criteria.Selection.getCompoundSelectionItems.

Doc from javax.persistence.criteria.Selection.getCompoundSelectionItems.

Return the selection items composing a compound selection. Modifications to the list do not affect the query.

Returns:List<Selection<?>>

list of selection items

Annotations
@Override
getValueHandlersback to summary
public List<ValueHandlerFactory.ValueHandler<T>> getValueHandlers()

Overrides org.hibernate.query.criteria.internal.expression.SelectionImpl.getValueHandlers.

Implements org.hibernate.query.criteria.internal.SelectionImplementor.getValueHandlers.

Annotations
@Override
isCompoundSelectionback to summary
public boolean isCompoundSelection()

Overrides org.hibernate.query.criteria.internal.expression.SelectionImpl.isCompoundSelection.

Implements javax.persistence.criteria.Selection.isCompoundSelection.

Doc from javax.persistence.criteria.Selection.isCompoundSelection.

Whether the selection item is a compound selection.

Returns:boolean

boolean indicating whether the selection is a compound selection

Annotations
@Override
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