Class Conversion
java.lang.Object
org.hibernate.query.sqm.tree.expression.Conversion
- All Implemented Interfaces:
org.hibernate.query.sqm.sql.internal.DomainResultProducer, SqlSelectionProducer, Expression, SqlAstNode
public class Conversion
extends Object
implements Expression, org.hibernate.query.sqm.sql.internal.DomainResultProducer
A conversion of a duration to a given temporal unit,
as a result of applying the 'by unit' operator.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker walker) voidapplySqlSelections(DomainResultCreationState creationState) createDomainResult(String resultVariable, DomainResultCreationState creationState) The type for this expressiongetUnit()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
Conversion
-
-
Method Details
-
getUnit
-
getDuration
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-
createDomainResult
public DomainResult createDomainResult(String resultVariable, DomainResultCreationState creationState) - Specified by:
createDomainResultin interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
applySqlSelections
- Specified by:
applySqlSelectionsin interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-