public interface Granularity extends DruidJson
Typical granularities are based upon time units (e.g. 1 day or 15 minutes). A special granularity, all, combines all rows into a single total.
A Granularity instance is immutable, and generates a JSON string as part of a Druid query.
Granularities
Modifier and Type | Interface and Description |
---|---|
static class |
Granularity.Type
Type of supported periods for granularity.
|
Modifier and Type | Method and Description |
---|---|
Granularity.Type |
getType() |
@Nonnull Granularity.Type getType()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.