public enum WritePrecision extends Enum<WritePrecision>
Modifier and Type | Class and Description |
---|---|
static class |
WritePrecision.Adapter |
Modifier and Type | Method and Description |
---|---|
static WritePrecision |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static WritePrecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WritePrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WritePrecision MS
public static final WritePrecision S
public static final WritePrecision US
public static final WritePrecision NS
public static WritePrecision[] values()
for (WritePrecision c : WritePrecision.values()) System.out.println(c);
public static WritePrecision 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 getValue()
public String toString()
toString
in class Enum<WritePrecision>
public static WritePrecision fromValue(String text)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.