Package org.teiid.jdbc
Class ResultSetMetaDataImpl
- java.lang.Object
-
- org.teiid.jdbc.WrapperImpl
-
- org.teiid.jdbc.ResultSetMetaDataImpl
-
- All Implemented Interfaces:
ResultSetMetaData
,Wrapper
public class ResultSetMetaDataImpl extends WrapperImpl implements ResultSetMetaData
-
-
Field Summary
-
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
-
Constructor Summary
Constructors Constructor Description ResultSetMetaDataImpl(MetadataProvider provider, String supportBackwardsCompatibility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCatalogName(int index)
String
getColumnClassName(int index)
int
getColumnCount()
int
getColumnDisplaySize(int index)
String
getColumnLabel(int index)
String
getColumnName(int index)
int
getColumnType(int index)
String
getColumnTypeName(int index)
int
getPrecision(int index)
int
getScale(int index)
String
getSchemaName(int index)
String
getTableName(int index)
String
getVirtualDatabaseName(int index)
String
getVirtualDatabaseVersion(int index)
boolean
isAutoIncrement(int index)
boolean
isCaseSensitive(int index)
boolean
isCurrency(int index)
boolean
isDefinitelyWritable(int index)
int
isNullable(int index)
boolean
isReadOnly(int index)
boolean
isSearchable(int index)
boolean
isSigned(int index)
boolean
isWritable(int index)
-
Methods inherited from class org.teiid.jdbc.WrapperImpl
isWrapperFor, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
Constructor Detail
-
ResultSetMetaDataImpl
public ResultSetMetaDataImpl(MetadataProvider provider, String supportBackwardsCompatibility)
-
-
Method Detail
-
getVirtualDatabaseName
public String getVirtualDatabaseName(int index) throws SQLException
- Throws:
SQLException
-
getVirtualDatabaseVersion
public String getVirtualDatabaseVersion(int index) throws SQLException
- Throws:
SQLException
-
getColumnCount
public int getColumnCount() throws SQLException
- Specified by:
getColumnCount
in interfaceResultSetMetaData
- Throws:
SQLException
-
isAutoIncrement
public boolean isAutoIncrement(int index) throws SQLException
- Specified by:
isAutoIncrement
in interfaceResultSetMetaData
- Throws:
SQLException
-
isCaseSensitive
public boolean isCaseSensitive(int index) throws SQLException
- Specified by:
isCaseSensitive
in interfaceResultSetMetaData
- Throws:
SQLException
-
isSearchable
public boolean isSearchable(int index) throws SQLException
- Specified by:
isSearchable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isCurrency
public boolean isCurrency(int index) throws SQLException
- Specified by:
isCurrency
in interfaceResultSetMetaData
- Throws:
SQLException
-
isNullable
public int isNullable(int index) throws SQLException
- Specified by:
isNullable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isSigned
public boolean isSigned(int index) throws SQLException
- Specified by:
isSigned
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnDisplaySize
public int getColumnDisplaySize(int index) throws SQLException
- Specified by:
getColumnDisplaySize
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnLabel
public String getColumnLabel(int index) throws SQLException
- Specified by:
getColumnLabel
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnName
public String getColumnName(int index) throws SQLException
- Specified by:
getColumnName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getSchemaName
public String getSchemaName(int index) throws SQLException
- Specified by:
getSchemaName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getPrecision
public int getPrecision(int index) throws SQLException
- Specified by:
getPrecision
in interfaceResultSetMetaData
- Throws:
SQLException
-
getScale
public int getScale(int index) throws SQLException
- Specified by:
getScale
in interfaceResultSetMetaData
- Throws:
SQLException
-
getTableName
public String getTableName(int index) throws SQLException
- Specified by:
getTableName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getCatalogName
public String getCatalogName(int index) throws SQLException
- Specified by:
getCatalogName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnType
public int getColumnType(int index) throws SQLException
- Specified by:
getColumnType
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnTypeName
public String getColumnTypeName(int index) throws SQLException
- Specified by:
getColumnTypeName
in interfaceResultSetMetaData
- Throws:
SQLException
-
isReadOnly
public boolean isReadOnly(int index) throws SQLException
- Specified by:
isReadOnly
in interfaceResultSetMetaData
- Throws:
SQLException
-
isWritable
public boolean isWritable(int index) throws SQLException
- Specified by:
isWritable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isDefinitelyWritable
public boolean isDefinitelyWritable(int index) throws SQLException
- Specified by:
isDefinitelyWritable
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnClassName
public String getColumnClassName(int index) throws SQLException
- Specified by:
getColumnClassName
in interfaceResultSetMetaData
- Throws:
SQLException
-
-