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 DurationUnit
s because of
how the TemporalUnit.WEEK
field is handled on
some platforms.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) The type for this expressiongetUnit()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
ExtractUnit
-
-
Method Details
-
getUnit
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
accept
- Specified by:
accept
in interfaceSqlAstNode
-