Package org.relique.jdbc.csv
Class CsvResultSetMetaData
- java.lang.Object
-
- org.relique.jdbc.csv.CsvResultSetMetaData
-
- All Implemented Interfaces:
java.sql.ResultSetMetaData
,java.sql.Wrapper
public class CsvResultSetMetaData extends java.lang.Object implements java.sql.ResultSetMetaData
This class implements the java.sql.ResultSetMetaData JDBC interface for the CsvJdbc driver.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCatalogName(int column)
java.lang.String
getColumnClassName(int column)
int
getColumnCount()
int
getColumnDisplaySize(int column)
java.lang.String
getColumnLabel(int column)
java.lang.String
getColumnName(int column)
int
getColumnType(int column)
java.lang.String
getColumnTypeName(int column)
int
getPrecision(int column)
int
getScale(int column)
java.lang.String
getSchemaName(int column)
java.lang.String
getTableName(int column)
boolean
isAutoIncrement(int column)
boolean
isCaseSensitive(int column)
boolean
isCurrency(int column)
boolean
isDefinitelyWritable(int column)
int
isNullable(int column)
boolean
isReadOnly(int column)
boolean
isSearchable(int column)
boolean
isSigned(int column)
boolean
isWrapperFor(java.lang.Class<?> arg0)
boolean
isWritable(int column)
<T> T
unwrap(java.lang.Class<T> arg0)
-
-
-
Method Detail
-
getColumnClassName
public java.lang.String getColumnClassName(int column) throws java.sql.SQLException
- Specified by:
getColumnClassName
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getColumnCount
public int getColumnCount() throws java.sql.SQLException
- Specified by:
getColumnCount
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getCatalogName
public java.lang.String getCatalogName(int column) throws java.sql.SQLException
- Specified by:
getCatalogName
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getColumnDisplaySize
public int getColumnDisplaySize(int column) throws java.sql.SQLException
- Specified by:
getColumnDisplaySize
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isAutoIncrement
public boolean isAutoIncrement(int column) throws java.sql.SQLException
- Specified by:
isAutoIncrement
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isCaseSensitive
public boolean isCaseSensitive(int column) throws java.sql.SQLException
- Specified by:
isCaseSensitive
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isSearchable
public boolean isSearchable(int column) throws java.sql.SQLException
- Specified by:
isSearchable
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isCurrency
public boolean isCurrency(int column) throws java.sql.SQLException
- Specified by:
isCurrency
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isNullable
public int isNullable(int column) throws java.sql.SQLException
- Specified by:
isNullable
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isSigned
public boolean isSigned(int column) throws java.sql.SQLException
- Specified by:
isSigned
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getColumnLabel
public java.lang.String getColumnLabel(int column) throws java.sql.SQLException
- Specified by:
getColumnLabel
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getColumnName
public java.lang.String getColumnName(int column) throws java.sql.SQLException
- Specified by:
getColumnName
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getSchemaName
public java.lang.String getSchemaName(int column) throws java.sql.SQLException
- Specified by:
getSchemaName
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getPrecision
public int getPrecision(int column) throws java.sql.SQLException
- Specified by:
getPrecision
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getScale
public int getScale(int column) throws java.sql.SQLException
- Specified by:
getScale
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getTableName
public java.lang.String getTableName(int column) throws java.sql.SQLException
- Specified by:
getTableName
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getColumnType
public int getColumnType(int column) throws java.sql.SQLException
- Specified by:
getColumnType
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
getColumnTypeName
public java.lang.String getColumnTypeName(int column) throws java.sql.SQLException
- Specified by:
getColumnTypeName
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isReadOnly
public boolean isReadOnly(int column) throws java.sql.SQLException
- Specified by:
isReadOnly
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isWritable
public boolean isWritable(int column) throws java.sql.SQLException
- Specified by:
isWritable
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isDefinitelyWritable
public boolean isDefinitelyWritable(int column) throws java.sql.SQLException
- Specified by:
isDefinitelyWritable
in interfacejava.sql.ResultSetMetaData
- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> arg0) throws java.sql.SQLException
- Specified by:
isWrapperFor
in interfacejava.sql.Wrapper
- Throws:
java.sql.SQLException
-
unwrap
public <T> T unwrap(java.lang.Class<T> arg0) throws java.sql.SQLException
- Specified by:
unwrap
in interfacejava.sql.Wrapper
- Throws:
java.sql.SQLException
-
-