| Modifier and Type | Field and Description |
|---|---|
private Granularity.Type |
Granularities.PeriodGranularity.type |
| Modifier and Type | Method and Description |
|---|---|
Granularity.Type |
Granularities.AllGranularity.getType() |
Granularity.Type |
Granularities.PeriodGranularity.getType() |
Granularity.Type |
Granularity.getType() |
static Granularity.Type |
DruidDateTimeUtils.toDruidGranularity(org.apache.calcite.avatica.util.TimeUnitRange timeUnit)
Translates Calcite TimeUnitRange to Druid
Granularity |
static Granularity.Type |
Granularity.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Granularity.Type[] |
Granularity.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
DruidDateTimeUtils.toISOPeriodFormat(Granularity.Type type) |
| Constructor and Description |
|---|
PeriodGranularity(Granularity.Type type,
String period,
String timeZone) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.