public interface GranularitySpec
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<org.joda.time.Interval> |
bucketInterval(org.joda.time.DateTime dt)
Time-grouping interval corresponding to some instant, if any.
|
com.google.common.base.Optional<SortedSet<org.joda.time.Interval>> |
bucketIntervals()
Set of all time groups, broken up on segment boundaries.
|
QueryGranularity |
getQueryGranularity() |
com.metamx.common.Granularity |
getSegmentGranularity() |
com.google.common.base.Optional<SortedSet<org.joda.time.Interval>> bucketIntervals()
com.google.common.base.Optional<org.joda.time.Interval> bucketInterval(org.joda.time.DateTime dt)
dt
- instant to return time interval forcom.metamx.common.Granularity getSegmentGranularity()
QueryGranularity getQueryGranularity()
Copyright © 2011–2015. All rights reserved.