public static enum TopNMetric.TopNMetricType extends Enum<TopNMetric.TopNMetricType>
Enum Constant and Description |
---|
ALPHA_NUMERIC |
INVERTED |
LEXICOGRAPHIC |
NUMERIC |
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Get the TopNMetricType as a Json value.
|
static TopNMetric.TopNMetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopNMetric.TopNMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopNMetric.TopNMetricType ALPHA_NUMERIC
public static final TopNMetric.TopNMetricType INVERTED
public static final TopNMetric.TopNMetricType LEXICOGRAPHIC
public static final TopNMetric.TopNMetricType NUMERIC
public static TopNMetric.TopNMetricType[] values()
for (TopNMetric.TopNMetricType c : TopNMetric.TopNMetricType.values()) System.out.println(c);
public static TopNMetric.TopNMetricType 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 String toJson()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.