public class EmbedResultSetMetaData40 extends EmbedResultSetMetaData
EmbedResultSetMetaData40 objects are shared across multiple threads by being stored in the ResultDescription for a compiled plan. If the required api for ResultSetMetaData ever changes so that it has a close() method, a getConnection() method or any other Connection or ResultSet specific method then this sharing must be removed.
Constructor and Description |
---|
EmbedResultSetMetaData40(ResultColumnDescriptor[] columnInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
isWrapperFor(java.lang.Class<?> interfaces)
Returns false unless
interfaces is implemented |
<T> T |
unwrap(java.lang.Class<T> interfaces)
Returns
this if this class implements the interface |
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getResultColumnDescriptor, getResultColumnDescriptor, getResultColumnDescriptor, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable
public EmbedResultSetMetaData40(ResultColumnDescriptor[] columnInfo)
public boolean isWrapperFor(java.lang.Class<?> interfaces) throws java.sql.SQLException
interfaces
is implementedinterfaces
- a Class defining an interface.java.sql.SQLException
- if an error occurs while determining
whether this is a wrapper for an object
with the given interface.public <T> T unwrap(java.lang.Class<T> interfaces) throws java.sql.SQLException
this
if this class implements the interfaceinterfaces
- a Class defining an interfacejava.sql.SQLException
- if no object if found that implements the
interfaceApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.