br.ufg.integrate.wrapper.jdbc
Class IntegrateResultSetMetaData

java.lang.Object
  extended by br.ufg.integrate.wrapper.jdbc.IntegrateResultSetMetaData
All Implemented Interfaces:
ResultSetMetaData, Wrapper
Direct Known Subclasses:
CsvResultSetMetaData, ResultSetMetaDataImpl

public abstract class IntegrateResultSetMetaData
extends Object
implements ResultSetMetaData

Version:
0.1 Classe abstrata que implementa a classe java.sql.ResultSetMetaData. Os métodos a serem implementados são os mais básicos da interface implementada, permitindo a implementação de classes para um driver JDBC básico, sem todos os recursos da API. os métodos que não são abstratos não estão implementados, e apenas lançam uma exceção. Extensões desta classe podem sobrepor os métodos que acharem necessários.
Author:
Rogerio

Field Summary
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Constructor Summary
IntegrateResultSetMetaData()
           
 
Method Summary
 String getCatalogName(int arg0)
           
abstract  String getColumnClassName(int arg0)
           
abstract  int getColumnCount()
           
 int getColumnDisplaySize(int arg0)
           
 String getColumnLabel(int arg0)
           
abstract  String getColumnName(int arg0)
           
abstract  int getColumnType(int arg0)
           
abstract  String getColumnTypeName(int arg0)
           
 int getPrecision(int arg0)
           
 int getScale(int arg0)
           
abstract  String getSchemaName(int arg0)
           
abstract  String getTableName(int arg0)
           
 boolean isAutoIncrement(int arg0)
           
 boolean isCaseSensitive(int arg0)
           
 boolean isCurrency(int arg0)
           
 boolean isDefinitelyWritable(int arg0)
           
 int isNullable(int arg0)
           
 boolean isReadOnly(int arg0)
           
 boolean isSearchable(int arg0)
           
 boolean isSigned(int arg0)
           
 boolean isWrapperFor(Class<?> arg0)
           
 boolean isWritable(int arg0)
           
<T> T
unwrap(Class<T> arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrateResultSetMetaData

public IntegrateResultSetMetaData()
Method Detail

getCatalogName

public String getCatalogName(int arg0)
                      throws SQLException
Specified by:
getCatalogName in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getCatalogName(int)

getColumnClassName

public abstract String getColumnClassName(int arg0)
                                   throws SQLException
Specified by:
getColumnClassName in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getColumnClassName(int)

getColumnCount

public abstract int getColumnCount()
                            throws SQLException
Specified by:
getColumnCount in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getColumnCount()

getColumnDisplaySize

public int getColumnDisplaySize(int arg0)
                         throws SQLException
Specified by:
getColumnDisplaySize in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getColumnDisplaySize(int)

getColumnLabel

public String getColumnLabel(int arg0)
                      throws SQLException
Specified by:
getColumnLabel in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getColumnLabel(int)

getColumnName

public abstract String getColumnName(int arg0)
                              throws SQLException
Specified by:
getColumnName in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getColumnName(int)

getColumnType

public abstract int getColumnType(int arg0)
                           throws SQLException
Specified by:
getColumnType in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getColumnType(int)

getColumnTypeName

public abstract String getColumnTypeName(int arg0)
                                  throws SQLException
Specified by:
getColumnTypeName in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getColumnTypeName(int)

getPrecision

public int getPrecision(int arg0)
                 throws SQLException
Specified by:
getPrecision in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getPrecision(int)

getScale

public int getScale(int arg0)
             throws SQLException
Specified by:
getScale in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getScale(int)

getSchemaName

public abstract String getSchemaName(int arg0)
                              throws SQLException
Specified by:
getSchemaName in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getSchemaName(int)

getTableName

public abstract String getTableName(int arg0)
                             throws SQLException
Specified by:
getTableName in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.getTableName(int)

isAutoIncrement

public boolean isAutoIncrement(int arg0)
                        throws SQLException
Specified by:
isAutoIncrement in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isAutoIncrement(int)

isCaseSensitive

public boolean isCaseSensitive(int arg0)
                        throws SQLException
Specified by:
isCaseSensitive in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isCaseSensitive(int)

isCurrency

public boolean isCurrency(int arg0)
                   throws SQLException
Specified by:
isCurrency in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isCurrency(int)

isDefinitelyWritable

public boolean isDefinitelyWritable(int arg0)
                             throws SQLException
Specified by:
isDefinitelyWritable in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isDefinitelyWritable(int)

isNullable

public int isNullable(int arg0)
               throws SQLException
Specified by:
isNullable in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isNullable(int)

isReadOnly

public boolean isReadOnly(int arg0)
                   throws SQLException
Specified by:
isReadOnly in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isReadOnly(int)

isSearchable

public boolean isSearchable(int arg0)
                     throws SQLException
Specified by:
isSearchable in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isSearchable(int)

isSigned

public boolean isSigned(int arg0)
                 throws SQLException
Specified by:
isSigned in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isSigned(int)

isWritable

public boolean isWritable(int arg0)
                   throws SQLException
Specified by:
isWritable in interface ResultSetMetaData
Throws:
SQLException
See Also:
ResultSetMetaData.isWritable(int)

isWrapperFor

public boolean isWrapperFor(Class<?> arg0)
                     throws SQLException
Specified by:
isWrapperFor in interface Wrapper
Throws:
SQLException
See Also:
Wrapper.isWrapperFor(Class)

unwrap

public <T> T unwrap(Class<T> arg0)
         throws SQLException
Specified by:
unwrap in interface Wrapper
Throws:
SQLException
See Also:
Wrapper.unwrap(Class)


Copyright © 2008 Rogério Arantes Gaioso. All Rights Reserved.