Enum DataSetFieldType.TypeEnum
- java.lang.Object
-
- java.lang.Enum<DataSetFieldType.TypeEnum>
-
- org.opendatadiscovery.client.model.DataSetFieldType.TypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataSetFieldType.TypeEnum>
- Enclosing class:
- DataSetFieldType
public static enum DataSetFieldType.TypeEnum extends java.lang.Enum<DataSetFieldType.TypeEnum>
Gets or Sets type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSetFieldType.TypeEnumfromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static DataSetFieldType.TypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataSetFieldType.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final DataSetFieldType.TypeEnum STRING
-
NUMBER
public static final DataSetFieldType.TypeEnum NUMBER
-
INTEGER
public static final DataSetFieldType.TypeEnum INTEGER
-
BOOLEAN
public static final DataSetFieldType.TypeEnum BOOLEAN
-
CHAR
public static final DataSetFieldType.TypeEnum CHAR
-
DATETIME
public static final DataSetFieldType.TypeEnum DATETIME
-
TIME
public static final DataSetFieldType.TypeEnum TIME
-
STRUCT
public static final DataSetFieldType.TypeEnum STRUCT
-
BINARY
public static final DataSetFieldType.TypeEnum BINARY
-
LIST
public static final DataSetFieldType.TypeEnum LIST
-
MAP
public static final DataSetFieldType.TypeEnum MAP
-
UNION
public static final DataSetFieldType.TypeEnum UNION
-
DURATION
public static final DataSetFieldType.TypeEnum DURATION
-
UNKNOWN
public static final DataSetFieldType.TypeEnum UNKNOWN
-
-
Method Detail
-
values
public static DataSetFieldType.TypeEnum[] 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 (DataSetFieldType.TypeEnum c : DataSetFieldType.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSetFieldType.TypeEnum 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
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<DataSetFieldType.TypeEnum>
-
fromValue
public static DataSetFieldType.TypeEnum fromValue(java.lang.String value)
-
-