TemporalUnit passed as an argument to the
org.hibernate.dialect.function.ExtractFunction .
These are different to DurationUnits because of
how the TemporalUnit#WEEK field is handled on
some platforms.
| Modifier and Type | Field and Description |
|---|---|
| private BasicValuedMapping | |
| private TemporalUnit |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public BasicValuedMapping | getExpressionType()
Implements org. |
| public TemporalUnit |
| type | back to summary |
|---|---|
| private BasicValuedMapping type | |
| unit | back to summary |
|---|---|
| private TemporalUnit unit | |
| ExtractUnit | back to summary |
|---|---|
| public ExtractUnit(TemporalUnit unit, BasicValuedMapping type) | |
| accept | back to summary |
|---|---|
| public void accept(SqlAstWalker sqlTreeWalker) Implements org.
| |
| getExpressionType | back to summary |
|---|---|
| public BasicValuedMapping getExpressionType() Implements org. Doc from org. The type for this expression
| |
| getUnit | back to summary |
|---|---|
| public TemporalUnit getUnit() | |