com.metamatrix.jdbc.api
Interface ResultSetMetaData

All Superinterfaces:
java.sql.ResultSetMetaData, java.sql.Wrapper

public interface ResultSetMetaData
extends java.sql.ResultSetMetaData

The MetaMatrix-specific interface for using result set metadata from JDBC. This interface provides some additional MetaMatrix-specific functionality that is not available through the standard JDBC interfaces.


Field Summary
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Method Summary
 int getParameterCount()
          Get the number of parameters in the original command if that command was a prepared command.
 java.lang.String getVirtualDatabaseName(int index)
          Get name of the VirtualDatabase at the column index.
 java.lang.String getVirtualDatabaseVersion(int index)
          Get version of the VirtualDatabase at the column index.
 
Methods inherited from interface java.sql.ResultSetMetaData
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Method Detail

getVirtualDatabaseName

java.lang.String getVirtualDatabaseName(int index)
                                        throws java.sql.SQLException
Get name of the VirtualDatabase at the column index.

Parameters:
index - Column index
Returns:
Virtual database name
Throws:
MetadataAccessException - if there is an error while trying to access metadata.
java.lang.IllegalArgumentException - if column index is invalid
java.sql.SQLException

getVirtualDatabaseVersion

java.lang.String getVirtualDatabaseVersion(int index)
                                           throws java.sql.SQLException
Get version of the VirtualDatabase at the column index.

Parameters:
index - Column index
Returns:
name of the VirtualDatabase.
Throws:
MetadataAccessException - if there is an error while trying to access metadata.
java.lang.IllegalArgumentException - if column index is invalid
java.sql.SQLException

getParameterCount

int getParameterCount()
                      throws java.sql.SQLException
Get the number of parameters in the original command if that command was a prepared command.

Returns:
Number of parameters in original command
Throws:
java.sql.SQLException


Copyright © 2009. All Rights Reserved.