java.lang.Object
org.jooq.tools.jdbc.MockResultSetMetaData
- All Implemented Interfaces:
Serializable
,ResultSetMetaData
,Wrapper
A mock result set meta data object.
- Author:
- Lukas Eder
- See Also:
-
Field Summary
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
Constructor Summary
ConstructorDescriptionCreate a new mock result set meta data object -
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
isWrapperFor
(Class<?> iface) boolean
isWritable
(int column) <T> T
-
Constructor Details
-
MockResultSetMetaData
Create a new mock result set meta data object
-
-
Method Details
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
getColumnCount
- Specified by:
getColumnCount
in interfaceResultSetMetaData
- Throws:
SQLException
-
isAutoIncrement
- Specified by:
isAutoIncrement
in interfaceResultSetMetaData
- Throws:
SQLException
-
isCaseSensitive
- Specified by:
isCaseSensitive
in interfaceResultSetMetaData
- Throws:
SQLException
-
isSearchable
- Specified by:
isSearchable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isCurrency
- Specified by:
isCurrency
in interfaceResultSetMetaData
- Throws:
SQLException
-
isNullable
- Specified by:
isNullable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isSigned
- Specified by:
isSigned
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnDisplaySize
- Specified by:
getColumnDisplaySize
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnLabel
- Specified by:
getColumnLabel
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnName
- Specified by:
getColumnName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getSchemaName
- Specified by:
getSchemaName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getPrecision
- Specified by:
getPrecision
in interfaceResultSetMetaData
- Throws:
SQLException
-
getScale
- Specified by:
getScale
in interfaceResultSetMetaData
- Throws:
SQLException
-
getTableName
- Specified by:
getTableName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getCatalogName
- Specified by:
getCatalogName
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnType
- Specified by:
getColumnType
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnTypeName
- Specified by:
getColumnTypeName
in interfaceResultSetMetaData
- Throws:
SQLException
-
isReadOnly
- Specified by:
isReadOnly
in interfaceResultSetMetaData
- Throws:
SQLException
-
isWritable
- Specified by:
isWritable
in interfaceResultSetMetaData
- Throws:
SQLException
-
isDefinitelyWritable
- Specified by:
isDefinitelyWritable
in interfaceResultSetMetaData
- Throws:
SQLException
-
getColumnClassName
- Specified by:
getColumnClassName
in interfaceResultSetMetaData
- Throws:
SQLException
-