|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.ufg.integrate.wrapper.jdbc.IntegrateResultSetMetaData
br.ufg.integrate.wrapper.csv.CsvResultSetMetaData
public class CsvResultSetMetaData
This class implements the ResultSetMetaData interface for the CsvJdbc driver.
Field Summary | |
---|---|
protected String[] |
columnNames
Names of columns |
protected String |
tableName
Name of table |
Fields inherited from interface java.sql.ResultSetMetaData |
---|
columnNoNulls, columnNullable, columnNullableUnknown |
Method Summary | |
---|---|
String |
getCatalogName(int column)
Returns the name of the catalog for the specified column. |
String |
getColumnClassName(int column)
Returns the name of the class for the specified column. |
int |
getColumnCount()
Returns the number of columns in the table. |
int |
getColumnDisplaySize(int column)
Returns the display column size for the specified column. |
String |
getColumnLabel(int column)
Returns the label for the specified column |
String |
getColumnName(int column)
Returns the name of the specified column |
int |
getColumnType(int column)
|
String |
getColumnTypeName(int column)
|
int |
getPrecision(int column)
|
int |
getScale(int column)
|
String |
getSchemaName(int column)
|
String |
getTableName(int column)
|
boolean |
isAutoIncrement(int column)
Gets the auto increment falg for the specfied column. |
boolean |
isCaseSensitive(int column)
Returns the case sensitivity flag for the specfied column |
boolean |
isCurrency(int column)
Returns the currency flag for the specified column |
boolean |
isDefinitelyWritable(int column)
|
int |
isNullable(int column)
Returns the nullable flag for the specfied column |
boolean |
isReadOnly(int column)
|
boolean |
isSearchable(int column)
Returns the searchable flag for the specified column |
boolean |
isSigned(int column)
Returns the signed flag for the specfied column |
boolean |
isWritable(int column)
|
Methods inherited from class br.ufg.integrate.wrapper.jdbc.IntegrateResultSetMetaData |
---|
isWrapperFor, unwrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String[] columnNames
protected String tableName
Method Detail |
---|
public String getColumnClassName(int column) throws SQLException
getColumnClassName
in interface ResultSetMetaData
getColumnClassName
in class IntegrateResultSetMetaData
column
- The column number
SQLException
- Thrown if there was a problemResultSetMetaData.getColumnClassName(int)
public int getColumnCount() throws SQLException
getColumnCount
in interface ResultSetMetaData
getColumnCount
in class IntegrateResultSetMetaData
SQLException
- Thrown if there is a a problemResultSetMetaData.getColumnCount()
public String getCatalogName(int column) throws SQLException
getCatalogName
in interface ResultSetMetaData
getCatalogName
in class IntegrateResultSetMetaData
column
- The column to get the catalog for
SQLException
- Thrown if there is a problemResultSetMetaData.getCatalogName(int)
public int getColumnDisplaySize(int column) throws SQLException
getColumnDisplaySize
in interface ResultSetMetaData
getColumnDisplaySize
in class IntegrateResultSetMetaData
column
- The column to get the size of
SQLException
- Thrown if there is a problem.ResultSetMetaData.getColumnDisplaySize(int)
public boolean isAutoIncrement(int column) throws SQLException
isAutoIncrement
in interface ResultSetMetaData
isAutoIncrement
in class IntegrateResultSetMetaData
column
- The column to get the flag for
SQLException
- Thrown if there is a problemResultSetMetaData.isAutoIncrement(int)
public boolean isCaseSensitive(int column) throws SQLException
isCaseSensitive
in interface ResultSetMetaData
isCaseSensitive
in class IntegrateResultSetMetaData
column
- The column to return the flag for
SQLException
- Thrown if there is a problemResultSetMetaData.isCaseSensitive(int)
public boolean isSearchable(int column) throws SQLException
isSearchable
in interface ResultSetMetaData
isSearchable
in class IntegrateResultSetMetaData
column
- the column to return the flag form
SQLException
- Thrown if there is a problemResultSetMetaData.isSearchable(int)
public boolean isCurrency(int column) throws SQLException
isCurrency
in interface ResultSetMetaData
isCurrency
in class IntegrateResultSetMetaData
column
- The column to get the flag for
SQLException
- Thrown if there is a problemResultSetMetaData.isCurrency(int)
public int isNullable(int column) throws SQLException
isNullable
in interface ResultSetMetaData
isNullable
in class IntegrateResultSetMetaData
column
- The column to return the flag for
SQLException
- Thrown if there is a problemResultSetMetaData.isNullable(int)
public boolean isSigned(int column) throws SQLException
isSigned
in interface ResultSetMetaData
isSigned
in class IntegrateResultSetMetaData
column
- The column to return the flag for
SQLException
- Thrown if there is a problemResultSetMetaData.isSigned(int)
public String getColumnLabel(int column) throws SQLException
getColumnLabel
in interface ResultSetMetaData
getColumnLabel
in class IntegrateResultSetMetaData
column
- The column to get the label for
SQLException
- Thrown if there is a problemResultSetMetaData.getColumnLabel(int)
public String getColumnName(int column) throws SQLException
getColumnName
in interface ResultSetMetaData
getColumnName
in class IntegrateResultSetMetaData
column
- The column to get the name of
SQLException
- Thrown if there is a problemResultSetMetaData.getColumnName(int)
public String getSchemaName(int column) throws SQLException
getSchemaName
in interface ResultSetMetaData
getSchemaName
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.getSchemaName(int)
public int getPrecision(int column) throws SQLException
getPrecision
in interface ResultSetMetaData
getPrecision
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.getPrecision(int)
public int getScale(int column) throws SQLException
getScale
in interface ResultSetMetaData
getScale
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.getScale(int)
public String getTableName(int column) throws SQLException
getTableName
in interface ResultSetMetaData
getTableName
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.getTableName(int)
public int getColumnType(int column) throws SQLException
getColumnType
in interface ResultSetMetaData
getColumnType
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.getColumnType(int)
public String getColumnTypeName(int column) throws SQLException
getColumnTypeName
in interface ResultSetMetaData
getColumnTypeName
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.getColumnTypeName(int)
public boolean isReadOnly(int column) throws SQLException
isReadOnly
in interface ResultSetMetaData
isReadOnly
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.isReadOnly(int)
public boolean isWritable(int column) throws SQLException
isWritable
in interface ResultSetMetaData
isWritable
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.isWritable(int)
public boolean isDefinitelyWritable(int column) throws SQLException
isDefinitelyWritable
in interface ResultSetMetaData
isDefinitelyWritable
in class IntegrateResultSetMetaData
SQLException
ResultSetMetaData.isDefinitelyWritable(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |