Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa.jdbc » sql » [javadoc | source]
org.apache.openjpa.jdbc.sql
public class: ResultSetResult [javadoc | source]
java.lang.Object
   org.apache.openjpa.jdbc.sql.AbstractResult
      org.apache.openjpa.jdbc.sql.ResultSetResult

All Implemented Interfaces:
    Result

Direct Known Subclasses:
    SelectResult

Base Result implementation wrapped around a result set. Column objects, column names, or column indexes (as Number instances) can be used to retrieve result set data.
Constructor:
 public ResultSetResult(ResultSet rs,
    DBDictionary dict) throws SQLException 
    JDBC 2 constructor. Relies on being able to retrieve the statement from the result set, and the connection from the statement.
 public ResultSetResult(ResultSet rs,
    JDBCStore store) throws SQLException 
    JDBC 2 constructor. Relies on being able to retrieve the statement from the result set, and the connection from the statement.
 public ResultSetResult(Connection conn,
    ResultSet rs,
    DBDictionary dict) 
    Constructor.
 public ResultSetResult(Connection conn,
    Statement stmnt,
    ResultSet rs,
    DBDictionary dict) 
    Constructor.
 public ResultSetResult(Connection conn,
    Statement stmnt,
    ResultSet rs,
    JDBCStore store) 
    Constructor.
