checkColumnIndex
protected abstract void checkColumnIndex(int column)
throws SQLException
Checks if the column index is valid.
column
- the first column is 1, the second is 2, ...
getCatalogName
public final 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, ...
- the name of the catalog for the table in which the given column
appears or "" if not applicable
getColumnClassName
public abstract 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.
column
- the first column is 1, the second is 2, ...
- 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 abstract int getColumnCount()
throws SQLException
Returns the number of columns in this ResultSet
object.
getColumnDisplaySize
public final 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 abstract 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 final 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 final 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.
getFieldLength
protected abstract int getFieldLength(int column)
throws SQLException
Gets column length
getOid
protected abstract Oid getOid(int column)
throws SQLException
Gets column OID
getPrecision
public final 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 final 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 final 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
getTableName
public final 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 abstract boolean isAutoIncrement(int column)
throws SQLException
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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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