getCatalogName
public String getCatalogName(int column)
throws SQLException
Gets the designated column's table's catalog name.
column
- the first column is 1, the second is 2, ...
- column name or "" if not applicable
getColumnClassName
public String getColumnClassName(int column)
throws SQLException
Returns the fully-qualified name of the Java class whose instances
are manufactured if the method ResultSet.getObject
is called to retrieve a value
from the column. ResultSet.getObject
may return a subclass of the
class returned by this method.
- the fully-qualified name of the class in the Java programming
language that would be used by the method
ResultSet.getObject
to retrieve the value in the specified
column. This is the class name used for custom mapping.
getColumnCount
public int getColumnCount()
Returns the number of columns in this ResultSet
object.
getColumnDisplaySize
public int getColumnDisplaySize(int column)
throws SQLException
Indicates the designated column's normal maximum width in characters.
column
- the first column is 1, the second is 2, ...
- the normal maximum number of characters allowed as the width
of the designated column
getColumnLabel
public String getColumnLabel(int column)
throws SQLException
Gets the designated column's suggested title for use in printouts and
displays.
column
- the first column is 1, the second is 2, ...
- the suggested column title
getColumnName
public String getColumnName(int column)
throws SQLException
Get the designated column's name.
column
- the first column is 1, the second is 2, ...
getColumnType
public int getColumnType(int column)
throws SQLException
Retrieves the designated column's SQL type.
column
- the first column is 1, the second is 2, ...
- SQL type from java.sql.Types
getColumnTypeName
public String getColumnTypeName(int column)
throws SQLException
Retrieves the designated column's database-specific type name.
column
- the first column is 1, the second is 2, ...
- type name used by the database. If the column type is
a user-defined type, then a fully-qualified type name is returned.
getPrecision
public int getPrecision(int column)
throws SQLException
Get the designated column's number of decimal digits.
column
- the first column is 1, the second is 2, ...
getScale
public int getScale(int column)
throws SQLException
Gets the designated column's number of digits to right of the decimal point.
column
- the first column is 1, the second is 2, ...
getSchemaName
public String getSchemaName(int column)
throws SQLException
Get the designated column's table's schema.
column
- the first column is 1, the second is 2, ...
- schema name or "" if not applicable
getSourceColumnName
public String getSourceColumnName(int column)
throws SQLException
getTableName
public String getTableName(int column)
throws SQLException
Gets the designated column's table name.
column
- the first column is 1, the second is 2, ...
- table name or "" if not applicable
isAutoIncrement
public boolean isAutoIncrement(int column)
Indicates whether the designated column is automatically numbered, thus read-only.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise
isCaseSensitive
public boolean isCaseSensitive(int column)
throws SQLException
Indicates whether a column's case matters.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise
isCurrency
public boolean isCurrency(int column)
throws SQLException
Indicates whether the designated column is a cash value.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise
isDefinitelyWritable
public boolean isDefinitelyWritable(int column)
throws SQLException
Indicates whether a write on the designated column will definitely succeed.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise
isNullable
public int isNullable(int column)
throws SQLException
Indicates the nullability of values in the designated column.
column
- the first column is 1, the second is 2, ...
- the nullability status of the given column; one of
columnNoNulls
,
columnNullable
or columnNullableUnknown
isReadOnly
public boolean isReadOnly(int column)
throws SQLException
Indicates whether the designated column is definitely not writable.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise
isSearchable
public boolean isSearchable(int column)
throws SQLException
Indicates whether the designated column can be used in a where clause.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise
isSigned
public boolean isSigned(int column)
throws SQLException
Indicates whether values in the designated column are signed numbers.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise
isWritable
public boolean isWritable(int column)
throws SQLException
Indicates whether it is possible for a write on the designated column to succeed.
column
- the first column is 1, the second is 2, ...
true
if so; false
otherwise