public enum ApiTimeAggregation extends Enum<ApiTimeAggregation>
Modifier and Type | Method and Description |
---|---|
static ApiTimeAggregation |
fromString(String s) |
static ApiTimeAggregation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiTimeAggregation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiTimeAggregation HOURLY
public static final ApiTimeAggregation DAILY
public static final ApiTimeAggregation WEEKLY
public static ApiTimeAggregation[] values()
for (ApiTimeAggregation c : ApiTimeAggregation.values()) System.out.println(c);
public static ApiTimeAggregation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ApiTimeAggregation fromString(String s)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.