org.pentaho.platform.plugin.services.connections.sql
Class SQLMetaData

java.lang.Object
  extended by org.pentaho.commons.connection.AbstractPentahoMetaData
      extended by org.pentaho.platform.plugin.services.connections.sql.SQLMetaData
All Implemented Interfaces:
org.pentaho.commons.connection.IPentahoMetaData

public class SQLMetaData
extends org.pentaho.commons.connection.AbstractPentahoMetaData

Author:
wseyler TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
SQLMetaData(ResultSetMetaData nativeMetaData)
           
 
Method Summary
 int getColumnCount()
           
 Object[][] getColumnHeaders()
           
 int[] getJDBCColumnTypes()
           
 Object[][] getRowHeaders()
           
 
Methods inherited from class org.pentaho.commons.connection.AbstractPentahoMetaData
getAttribute, getColumnIndex, getColumnIndex, getRowIndex, getRowIndex
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLMetaData

public SQLMetaData(ResultSetMetaData nativeMetaData)
Method Detail

getJDBCColumnTypes

public int[] getJDBCColumnTypes()
                         throws SQLException
Throws:
SQLException

getColumnHeaders

public Object[][] getColumnHeaders()
Specified by:
getColumnHeaders in interface org.pentaho.commons.connection.IPentahoMetaData
Specified by:
getColumnHeaders in class org.pentaho.commons.connection.AbstractPentahoMetaData

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface org.pentaho.commons.connection.IPentahoMetaData
Overrides:
getColumnCount in class org.pentaho.commons.connection.AbstractPentahoMetaData

getRowHeaders

public Object[][] getRowHeaders()
Specified by:
getRowHeaders in interface org.pentaho.commons.connection.IPentahoMetaData
Specified by:
getRowHeaders in class org.pentaho.commons.connection.AbstractPentahoMetaData