Class TimeGrouper
- java.lang.Object
-
- org.kairosdb.client.builder.Grouper
-
- org.kairosdb.client.builder.grouper.TimeGrouper
-
public class TimeGrouper extends Grouper
Grouper used to group by time range. The combination of rangeSize and count determine the grouping range. The rangeSize is the time unit and the count is the number of time units in the range. For example, a rangeSize of 1 days with a count of 7, creates 1 day groups for a week. A rangeSize of 1 hours with a count of 168 (7 * 24), creates groups for each hour of the week.
-
-
Constructor Summary
Constructors Constructor Description TimeGrouper(RelativeTime rangeSize, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetCount()RelativeTimegetRangeSize()inthashCode()
-
-
-
Constructor Detail
-
TimeGrouper
public TimeGrouper(RelativeTime rangeSize, int count)
-
-