Class ExtractUnit
java.lang.Object
org.hibernate.sql.ast.tree.expression.ExtractUnit
- All Implemented Interfaces:
SqlSelectionProducer,Expression,SqlAstNode
A
TemporalUnit passed as an argument to the
ExtractFunction.
These are different to DurationUnits because of
how the TemporalUnit.WEEK field is handled on
some platforms.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlTreeWalker) The type for this expressiongetUnit()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
ExtractUnit
-
-
Method Details
-
getUnit
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-