org.ow2.clif.analyze.lib.oda
Class ResultSet

java.lang.Object
  extended by org.ow2.clif.analyze.lib.oda.ResultSet

public class ResultSet
extends java.lang.Object

Flat file data provider's implementation of the ODA IResultSet interface.


Field Summary
static int DEFAULT_MAX_ROWS
          The Constant DEFAULT_MAX_ROWS.
 
Method Summary
 void close()
           
 int findColumn(java.lang.String columnName)
           
 java.math.BigDecimal getBigDecimal(int index)
           
 java.math.BigDecimal getBigDecimal(java.lang.String columnName)
           
 IBlob getBlob(int index)
           
 IBlob getBlob(java.lang.String columnName)
           
 boolean getBoolean(int index)
           
 boolean getBoolean(java.lang.String columnName)
           
 IClob getClob(int index)
           
 IClob getClob(java.lang.String columnName)
           
 java.sql.Date getDate(int index)
           
 java.sql.Date getDate(java.lang.String columnName)
           
 double getDouble(int index)
           
 double getDouble(java.lang.String columnName)
           
 int getInt(int index)
           
 int getInt(java.lang.String columnName)
           
 IResultSetMetaData getMetaData()
           
 int getRow()
           
 java.lang.String getString(int index)
           
 java.lang.String getString(java.lang.String columnName)
           
 java.sql.Time getTime(int index)
           
 java.sql.Time getTime(java.lang.String columnName)
           
 java.sql.Timestamp getTimestamp(int index)
           
 java.sql.Timestamp getTimestamp(java.lang.String columnName)
           
 boolean next()
           
 void setMaxRows(int max)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_ROWS

public static final int DEFAULT_MAX_ROWS
The Constant DEFAULT_MAX_ROWS.

See Also:
Constant Field Values
Method Detail

getMetaData

public IResultSetMetaData getMetaData()
                               throws OdaException
Throws:
OdaException

close

public void close()
           throws OdaException
Throws:
OdaException

setMaxRows

public void setMaxRows(int max)
                throws OdaException
Throws:
OdaException

next

public boolean next()
             throws OdaException
Throws:
OdaException

getRow

public int getRow()
           throws OdaException
Throws:
OdaException

getString

public java.lang.String getString(int index)
                           throws OdaException
Throws:
OdaException

getString

public java.lang.String getString(java.lang.String columnName)
                           throws OdaException
Throws:
OdaException

getInt

public int getInt(int index)
           throws OdaException
Throws:
OdaException

getInt

public int getInt(java.lang.String columnName)
           throws OdaException
Throws:
OdaException

getDouble

public double getDouble(int index)
                 throws OdaException
Throws:
OdaException

getDouble

public double getDouble(java.lang.String columnName)
                 throws OdaException
Throws:
OdaException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int index)
                                   throws OdaException
Throws:
OdaException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
                                   throws OdaException
Throws:
OdaException

getDate

public java.sql.Date getDate(int index)
                      throws OdaException
Throws:
OdaException

getDate

public java.sql.Date getDate(java.lang.String columnName)
                      throws OdaException
Throws:
OdaException

getTime

public java.sql.Time getTime(int index)
                      throws OdaException
Throws:
OdaException

getTime

public java.sql.Time getTime(java.lang.String columnName)
                      throws OdaException
Throws:
OdaException

getTimestamp

public java.sql.Timestamp getTimestamp(int index)
                                throws OdaException
Throws:
OdaException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName)
                                throws OdaException
Throws:
OdaException

getBlob

public IBlob getBlob(int index)
              throws OdaException
Throws:
OdaException

getBlob

public IBlob getBlob(java.lang.String columnName)
              throws OdaException
Throws:
OdaException

getClob

public IClob getClob(int index)
              throws OdaException
Throws:
OdaException

getClob

public IClob getClob(java.lang.String columnName)
              throws OdaException
Throws:
OdaException

getBoolean

public boolean getBoolean(int index)
                   throws OdaException
Throws:
OdaException

getBoolean

public boolean getBoolean(java.lang.String columnName)
                   throws OdaException
Throws:
OdaException

wasNull

public boolean wasNull()
                throws OdaException
Throws:
OdaException

findColumn

public int findColumn(java.lang.String columnName)
               throws OdaException
Throws:
OdaException