Package org.apache.iceberg.types
Enum Type.TypeID
- java.lang.Object
-
- java.lang.Enum<Type.TypeID>
-
- org.apache.iceberg.types.Type.TypeID
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Type.TypeID>
- Enclosing interface:
- Type
public static enum Type.TypeID extends java.lang.Enum<Type.TypeID>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
javaClass()
static Type.TypeID
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Type.TypeID[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final Type.TypeID BOOLEAN
-
INTEGER
public static final Type.TypeID INTEGER
-
LONG
public static final Type.TypeID LONG
-
FLOAT
public static final Type.TypeID FLOAT
-
DOUBLE
public static final Type.TypeID DOUBLE
-
DATE
public static final Type.TypeID DATE
-
TIME
public static final Type.TypeID TIME
-
TIMESTAMP
public static final Type.TypeID TIMESTAMP
-
STRING
public static final Type.TypeID STRING
-
UUID
public static final Type.TypeID UUID
-
FIXED
public static final Type.TypeID FIXED
-
BINARY
public static final Type.TypeID BINARY
-
DECIMAL
public static final Type.TypeID DECIMAL
-
STRUCT
public static final Type.TypeID STRUCT
-
LIST
public static final Type.TypeID LIST
-
MAP
public static final Type.TypeID MAP
-
-
Method Detail
-
values
public static Type.TypeID[] 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 (Type.TypeID c : Type.TypeID.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Type.TypeID 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
-
javaClass
public java.lang.Class<?> javaClass()
-
-