public class TimeUnits extends Object
| Constructor and Description |
|---|
TimeUnits() |
| Modifier and Type | Method and Description |
|---|---|
static io.druid.java.util.common.granularity.PeriodGranularity |
toQueryGranularity(org.apache.calcite.avatica.util.TimeUnitRange timeUnitRange,
org.joda.time.DateTimeZone timeZone)
Returns the Druid QueryGranularity corresponding to a Calcite TimeUnitRange, or null if there is none.
|
public static io.druid.java.util.common.granularity.PeriodGranularity toQueryGranularity(org.apache.calcite.avatica.util.TimeUnitRange timeUnitRange,
org.joda.time.DateTimeZone timeZone)
timeUnitRange - time unittimeZone - session time zoneCopyright © 2011–2018. All rights reserved.