Enum JDBCDataType
- java.lang.Object
-
- java.lang.Enum<JDBCDataType>
-
- software.amazon.awssdk.services.glue.model.JDBCDataType
-
- All Implemented Interfaces:
Serializable,Comparable<JDBCDataType>
@Generated("software.amazon.awssdk:codegen") public enum JDBCDataType extends Enum<JDBCDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAYBIGINTBINARYBITBLOBBOOLEANCHARCLOBDATALINKDATEDECIMALDISTINCTDOUBLEFLOATINTEGERJAVA_OBJECTLONGNVARCHARLONGVARBINARYLONGVARCHARNCHARNCLOBNULLNUMERICNVARCHAROTHERREALREFREF_CURSORROWIDSMALLINTSQLXMLSTRUCTTIMETIME_WITH_TIMEZONETIMESTAMPTIMESTAMP_WITH_TIMEZONETINYINTUNKNOWN_TO_SDK_VERSIONVARBINARYVARCHAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JDBCDataTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<JDBCDataType>knownValues()StringtoString()static JDBCDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static JDBCDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARRAY
public static final JDBCDataType ARRAY
-
BIGINT
public static final JDBCDataType BIGINT
-
BINARY
public static final JDBCDataType BINARY
-
BIT
public static final JDBCDataType BIT
-
BLOB
public static final JDBCDataType BLOB
-
BOOLEAN
public static final JDBCDataType BOOLEAN
-
CHAR
public static final JDBCDataType CHAR
-
CLOB
public static final JDBCDataType CLOB
-
DATALINK
public static final JDBCDataType DATALINK
-
DATE
public static final JDBCDataType DATE
-
DECIMAL
public static final JDBCDataType DECIMAL
-
DISTINCT
public static final JDBCDataType DISTINCT
-
DOUBLE
public static final JDBCDataType DOUBLE
-
FLOAT
public static final JDBCDataType FLOAT
-
INTEGER
public static final JDBCDataType INTEGER
-
JAVA_OBJECT
public static final JDBCDataType JAVA_OBJECT
-
LONGNVARCHAR
public static final JDBCDataType LONGNVARCHAR
-
LONGVARBINARY
public static final JDBCDataType LONGVARBINARY
-
LONGVARCHAR
public static final JDBCDataType LONGVARCHAR
-
NCHAR
public static final JDBCDataType NCHAR
-
NCLOB
public static final JDBCDataType NCLOB
-
NULL
public static final JDBCDataType NULL
-
NUMERIC
public static final JDBCDataType NUMERIC
-
NVARCHAR
public static final JDBCDataType NVARCHAR
-
OTHER
public static final JDBCDataType OTHER
-
REAL
public static final JDBCDataType REAL
-
REF
public static final JDBCDataType REF
-
REF_CURSOR
public static final JDBCDataType REF_CURSOR
-
ROWID
public static final JDBCDataType ROWID
-
SMALLINT
public static final JDBCDataType SMALLINT
-
SQLXML
public static final JDBCDataType SQLXML
-
STRUCT
public static final JDBCDataType STRUCT
-
TIME
public static final JDBCDataType TIME
-
TIME_WITH_TIMEZONE
public static final JDBCDataType TIME_WITH_TIMEZONE
-
TIMESTAMP
public static final JDBCDataType TIMESTAMP
-
TIMESTAMP_WITH_TIMEZONE
public static final JDBCDataType TIMESTAMP_WITH_TIMEZONE
-
TINYINT
public static final JDBCDataType TINYINT
-
VARBINARY
public static final JDBCDataType VARBINARY
-
VARCHAR
public static final JDBCDataType VARCHAR
-
UNKNOWN_TO_SDK_VERSION
public static final JDBCDataType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static JDBCDataType[] 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 (JDBCDataType c : JDBCDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JDBCDataType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<JDBCDataType>
-
fromValue
public static JDBCDataType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- JDBCDataType corresponding to the value
-
knownValues
public static Set<JDBCDataType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownJDBCDataTypes
-
-