Enum Class TAPType

java.lang.Object
java.lang.Enum<TAPType>
org.ivoa.dm.tapschema.TAPType
All Implemented Interfaces:
Serializable, Comparable<TAPType>, Constable

@VoDml(id="tapschema:TAPType", role=enumeration) public enum TAPType extends Enum<TAPType>
Allowable types for TAP columns.

Enumeration TAPType :

  • Enum Constant Details

    • BOOLEAN

      public static final TAPType BOOLEAN
      Value BOOLEAN :

      .

    • SMALLINT

      public static final TAPType SMALLINT
      Value SMALLINT :

      .

    • INTEGER

      public static final TAPType INTEGER
      Value INTEGER :

      .

    • BIGINT

      public static final TAPType BIGINT
      Value BIGINT :

      .

    • REAL

      public static final TAPType REAL
      Value REAL :

      .

    • DOUBLE

      public static final TAPType DOUBLE
      Value DOUBLE :

      .

    • TIMESTAMP

      public static final TAPType TIMESTAMP
      Value TIMESTAMP :

      .

    • CHAR

      public static final TAPType CHAR
      Value CHAR :

      .

    • VARCHAR

      public static final TAPType VARCHAR
      Value VARCHAR :

      .

    • BINARY

      public static final TAPType BINARY
      Value BINARY :

      .

    • VARBINARY

      public static final TAPType VARBINARY
      Value VARBINARY :

      .

    • POINT

      public static final TAPType POINT
      Value POINT :

      .

    • REGION

      public static final TAPType REGION
      Value REGION :

      .

    • CLOB

      public static final TAPType CLOB
      Value CLOB :

      .

    • BLOB

      public static final TAPType BLOB
      Value BLOB :

      .

  • Method Details

    • values

      public static TAPType[] 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

      public static TAPType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public final String value()
      Return the string representation of this enum constant (value)
      Returns:
      string representation of this enum constant (value)
    • toString

      public final String toString()
      Return the string representation of this enum constant (value)
      Overrides:
      toString in class Enum<TAPType>
      Returns:
      string representation of this enum constant (value)
      See Also:
    • fromValue

      public static final TAPType fromValue(String v)
      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