public abstract class TimeUnitUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<org.apache.calcite.sql.type.SqlTypeName,DurationFieldType> |
INTERVALS_DURATIONS_TYPES
supported interval and duration type.
|
| Constructor and Description |
|---|
TimeUnitUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.math.BigDecimal |
timeUnitInternalMultiplier(org.apache.calcite.sql.type.SqlTypeName sqlIntervalType) |
public static final java.util.Map<org.apache.calcite.sql.type.SqlTypeName,DurationFieldType> INTERVALS_DURATIONS_TYPES
public static java.math.BigDecimal timeUnitInternalMultiplier(org.apache.calcite.sql.type.SqlTypeName sqlIntervalType)
java.lang.IllegalArgumentException - if interval type is not supported