Method from org.apache.openjpa.jdbc.sql.ResultSetResult Summary:
absoluteInternal,   close,   containsInternal,   findObject,   getArrayInternal,   getAsciiStreamInternal,   getBigDecimalInternal,   getBigIntegerInternal,   getBinaryStreamInternal,   getBlobInternal,   getBooleanInternal,   getByteInternal,   getBytesInternal,   getCalendarInternal,   getCharInternal,   getCharacterStreamInternal,   getClobInternal,   getCloseConnection,   getDBDictionary,   getDateInternal,   getDateInternal,   getDoubleInternal,   getFloatInternal,   getIntInternal,   getLOBStreamInternal,   getLocaleInternal,   getLongInternal,   getNumberInternal,   getObjectInternal,   getRefInternal,   getResultSet,   getSQLObjectInternal,   getShortInternal,   getStatement,   getStore,   getStreamInternal,   getStringInternal,   getTimeInternal,   getTimestampInternal,   nextInternal,   setCloseConnection,   setStore,   size,   supportsRandomAccess,   translate,   wasNull
Methods from org.apache.openjpa.jdbc.sql.AbstractResult:
absolute,   absoluteInternal,   checkNull,   close,   closeEagerMap,   contains,   contains,   containsAll,   containsAll,   containsAllInternal,   containsInternal,   endDataRequest,   getArray,   getArray,   getArrayInternal,   getAsciiStream,   getAsciiStream,   getAsciiStreamInternal,   getBaseMapping,   getBigDecimal,   getBigDecimal,   getBigDecimalInternal,   getBigInteger,   getBigInteger,   getBigIntegerInternal,   getBinaryStream,   getBinaryStream,   getBinaryStreamInternal,   getBlob,   getBlob,   getBlobInternal,   getBoolean,   getBoolean,   getBooleanInternal,   getByte,   getByte,   getByteInternal,   getBytes,   getBytes,   getBytesInternal,   getCalendar,   getCalendar,   getCalendarInternal,   getChar,   getChar,   getCharInternal,   getCharacterStream,   getCharacterStream,   getCharacterStreamInternal,   getClob,   getClob,   getClobInternal,   getDate,   getDate,   getDate,   getDate,   getDateInternal,   getDateInternal,   getDouble,   getDouble,   getDoubleInternal,   getEager,   getEagerMap,   getFloat,   getFloat,   getFloatInternal,   getInt,   getInt,   getIntInternal,   getLOBStream,   getLOBStreamInternal,   getLocale,   getLocale,   getLocaleInternal,   getLong,   getLong,   getLongInternal,   getNumber,   getNumber,   getNumberInternal,   getObject,   getObject,   getObjectInternal,   getRef,   getRef,   getRefInternal,   getSQLObject,   getSQLObject,   getSQLObjectInternal,   getShort,   getShort,   getShortInternal,   getStreamInternal,   getString,   getString,   getStringInternal,   getTime,   getTime,   getTimeInternal,   getTimestamp,   getTimestamp,   getTimestampInternal,   indexOf,   isLocking,   load,   load,   newJoins,   next,   nextInternal,   pushBack,   putEager,   setBaseMapping,   setEagerMap,   setIndexOf,   setLocking,   startDataRequest,   supportsRandomAccess,   translate,   wasNull
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.jdbc.sql.ResultSetResult Detail:
 protected boolean absoluteInternal(int row) throws SQLException 
 public  void close() 
 protected boolean containsInternal(Object obj,
    Joins joins) throws SQLException 
 protected int findObject(Object obj,
    Joins joins) throws SQLException 
    Return the 1-based result set index for the given column or id, or a non-positive number if the column is not contained in this result.
 protected Array getArrayInternal(Object obj,
    Joins joins) throws SQLException 
 protected InputStream getAsciiStreamInternal(Object obj,
    Joins joins) throws SQLException 
 protected BigDecimal getBigDecimalInternal(Object obj,
    Joins joins) throws SQLException 
 protected BigInteger getBigIntegerInternal(Object obj,
    Joins joins) throws SQLException 
 protected InputStream getBinaryStreamInternal(Object obj,
    Joins joins) throws SQLException 
 protected Blob getBlobInternal(Object obj,
    Joins joins) throws SQLException 
 protected boolean getBooleanInternal(Object obj,
    Joins joins) throws SQLException 
 protected byte getByteInternal(Object obj,
    Joins joins) throws SQLException 
 protected byte[] getBytesInternal(Object obj,
    Joins joins) throws SQLException 
 protected Calendar getCalendarInternal(Object obj,
    Joins joins) throws SQLException 
 protected char getCharInternal(Object obj,
    Joins joins) throws SQLException 
 protected Reader getCharacterStreamInternal(Object obj,
    Joins joins) throws SQLException 
 protected Clob getClobInternal(Object obj,
    Joins joins) throws SQLException 
 public boolean getCloseConnection() 
    Whether to close the backing connection when this result is closed. Defaults to true.
 public DBDictionary getDBDictionary() 
    Return the dictionary in use.
 protected Date getDateInternal(Object obj,
    Joins joins) throws SQLException 
 protected Date getDateInternal(Object obj,
    Calendar cal,
    Joins joins) throws SQLException 
 protected double getDoubleInternal(Object obj,
    Joins joins) throws SQLException 
 protected float getFloatInternal(Object obj,
    Joins joins) throws SQLException 
 protected int getIntInternal(Object obj,
    Joins joins) throws SQLException 
 protected InputStream getLOBStreamInternal(JDBCStore store,
    Object obj,
    Joins joins) throws SQLException 
 protected Locale getLocaleInternal(Object obj,
    Joins joins) throws SQLException 
 protected long getLongInternal(Object obj,
    Joins joins) throws SQLException 
 protected Number getNumberInternal(Object obj,
    Joins joins) throws SQLException 
 protected Object getObjectInternal(Object obj,
    int metaTypeCode,
    Object arg,
    Joins joins) throws SQLException 
 protected Ref getRefInternal(Object obj,
    Map map,
    Joins joins) throws SQLException 
 public ResultSet getResultSet() 
    Return the backing result set.
 protected Object getSQLObjectInternal(Object obj,
    Map map,
    Joins joins) throws SQLException 
 protected short getShortInternal(Object obj,
    Joins joins) throws SQLException 
 public Statement getStatement() 
    Return the statement that produced this result.
 public JDBCStore getStore() 
    Optional store manager used to deserialize blobs containing references to persistent objects.
 protected Object getStreamInternal(JDBCStore store,
    Object obj,
    int metaTypeCode,
    Object arg,
    Joins joins) throws SQLException 
 protected String getStringInternal(Object obj,
    Joins joins) throws SQLException 
 protected Time getTimeInternal(Object obj,
    Calendar cal,
    Joins joins) throws SQLException 
 protected Timestamp getTimestampInternal(Object obj,
    Calendar cal,
    Joins joins) throws SQLException 
 protected boolean nextInternal() throws SQLException 
 public  void setCloseConnection(boolean closeConn) 
    Whether to close the backing connection when this result is closed. Defaults to true.
 public  void setStore(JDBCStore store) 
    Optional store manager used to deserialize blobs containing references to persistent objects.
 public int size() throws SQLException 
 public boolean supportsRandomAccess() throws SQLException 
 protected Object translate(Object obj,
    Joins joins) throws SQLException 
 public boolean wasNull() throws SQLException