private static enum Granularities.AllGranularity extends Enum<Granularities.AllGranularity> implements Granularity
Granularity for Granularity.Type.ALL.
A singleton.Granularity.Type| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Granularity.Type |
getType() |
static Granularities.AllGranularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Granularities.AllGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(com.fasterxml.jackson.core.JsonGenerator generator) |
public static final Granularities.AllGranularity INSTANCE
public static Granularities.AllGranularity[] values()
for (Granularities.AllGranularity c : Granularities.AllGranularity.values()) System.out.println(c);
public static Granularities.AllGranularity 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 void write(com.fasterxml.jackson.core.JsonGenerator generator)
throws IOException
write in interface DruidJsonIOException@Nonnull public Granularity.Type getType()
getType in interface GranularityCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.