public enum Granularity extends Enum<Granularity> implements GranularityDefinition
Granularities
available for Time Series data.Enum Constant and Description |
---|
DEFAULT
Server default value to indicate no explicit value should be sent.
|
HOURS
Low frequency ingestion.
|
MINUTES
Medium frequency ingestion.
|
SECONDS
High frequency ingestion.
|
Modifier and Type | Method and Description |
---|---|
static Granularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Granularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final Granularity DEFAULT
public static final Granularity SECONDS
public static final Granularity MINUTES
public static final Granularity HOURS
public static Granularity[] values()
for (Granularity c : Granularity.values()) System.out.println(c);
public static Granularity 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 © 2011–2022 Pivotal Software, Inc.. All rights reserved.