Package org.ivoa.tap.schema
Enum Class TAPType
- All Implemented Interfaces:
Serializable,Comparable<TAPType>,Constable
Allowable types for TAP columns.
Enumeration TAPType :
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValue BIGINT :Value BINARY :Value BLOB :Value BOOLEAN :Value CHAR :Value CLOB :Value DOUBLE :Value INTEGER :Value POINT :Value REAL :Value REGION :Value SMALLINT :Value TIMESTAMP :Value VARBINARY :Value VARCHAR : -
Method Summary
Modifier and TypeMethodDescriptionstatic final TAPTypeReturn the TAPType enum constant corresponding to the given string representation (value)final StringtoString()Return the string representation of this enum constant (value)final Stringvalue()Return the string representation of this enum constant (value)static TAPTypeReturns the enum constant of this class with the specified name.static TAPType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Value BOOLEAN :.
-
SMALLINT
Value SMALLINT :.
-
INTEGER
Value INTEGER :.
-
BIGINT
Value BIGINT :.
-
REAL
Value REAL :.
-
DOUBLE
Value DOUBLE :.
-
TIMESTAMP
Value TIMESTAMP :.
-
CHAR
Value CHAR :.
-
VARCHAR
Value VARCHAR :.
-
BINARY
Value BINARY :.
-
VARBINARY
Value VARBINARY :.
-
POINT
Value POINT :.
-
REGION
Value REGION :.
-
CLOB
Value CLOB :.
-
BLOB
Value BLOB :.
-
-
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
-
value
Return the string representation of this enum constant (value)- Returns:
- string representation of this enum constant (value)
-
toString
Return the string representation of this enum constant (value) -
fromValue
Return the TAPType enum constant corresponding to the given string representation (value)- Parameters:
v- string representation (value)- Returns:
- TAPType enum constant
- Throws:
IllegalArgumentException- if there is no matching enum constant
-