public enum DefaultQueryType extends Enum<DefaultQueryType> implements QueryType
| Enum Constant and Description |
|---|
GROUP_BY |
LOOKBACK |
SEARCH |
SEGMENT_METADATA |
TIME_BOUNDARY |
TIMESERIES |
TOP_N |
| Modifier and Type | Method and Description |
|---|---|
String |
toJson()
Get the JSON serialization of the query type.
|
static DefaultQueryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultQueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultQueryType GROUP_BY
public static final DefaultQueryType TOP_N
public static final DefaultQueryType TIMESERIES
public static final DefaultQueryType TIME_BOUNDARY
public static final DefaultQueryType SEGMENT_METADATA
public static final DefaultQueryType SEARCH
public static final DefaultQueryType LOOKBACK
public static DefaultQueryType[] values()
for (DefaultQueryType c : DefaultQueryType.values()) System.out.println(c);
public static DefaultQueryType 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 nullCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.