Package com.amazon.ion
Enum Class IonType
- All Implemented Interfaces:
Serializable,Comparable<IonType>,Constable
Enumeration identifying the core Ion data types.
Note that DATAGRAM is a pseudo-type used only by
IonDatagram, and it is not a legal value in most places where
IonType is used.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDetermines whether a type represents an Ion container.static booleanstatic booleanstatic IonTypeReturns the enum constant of this class with the specified name.static IonType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NULL
-
BOOL
-
INT
-
FLOAT
-
DECIMAL
-
TIMESTAMP
-
SYMBOL
-
STRING
-
CLOB
-
BLOB
-
LIST
-
SEXP
-
STRUCT
-
DATAGRAM
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isContainer
Determines whether a type represents an Ion container. This includesDATAGRAM. -
isText
-
isLob
-