Class SqmSelectClause
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.select.SqmSelectClause
- All Implemented Interfaces:
Selection<Object>,TupleElement<Object>,Serializable,JpaCriteriaNode,JpaSelection<Object>,JpaTupleElement<Object>,SqmAliasedExpressionContainer<SqmSelection<?>>,SqmNode
public class SqmSelectClause
extends AbstractSqmNode
implements SqmAliasedExpressionContainer<SqmSelection<?>>, JpaSelection<Object>
The semantic select clause. Defined as a list of individual selections.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmSelectClause(boolean distinct, int expectedNumberOfSelections, NodeBuilder nodeBuilder) SqmSelectClause(boolean distinct, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescriptionSqmSelection<?> add(SqmExpression<?> expression, String alias) voidadd(SqmSelection<?> aliasExpression) voidaddSelection(SqmSelection<?> selection) copy(SqmCopyContext context) booleangetAlias()List<SqmSelection<?>> inthashCode()booleanbooleanvoidmakeDistinct(boolean distinct) JpaSelection<?> voidsetSelection(SqmSelectableNode<?> selectableNode) voidsetSelection(SqmSelection<?> sqmSelection) Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.JpaSelection
getCompoundSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText
-
Constructor Details
-
SqmSelectClause
-
SqmSelectClause
-
-
Method Details
-
copy
-
isDistinct
public boolean isDistinct() -
makeDistinct
public void makeDistinct(boolean distinct) -
getSelections
-
addSelection
-
add
- Specified by:
addin interfaceSqmAliasedExpressionContainer<SqmSelection<?>>
-
add
- Specified by:
addin interfaceSqmAliasedExpressionContainer<SqmSelection<?>>
-
setSelection
-
setSelection
-
resolveJpaSelection
-
getSelectionItems
- Specified by:
getSelectionItemsin interfaceJpaSelection<Object>
-
alias
-
isCompoundSelection
public boolean isCompoundSelection()- Specified by:
isCompoundSelectionin interfaceSelection<Object>
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptorin interfaceJpaTupleElement<Object>
-
getAlias
- Specified by:
getAliasin interfaceTupleElement<Object>
-
equals
-
hashCode
public int hashCode()
-