public enum AggregationInterval extends java.lang.Enum<AggregationInterval>
Modifier and Type | Method and Description |
---|---|
static AggregationInterval |
getBaseAggregation() |
java.lang.String |
getText() |
boolean |
isDay() |
boolean |
isDayOrHigher() |
boolean |
isMonth() |
boolean |
isWeek() |
boolean |
isYear() |
static AggregationInterval |
parse(java.lang.String text) |
TsSchema.Aggregation |
toAggregation() |
int |
toTimeStep() |
static AggregationInterval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AggregationInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationInterval RAW
public static final AggregationInterval HOUR
public static final AggregationInterval DAY
public static final AggregationInterval WEEK
public static final AggregationInterval MONTH
public static final AggregationInterval YEAR
public static AggregationInterval[] values()
for (AggregationInterval c : AggregationInterval.values()) System.out.println(c);
public static AggregationInterval valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AggregationInterval getBaseAggregation()
public java.lang.String getText()
public TsSchema.Aggregation toAggregation()
public int toTimeStep()
public static AggregationInterval parse(java.lang.String text)
public boolean isDay()
public boolean isWeek()
public boolean isMonth()
public boolean isYear()
public boolean isDayOrHigher()