Package com.microsoft.sqlserver.jdbc
Class SQLServerResultSetMetaData
java.lang.Object
com.microsoft.sqlserver.jdbc.SQLServerResultSetMetaData
- All Implemented Interfaces:
ISQLServerResultSetMetaData
,Serializable
,ResultSetMetaData
,Wrapper
Provides an implementation of the result set metadata to the SQL Server. A ResultSetMetaData object can be used to
obtain the meta data (types and type properties) of the columns in a ResultSet.
The API javadoc for JDBC API methods that this class implements are not repeated here. Please see Sun's JDBC API
interfaces javadoc for those details.
- See Also:
-
Field Summary
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
Method Summary
Modifier and TypeMethodDescriptiongetCatalogName
(int column) getColumnClassName
(int column) int
int
getColumnDisplaySize
(int column) getColumnLabel
(int column) getColumnName
(int column) int
getColumnType
(int column) getColumnTypeName
(int column) int
getPrecision
(int column) int
getScale
(int column) getSchemaName
(int column) 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
isSparseColumnSet
(int column) Returns if the column is a SQLServer SparseColumnSet.boolean
isWrapperFor
(Class<?> iface) boolean
isWritable
(int column) final String
toString()
<T> T
-
Method Details
-
toString
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
getCatalogName
- Specified by:
getCatalogName
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getColumnCount
- Specified by:
getColumnCount
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getColumnDisplaySize
- Specified by:
getColumnDisplaySize
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getColumnLabel
- Specified by:
getColumnLabel
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getColumnName
- Specified by:
getColumnName
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getColumnType
- Specified by:
getColumnType
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getColumnTypeName
- Specified by:
getColumnTypeName
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getPrecision
- Specified by:
getPrecision
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getScale
- Specified by:
getScale
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getSchemaName
- Specified by:
getSchemaName
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getTableName
- Specified by:
getTableName
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isAutoIncrement
- Specified by:
isAutoIncrement
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isCaseSensitive
- Specified by:
isCaseSensitive
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isCurrency
- Specified by:
isCurrency
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isDefinitelyWritable
- Specified by:
isDefinitelyWritable
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isNullable
- Specified by:
isNullable
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isReadOnly
- Specified by:
isReadOnly
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isSearchable
- Specified by:
isSearchable
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isSigned
- Specified by:
isSigned
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
isSparseColumnSet
Description copied from interface:ISQLServerResultSetMetaData
Returns if the column is a SQLServer SparseColumnSet.- Specified by:
isSparseColumnSet
in interfaceISQLServerResultSetMetaData
- Parameters:
column
- The column number- Returns:
- true if a column in a result set is a sparse column set, otherwise false.
- Throws:
SQLServerException
- when an error occurs
-
isWritable
- Specified by:
isWritable
in interfaceResultSetMetaData
- Throws:
SQLServerException
-
getColumnClassName
- Specified by:
getColumnClassName
in interfaceResultSetMetaData
- Throws:
SQLServerException
-