org.apache.derby.impl.load
Class ExportResultSetForObject

java.lang.Object
  extended by org.apache.derby.impl.load.ExportResultSetForObject

 class ExportResultSetForObject
extends java.lang.Object


Field Summary
private  int columnCount
           
private  int[] columnLengths
           
private  java.lang.String[] columnNames
           
private  java.lang.String[] columnTypes
           
private  java.sql.Connection con
           
private  java.sql.Statement expStmt
           
private  java.sql.ResultSet rs
           
private  java.lang.String schemaName
           
private  java.lang.String selectQuery
           
private  java.lang.String tableName
           
 
Constructor Summary
ExportResultSetForObject(java.sql.Connection con, java.lang.String schemaName, java.lang.String tableName, java.lang.String selectQuery)
           
 
Method Summary
 void close()
           
 int getColumnCount()
           
 java.lang.String[] getColumnDefinition()
           
 int[] getColumnLengths()
           
 java.lang.String[] getColumnTypes()
           
private  void getMetaDataInfo()
           
 java.sql.ResultSet getResultSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

con

private java.sql.Connection con

selectQuery

private java.lang.String selectQuery

rs

private java.sql.ResultSet rs

columnCount

private int columnCount

columnNames

private java.lang.String[] columnNames

columnTypes

private java.lang.String[] columnTypes

columnLengths

private int[] columnLengths

expStmt

private java.sql.Statement expStmt

schemaName

private java.lang.String schemaName

tableName

private java.lang.String tableName
Constructor Detail

ExportResultSetForObject

public ExportResultSetForObject(java.sql.Connection con,
                                java.lang.String schemaName,
                                java.lang.String tableName,
                                java.lang.String selectQuery)
Method Detail

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getColumnCount

public int getColumnCount()

getColumnDefinition

public java.lang.String[] getColumnDefinition()

getColumnTypes

public java.lang.String[] getColumnTypes()

getColumnLengths

public int[] getColumnLengths()

getMetaDataInfo

private void getMetaDataInfo()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

close

public void close()
           throws java.lang.Exception
Throws:
java.lang.Exception

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.