Class AbstractJpaSelection<T>
java.lang.Object
org.hibernate.query.sqm.tree.spi.AbstractSqmNode
org.hibernate.query.sqm.tree.spi.jpa.AbstractJpaTupleElement<T>
org.hibernate.query.sqm.tree.spi.jpa.AbstractJpaSelection<T>
- All Implemented Interfaces:
Selection<T>, TupleElement<T>, Serializable, JpaCriteriaNode, JpaSelection<T>, JpaTupleElement<T>, SqmSelectableNode<T>, SqmCacheable, SqmExpressibleAccessor<T>, SqmNode, SqmTypedNode<T>, SqmVisitableNode
- Direct Known Subclasses:
AbstractSqmExpression, SqmDynamicInstantiation
public abstract class AbstractJpaSelection<T>
extends AbstractJpaTupleElement<T>
implements SqmSelectableNode<T>, JpaSelection<T>
Base support for
JpaSelection impls.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractJpaSelection(SqmBindableType<? super T> sqmExpressible, NodeBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescriptionAssign an alias to this selection.List<? extends JpaSelection<?>> Return the items of this selection.booleanMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleTypeMethods inherited from class AbstractSqmNode
nodeBuilderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaSelection
getCompoundSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeIfKnown, getJavaTypeName, isEnumMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmSelectableNode
copy, getTupleLength, visitSubSelectableNodesMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaType, getNodeTypeMethods inherited from interface SqmVisitableNode
accept, appendHqlString, toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
AbstractJpaSelection
protected AbstractJpaSelection(@Nullable SqmBindableType<? super T> sqmExpressible, @Nonnull NodeBuilder criteriaBuilder)
-
-
Method Details
-
alias
Description copied from interface:JpaSelectionAssign an alias to this selection. -
isCompoundSelection
public boolean isCompoundSelection()- Specified by:
isCompoundSelectionin interfaceSelection<T>
-
getSelectionItems
Description copied from interface:JpaSelectionReturn the items of this selection.- Specified by:
getSelectionItemsin interfaceJpaSelection<T>
-