Class SqmJpaCompoundSelection<T>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<T>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<T>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<T>
org.hibernate.query.sqm.tree.select.SqmJpaCompoundSelection<T>
- All Implemented Interfaces:
CompoundSelection<T>, Expression<T>, Selection<T>, TupleElement<T>, Serializable, JpaCompoundSelection<T>, JpaCriteriaNode, JpaExpression<T>, JpaSelection<T>, JpaTupleElement<T>, SqmExpressible<T>, SqmExpression<T>, SqmSelectableNode<T>, SqmCacheable, SqmExpressibleAccessor<T>, SqmNode, SqmTypedNode<T>, SqmVisitableNode
public class SqmJpaCompoundSelection<T>
extends AbstractSqmExpression<T>
implements JpaCompoundSelection<T>, SqmExpressible<T>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmJpaCompoundSelection(List<? extends SqmSelectableNode<?>> selectableNodes, JavaType<T> javaType, NodeBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) intcopy(SqmCopyContext context) boolean@Nullable StringgetAlias()The Java type descriptor for this expressibleList<? extends SqmSelectableNode<?>> @Nullable SqmDomainType<T> inthashCode()booleanisCompatible(Object object) booleanvoidvisitSubSelectableNodes(Consumer<SqmSelectableNode<?>> jpaSelectionConsumer) Visit each of this selectable's direct sub-selectables - used to support JPA'sSelectionmodel (which is really a "selectable", just poorly named and poorly definedMethods inherited from class AbstractSqmExpression
applyInferableType, as, cast, equalTo, equalTo, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualToMethods inherited from class AbstractJpaTupleElement
copyTo, getNodeType, setAlias, setExpressibleTypeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaSelection
getCompoundSelectionItemsMethods inherited from interface JpaTupleElement
getJavaTypeName, isEnumMethods inherited from interface SqmExpressible
getRelationalJavaType, getTypeNameMethods inherited from interface SqmExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, getNodeTypeMethods inherited from interface SqmNode
asLoggableTextMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
toHqlString
-
Constructor Details
-
SqmJpaCompoundSelection
public SqmJpaCompoundSelection(List<? extends SqmSelectableNode<?>> selectableNodes, JavaType<T> javaType, NodeBuilder criteriaBuilder)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<T>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmSelectableNode<T>- Specified by:
copyin interfaceSqmTypedNode<T>
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptorin interfaceJpaTupleElement<T>- Overrides:
getJavaTypeDescriptorin classAbstractSqmExpression<T>
-
getExpressibleJavaType
Description copied from interface:SqmExpressibleThe Java type descriptor for this expressible- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<T>
-
getJavaType
- Specified by:
getJavaTypein interfaceJpaTupleElement<T>- Specified by:
getJavaTypein interfaceTupleElement<T>
-
getSelectionItems
- Specified by:
getSelectionItemsin interfaceJpaSelection<T>- Overrides:
getSelectionItemsin classAbstractJpaSelection<T>
-
alias
- Specified by:
aliasin interfaceJpaSelection<T>- Specified by:
aliasin interfaceSelection<T>- Overrides:
aliasin classAbstractJpaSelection<T>
-
getAlias
- Specified by:
getAliasin interfaceTupleElement<T>- Overrides:
getAliasin classAbstractJpaTupleElement<T>
-
isCompoundSelection
public boolean isCompoundSelection()- Specified by:
isCompoundSelectionin interfaceSelection<T>- Overrides:
isCompoundSelectionin classAbstractJpaSelection<T>
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
equals
-
hashCode
-
isCompatible
- Specified by:
isCompatiblein interfaceSqmCacheable
-
cacheHashCode
public int cacheHashCode()- Specified by:
cacheHashCodein interfaceSqmCacheable
-
visitSubSelectableNodes
Description copied from interface:SqmSelectableNodeVisit each of this selectable's direct sub-selectables - used to support JPA'sSelectionmodel (which is really a "selectable", just poorly named and poorly defined- Specified by:
visitSubSelectableNodesin interfaceSqmExpression<T>- Specified by:
visitSubSelectableNodesin interfaceSqmSelectableNode<T>- See Also:
-
getSqmType
- Specified by:
getSqmTypein interfaceSqmExpressible<T>
-