Class TypeInfo
java.lang.Object
com.github.jinahya.database.metadata.bind.TypeInfo
- All Implemented Interfaces:
MetadataType
,Serializable
A class for binding results of the
DatabaseMetaData.getTypeInfo()
method.- Author:
- Jin Kwon <jinahya_at_gmail.com>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Constants for the "NULLABLE" column value.static enum
Constants for the "SEARCHABLE" column value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
A column label of "CASE_SENSITIVE".static final String
A column label of "CREATE_PARAMS".static final String
A column label of "DATA_TYPE".static final String
A column label of "LITERAL_PREFIX".static final String
A column label of "LITERAL_SUFFIX".static final String
A column label of "NULLABLE".static final String
A column label of "PRECISION".static final String
A column label of "SEARCHABLE".static final String
A column label of "TYPE_NAME". -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns a map of unmapped values.int
hashCode()
void
setSearchable
(Integer searchable) toString()
-
Field Details
-
COLUMN_LABEL_TYPE_NAME
A column label of "TYPE_NAME".- See Also:
-
COLUMN_LABEL_DATA_TYPE
A column label of "DATA_TYPE".- See Also:
-
COLUMN_LABEL_PRECISION
A column label of "PRECISION".- See Also:
-
COLUMN_LABEL_LITERAL_PREFIX
A column label of "LITERAL_PREFIX".- See Also:
-
COLUMN_LABEL_LITERAL_SUFFIX
A column label of "LITERAL_SUFFIX".- See Also:
-
COLUMN_LABEL_CREATE_PARAMS
A column label of "CREATE_PARAMS".- See Also:
-
COLUMN_LABEL_NULLABLE
A column label of "NULLABLE".- See Also:
-
COLUMN_LABEL_CASE_SENSITIVE
A column label of "CASE_SENSITIVE".- See Also:
-
COLUMN_LABEL_SEARCHABLE
A column label of "SEARCHABLE".- See Also:
-
-
Constructor Details
-
TypeInfo
public TypeInfo()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getSearchable
-
setSearchable
-
toString
-
getUnmappedValues
Description copied from interface:MetadataType
Returns a map of unmapped values.- Specified by:
getUnmappedValues
in interfaceMetadataType
- Returns:
- a map of unmapped values.
-