Class SqmByUnit
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<Long>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<Long>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<Long>
org.hibernate.query.sqm.tree.expression.SqmByUnit
- All Implemented Interfaces:
Expression<Long>, Selection<Long>, TupleElement<Long>, Serializable, JpaCriteriaNode, JpaExpression<Long>, JpaSelection<Long>, JpaTupleElement<Long>, SqmExpression<Long>, SqmSelectableNode<Long>, SqmCacheable, SqmExpressibleAccessor<Long>, SqmNode, SqmTypedNode<Long>, SqmVisitableNode
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmByUnit(SqmDurationUnit<?> unit, SqmExpression<?> duration, SqmBindableType<Long> longType, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) intcopy(SqmCopyContext context) boolean@NonNull SqmBindableType<Long> The expression's type.getUnit()inthashCode()booleanisCompatible(Object object) Methods inherited from class AbstractSqmExpression
applyInferableType, as, cast, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualToMethods inherited from class AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, visitSubSelectableNodesMethods inherited from interface SqmNode
asLoggableTextMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmByUnit
public SqmByUnit(SqmDurationUnit<?> unit, SqmExpression<?> duration, SqmBindableType<Long> longType, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
-
getUnit
-
getDuration
-
getNodeType
Description copied from interface:SqmExpressionThe expression's type.Can change as a result of calls to
SqmExpression.applyInferableType(SqmBindableType)- Specified by:
getNodeTypein interfaceSqmExpression<Long>- Specified by:
getNodeTypein interfaceSqmTypedNode<Long>- Overrides:
getNodeTypein classAbstractJpaTupleElement<Long>
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation -
appendHqlString
-
equals
-
hashCode
-
isCompatible
-
cacheHashCode
public int cacheHashCode()
-