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
,BindableType<T>
,JpaCompoundSelection<T>
,JpaCriteriaNode
,JpaExpression<T>
,JpaSelection<T>
,JpaTupleElement<T>
,SqmExpressible<T>
,SqmExpression<T>
,SqmSelectableNode<T>
,SqmExpressibleAccessor<T>
,SqmNode
,SqmTypedNode<T>
,SqmVisitableNode
public class SqmJpaCompoundSelection<T>
extends AbstractSqmExpression<T>
implements JpaCompoundSelection<T>, SqmExpressible<T>
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmJpaCompoundSelection
(List<SqmSelectableNode<?>> selectableNodes, JavaType<T> javaType, NodeBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> X
accept
(SemanticQueryWalker<X> walker) Accept the walker per visitationvoid
copy
(SqmCopyContext context) getAlias()
The expected Java typeThe Java type descriptor for this expressibleboolean
void
visitSubSelectableNodes
(Consumer<SqmSelectableNode<?>> jpaSelectionConsumer) Visit each of this selectable's direct sub-selectables - used to support JPA'sSelection
model (which is really a "selectable", just poorly named and poorly definedMethods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualTo
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getNodeType, setAlias, setExpressibleType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
getCompoundSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaTypeName, isEnum
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressible
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
castAs, getNodeType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Constructor Details
-
SqmJpaCompoundSelection
public SqmJpaCompoundSelection(List<SqmSelectableNode<?>> selectableNodes, JavaType<T> javaType, NodeBuilder criteriaBuilder)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceSqmExpression<T>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmSelectableNode<T>
- Specified by:
copy
in interfaceSqmTypedNode<T>
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptor
in interfaceJpaTupleElement<T>
- Overrides:
getJavaTypeDescriptor
in classAbstractSqmExpression<T>
-
getExpressibleJavaType
Description copied from interface:SqmExpressible
The Java type descriptor for this expressible- Specified by:
getExpressibleJavaType
in interfaceSqmExpressible<T>
-
getJavaType
- Specified by:
getJavaType
in interfaceJpaTupleElement<T>
- Specified by:
getJavaType
in interfaceTupleElement<T>
-
getBindableJavaType
Description copied from interface:BindableType
The expected Java type- Specified by:
getBindableJavaType
in interfaceBindableType<T>
-
getSelectionItems
- Specified by:
getSelectionItems
in interfaceJpaSelection<T>
- Overrides:
getSelectionItems
in classAbstractJpaSelection<T>
-
alias
- Specified by:
alias
in interfaceJpaSelection<T>
- Specified by:
alias
in interfaceSelection<T>
- Overrides:
alias
in classAbstractJpaSelection<T>
-
getAlias
- Specified by:
getAlias
in interfaceTupleElement<T>
- Overrides:
getAlias
in classAbstractJpaTupleElement<T>
-
isCompoundSelection
public boolean isCompoundSelection()- Specified by:
isCompoundSelection
in interfaceSelection<T>
- Overrides:
isCompoundSelection
in classAbstractJpaSelection<T>
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
visitSubSelectableNodes
Description copied from interface:SqmSelectableNode
Visit each of this selectable's direct sub-selectables - used to support JPA'sSelection
model (which is really a "selectable", just poorly named and poorly defined- Specified by:
visitSubSelectableNodes
in interfaceSqmExpression<T>
- Specified by:
visitSubSelectableNodes
in interfaceSqmSelectableNode<T>
- See Also:
-
getSqmType
- Specified by:
getSqmType
in interfaceSqmExpressible<T>
-