Package org.apache.iotdb.commons.conf
Enum IoTDBConstant.ClientVersion
- java.lang.Object
-
- java.lang.Enum<IoTDBConstant.ClientVersion>
-
- org.apache.iotdb.commons.conf.IoTDBConstant.ClientVersion
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IoTDBConstant.ClientVersion>
- Enclosing class:
- IoTDBConstant
public static enum IoTDBConstant.ClientVersion extends java.lang.Enum<IoTDBConstant.ClientVersion>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IoTDBConstant.ClientVersionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IoTDBConstant.ClientVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V_0_12
public static final IoTDBConstant.ClientVersion V_0_12
-
V_0_13
public static final IoTDBConstant.ClientVersion V_0_13
-
V_1_0
public static final IoTDBConstant.ClientVersion V_1_0
-
-
Method Detail
-
values
public static IoTDBConstant.ClientVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IoTDBConstant.ClientVersion c : IoTDBConstant.ClientVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IoTDBConstant.ClientVersion valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-