org.sourceforge.jxutil.sql
Class AbstractResultSetMetaData
java.lang.Object
|
+--org.sourceforge.jxutil.sql.AbstractResultSetMetaData
- All Implemented Interfaces:
- ResultSetMetaData
- Direct Known Subclasses:
- XRowSetMetaData
- public abstract class AbstractResultSetMetaData
- extends Object
- implements ResultSetMetaData
AbstractResultSetMetaData implements generics of the ResultSetMetaData
interface.
When overriding You must define:
- Version:
- 0.1, 01/04/18
- Author:
- Keve Müller
nameMeta
protected AbstractResultSetMetaData.NameMetaData[] nameMeta
typeMap
protected final Map typeMap
AbstractResultSetMetaData
protected AbstractResultSetMetaData(AbstractResultSetMetaData.NameMetaData[] nameMeta,
Map typeMap)
AbstractResultSetMetaData
protected AbstractResultSetMetaData(String[] colNames,
Map typeMap)
AbstractResultSetMetaData
protected AbstractResultSetMetaData(String catalogName,
String[] colNames,
Map typeMap)
getCatalogName
public String getCatalogName(int column)
- Specified by:
getCatalogName
in interface ResultSetMetaData
getColumnClassName
public final String getColumnClassName(int column)
- Specified by:
getColumnClassName
in interface ResultSetMetaData
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface ResultSetMetaData
getColumnDisplaySize
public int getColumnDisplaySize(int column)
- Specified by:
getColumnDisplaySize
in interface ResultSetMetaData
getColumnLabel
public String getColumnLabel(int column)
throws SQLException
- Specified by:
getColumnLabel
in interface ResultSetMetaData
SQLException
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interface ResultSetMetaData
getColumnType
public final int getColumnType(int column)
throws SQLException
- Specified by:
getColumnType
in interface ResultSetMetaData
SQLException
getColumnTypeName
public final String getColumnTypeName(int column)
- Specified by:
getColumnTypeName
in interface ResultSetMetaData
getPrecision
public final int getPrecision(int column)
- Specified by:
getPrecision
in interface ResultSetMetaData
getScale
public final int getScale(int column)
- Specified by:
getScale
in interface ResultSetMetaData
getSchemaName
public String getSchemaName(int column)
- Specified by:
getSchemaName
in interface ResultSetMetaData
getTableName
public String getTableName(int column)
- Specified by:
getTableName
in interface ResultSetMetaData
getType
protected abstract AbstractType getType(int column)
- Return the AbstractType of the given column.
isAutoIncrement
public final boolean isAutoIncrement(int column)
- Specified by:
isAutoIncrement
in interface ResultSetMetaData
isCaseSensitive
public final boolean isCaseSensitive(int column)
- Specified by:
isCaseSensitive
in interface ResultSetMetaData
isCurrency
public final boolean isCurrency(int column)
- Specified by:
isCurrency
in interface ResultSetMetaData
isDefinitelyWritable
public boolean isDefinitelyWritable(int column)
- Specified by:
isDefinitelyWritable
in interface ResultSetMetaData
isNullable
public int isNullable(int column)
- Specified by:
isNullable
in interface ResultSetMetaData
isReadOnly
public boolean isReadOnly(int column)
- Specified by:
isReadOnly
in interface ResultSetMetaData
isSearchable
public final boolean isSearchable(int column)
- Specified by:
isSearchable
in interface ResultSetMetaData
isSigned
public final boolean isSigned(int column)
- Specified by:
isSigned
in interface ResultSetMetaData
isWritable
public boolean isWritable(int column)
- Specified by:
isWritable
in interface ResultSetMetaData
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.