public static enum InfluxQLQuery.InfluxQLPrecision extends Enum<InfluxQLQuery.InfluxQLPrecision>
| Enum Constant and Description |
|---|
HOURS |
MICROSECONDS |
MILLISECONDS |
MINUTES |
NANOSECONDS |
SECONDS |
| Modifier and Type | Method and Description |
|---|---|
String |
getSymbol() |
static InfluxQLQuery.InfluxQLPrecision |
toTimePrecision(TimeUnit t) |
static InfluxQLQuery.InfluxQLPrecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfluxQLQuery.InfluxQLPrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfluxQLQuery.InfluxQLPrecision HOURS
public static final InfluxQLQuery.InfluxQLPrecision MINUTES
public static final InfluxQLQuery.InfluxQLPrecision SECONDS
public static final InfluxQLQuery.InfluxQLPrecision MILLISECONDS
public static final InfluxQLQuery.InfluxQLPrecision MICROSECONDS
public static final InfluxQLQuery.InfluxQLPrecision NANOSECONDS
public static InfluxQLQuery.InfluxQLPrecision[] values()
for (InfluxQLQuery.InfluxQLPrecision c : InfluxQLQuery.InfluxQLPrecision.values()) System.out.println(c);
public static InfluxQLQuery.InfluxQLPrecision 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 null@Nonnull public static InfluxQLQuery.InfluxQLPrecision toTimePrecision(TimeUnit t)
Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.