public enum WikiDruidMetricName extends Enum<WikiDruidMetricName> implements FieldName
Modifier and Type | Method and Description |
---|---|
String |
asName()
Get the name as it should be used in Druid Queries.
|
String |
toString() |
static WikiDruidMetricName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WikiDruidMetricName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WikiDruidMetricName COUNT
public static final WikiDruidMetricName ADDED
public static final WikiDruidMetricName DELTA
public static final WikiDruidMetricName DELETED
public static WikiDruidMetricName[] values()
for (WikiDruidMetricName c : WikiDruidMetricName.values()) System.out.println(c);
public static WikiDruidMetricName 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 toString()
toString
in class Enum<WikiDruidMetricName>
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.