Class TimeGroupResult
- java.lang.Object
-
- org.kairosdb.client.response.GroupResult
-
- org.kairosdb.client.response.grouping.TimeGroupResult
-
public class TimeGroupResult extends GroupResult
-
-
Constructor Summary
Constructors Constructor Description TimeGroupResult(RelativeTime rangeSize, int groupCount, GroupingNumber group)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)GroupingNumbergetGroup()How the results were group.intgetGroupCount()Number of groups.RelativeTimegetRangeSize()The size of each range for the group.inthashCode()StringtoString()-
Methods inherited from class org.kairosdb.client.response.GroupResult
getName
-
-
-
-
Constructor Detail
-
TimeGroupResult
public TimeGroupResult(RelativeTime rangeSize, int groupCount, GroupingNumber group)
-
-
Method Detail
-
getRangeSize
public RelativeTime getRangeSize()
The size of each range for the group.- Returns:
- range size of the group
-
getGroupCount
public int getGroupCount()
Number of groups.- Returns:
- number of groups
-
getGroup
public GroupingNumber getGroup()
How the results were group. This indicates the group number.- Returns:
- group number
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classGroupResult
-
hashCode
public int hashCode()
- Overrides:
hashCodein classGroupResult
-
-