Package org.apache.openjpa.jdbc.sql
Class MergedResult
- java.lang.Object
 - 
- org.apache.openjpa.jdbc.sql.MergedResult
 
 
- 
public class MergedResult extends java.lang.Object implements Result
Result that merges multiple result delegates. Support exists for maintaining ordering of the internally-held results, provided that each of the individual results is itself ordered.- Author:
 - Abe White
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMergedResult.ResultComparatorComparator for ordering result rows. 
- 
Constructor Summary
Constructors Constructor Description MergedResult(Result[] res)Constructor; supply delegates.MergedResult(Result[] res, MergedResult.ResultComparator comp)Constructor; supply delegates and comparator for ordering results. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanabsolute(int row)Move to the given 0-based row in the result, or return false if the row does not exist.voidclose()Free the resources used by this result; do not close the SQL connection.booleancontains(java.lang.Object obj)Return true if the given id or column is available in the result.booleancontains(Column col, Joins joins)Return true if the given column is available in the result.booleancontainsAll(java.lang.Object[] objs)Return true if all the given ids or columns are available in the result.booleancontainsAll(Column[] cols, Joins joins)Return true if all the given columns are available in the result.voidendDataRequest()Ends a data request.java.sql.ArraygetArray(java.lang.Object obj)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.sql.ArraygetArray(Column col, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.io.InputStreamgetAsciiStream(java.lang.Object obj)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.io.InputStreamgetAsciiStream(Column col, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.ClassMappinggetBaseMapping()If this is the result of a UNION used to select a hierarchy of mappings, the base mapping represented by the current row.java.math.BigDecimalgetBigDecimal(java.lang.Object obj)Return the value stored in the given column or id.java.math.BigDecimalgetBigDecimal(Column col, Joins joins)Return the value stored in the given column.java.math.BigIntegergetBigInteger(java.lang.Object obj)Return the value stored in the given column or id.java.math.BigIntegergetBigInteger(Column col, Joins joins)Return the value stored in the given column.java.io.InputStreamgetBinaryStream(java.lang.Object obj)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.io.InputStreamgetBinaryStream(Column col, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.sql.BlobgetBlob(java.lang.Object obj)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.sql.BlobgetBlob(Column col, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.booleangetBoolean(java.lang.Object obj)Return the value stored in the given column or id.booleangetBoolean(Column col, Joins joins)Return the value stored in the given column.bytegetByte(java.lang.Object obj)Return the value stored in the given column or id.bytegetByte(Column col, Joins joins)Return the value stored in the given column.byte[]getBytes(java.lang.Object obj)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.byte[]getBytes(Column col, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.util.CalendargetCalendar(java.lang.Object obj)Return the value stored in the given column or id.java.util.CalendargetCalendar(Column col, Joins joins)Return the value stored in the given column.chargetChar(java.lang.Object obj)Return the value stored in the given column or id.chargetChar(Column col, Joins joins)Return the value stored in the given column.java.io.ReadergetCharacterStream(java.lang.Object obj)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.io.ReadergetCharacterStream(Column col, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.sql.ClobgetClob(java.lang.Object obj)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.sql.ClobgetClob(Column col, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.util.DategetDate(java.lang.Object obj)Return the value stored in the given column or id.java.sql.DategetDate(java.lang.Object obj, java.util.Calendar cal)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.sql.DategetDate(Column col, java.util.Calendar cal, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.util.DategetDate(Column col, Joins joins)Return the value stored in the given column.doublegetDouble(java.lang.Object obj)Return the value stored in the given column or id.doublegetDouble(Column col, Joins joins)Return the value stored in the given column.java.lang.ObjectgetEager(FieldMapping key)The eager result for the given key, or null if none.floatgetFloat(java.lang.Object obj)Return the value stored in the given column or id.floatgetFloat(Column col, Joins joins)Return the value stored in the given column.intgetInt(java.lang.Object obj)Return the value stored in the given column or id.intgetInt(Column col, Joins joins)Return the value stored in the given column.java.io.InputStreamgetLOBStream(JDBCStore store, java.lang.Object obj)java.time.LocalDategetLocalDate(java.lang.Object obj)Return the value stored in the given column or id.java.time.LocalDateTimegetLocalDateTime(java.lang.Object obj)Return the value stored in the given column or id.java.util.LocalegetLocale(java.lang.Object obj)Return the value stored in the given column or id.java.util.LocalegetLocale(Column col, Joins joins)Return the value stored in the given column.java.time.LocalTimegetLocalTime(java.lang.Object obj)Return the value stored in the given column or id.longgetLong(java.lang.Object obj)Return the value stored in the given column or id.longgetLong(Column col, Joins joins)Return the value stored in the given column.FieldMappinggetMappedByFieldMapping()If this is the result used to select a toMany relationship, the mappedByFieldMapping is field mapping representing the inverse relationship.java.lang.ObjectgetMappedByValue()If this is the result used to select a toMany relationship, the mappedByValue is value of the owner of the toMany relationship.java.lang.NumbergetNumber(java.lang.Object obj)Return the value stored in the given column or id.java.lang.NumbergetNumber(Column col, Joins joins)Return the value stored in the given column.java.lang.ObjectgetObject(java.lang.Object obj, int metaType, java.lang.Object arg)Return the value stored in the given column or id.java.lang.ObjectgetObject(Column col, java.lang.Object arg, Joins joins)Return the value stored in the given column.java.time.OffsetDateTimegetOffsetDateTime(java.lang.Object obj)Return the value stored in the given column or id.java.time.OffsetTimegetOffsetTime(java.lang.Object obj)Return the value stored in the given column or id.java.sql.RefgetRef(java.lang.Object obj, java.util.Map map)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.sql.RefgetRef(Column col, java.util.Map map, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.shortgetShort(java.lang.Object obj)Return the value stored in the given column or id.shortgetShort(Column col, Joins joins)Return the value stored in the given column.java.lang.ObjectgetSQLObject(java.lang.Object obj, java.util.Map map)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.lang.ObjectgetSQLObject(Column col, java.util.Map map, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.lang.StringgetString(java.lang.Object obj)Return the value stored in the given column or id.java.lang.StringgetString(Column col, Joins joins)Return the value stored in the given column.java.sql.TimegetTime(java.lang.Object obj, java.util.Calendar cal)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.sql.TimegetTime(Column col, java.util.Calendar cal, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.java.sql.TimestampgetTimestamp(java.lang.Object obj, java.util.Calendar cal)Return the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.java.sql.TimestampgetTimestamp(Column col, java.util.Calendar cal, Joins joins)Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.intindexOf()The index of the select within the UNION that the current row corresponds to, or 0.booleanisLocking()If true, then any results loaded from this Result will be locked in the database.java.lang.Objectload(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)Load a pc object using the given store manager.java.lang.Objectload(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)Load a pc object using the given store manager.JoinsnewJoins()Return a new joins instance to use for traversing to related data.booleannext()Advance to the next row, or return false if there are no more rows in the result.voidpushBack()Push back the last result.voidputEager(FieldMapping key, java.lang.Object res)The eager result for the given key, or null if none.voidsetBaseMapping(ClassMapping mapping)If this is the result of a UNION used to select a hierarchy of mappings, the base mapping represented by the current row.voidsetLocking(boolean locking)Set to true if row locking has been issued for the row.voidsetMappedByFieldMapping(FieldMapping fieldMapping)If this is the result used to select a toMany relationship, the mappedByFieldMapping is field mapping representing the inverse relationship.voidsetMappedByValue(java.lang.Object mappedByValue)If this is the result used to select a toMany relationship, the mappedByValue is value of the owner of the toMany relationship.intsize()Return the number of rows in this result.voidstartDataRequest(java.lang.Object mapping)Informs this receiver about the application element for which a subsequent data request will be made.booleansupportsRandomAccess()Return true if the result supports random access.booleanwasNull()Return true if the last value fetched was null. 
 - 
 
- 
- 
Constructor Detail
- 
MergedResult
public MergedResult(Result[] res)
Constructor; supply delegates. 
- 
MergedResult
public MergedResult(Result[] res, MergedResult.ResultComparator comp)
Constructor; supply delegates and comparator for ordering results. 
 - 
 
- 
Method Detail
- 
getEager
public java.lang.Object getEager(FieldMapping key)
Description copied from interface:ResultThe eager result for the given key, or null if none. 
- 
putEager
public void putEager(FieldMapping key, java.lang.Object res)
Description copied from interface:ResultThe eager result for the given key, or null if none. 
- 
newJoins
public Joins newJoins()
Description copied from interface:ResultReturn a new joins instance to use for traversing to related data. 
- 
close
public void close()
Description copied from interface:ResultFree the resources used by this result; do not close the SQL connection. 
- 
setLocking
public void setLocking(boolean locking)
Description copied from interface:ResultSet to true if row locking has been issued for the row.- Specified by:
 setLockingin interfaceResult
 
- 
isLocking
public boolean isLocking()
Description copied from interface:ResultIf true, then any results loaded from this Result will be locked in the database. 
- 
supportsRandomAccess
public boolean supportsRandomAccess() throws java.sql.SQLExceptionDescription copied from interface:ResultReturn true if the result supports random access.- Specified by:
 supportsRandomAccessin interfaceResult- Throws:
 java.sql.SQLException
 
- 
absolute
public boolean absolute(int row) throws java.sql.SQLExceptionDescription copied from interface:ResultMove to the given 0-based row in the result, or return false if the row does not exist. This method will only be called if the result supports random access. 
- 
next
public boolean next() throws java.sql.SQLExceptionDescription copied from interface:ResultAdvance to the next row, or return false if there are no more rows in the result. 
- 
pushBack
public void pushBack() throws java.sql.SQLExceptionDescription copied from interface:ResultPush back the last result. In other words, just ignore the next call toResult.next(). After the first time this method is called, additional calls before a call toResult.next()orResult.absolute(int)should have no further affect. 
- 
size
public int size() throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the number of rows in this result. 
- 
contains
public boolean contains(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn true if the given id or column is available in the result. 
- 
containsAll
public boolean containsAll(java.lang.Object[] objs) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn true if all the given ids or columns are available in the result.- Specified by:
 containsAllin interfaceResult- Throws:
 java.sql.SQLException
 
- 
contains
public boolean contains(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn true if the given column is available in the result. 
- 
containsAll
public boolean containsAll(Column[] cols, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn true if all the given columns are available in the result.- Specified by:
 containsAllin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBaseMapping
public ClassMapping getBaseMapping()
Description copied from interface:ResultIf this is the result of a UNION used to select a hierarchy of mappings, the base mapping represented by the current row. This information is not available after getting any eager results from the row.- Specified by:
 getBaseMappingin interfaceResult
 
- 
setBaseMapping
public void setBaseMapping(ClassMapping mapping)
Description copied from interface:ResultIf this is the result of a UNION used to select a hierarchy of mappings, the base mapping represented by the current row. This information is not available after getting any eager results from the row.- Specified by:
 setBaseMappingin interfaceResult
 
- 
getMappedByFieldMapping
public FieldMapping getMappedByFieldMapping()
Description copied from interface:ResultIf this is the result used to select a toMany relationship, the mappedByFieldMapping is field mapping representing the inverse relationship. This is to avoid unneeded extra sql to retrieve the eager inverse field.- Specified by:
 getMappedByFieldMappingin interfaceResult
 
- 
setMappedByFieldMapping
public void setMappedByFieldMapping(FieldMapping fieldMapping)
Description copied from interface:ResultIf this is the result used to select a toMany relationship, the mappedByFieldMapping is field mapping representing the inverse relationship. This is to avoid unneeded extra sql to retrieve the eager inverse field.- Specified by:
 setMappedByFieldMappingin interfaceResult
 
- 
getMappedByValue
public java.lang.Object getMappedByValue()
Description copied from interface:ResultIf this is the result used to select a toMany relationship, the mappedByValue is value of the owner of the toMany relationship. This is to avoid unneeded extra sql to retrieve the eager inverse field.- Specified by:
 getMappedByValuein interfaceResult
 
- 
setMappedByValue
public void setMappedByValue(java.lang.Object mappedByValue)
Description copied from interface:ResultIf this is the result used to select a toMany relationship, the mappedByValue is value of the owner of the toMany relationship. This is to avoid unneeded extra sql to retrieve the eager inverse field.- Specified by:
 setMappedByValuein interfaceResult
 
- 
indexOf
public int indexOf()
Description copied from interface:ResultThe index of the select within the UNION that the current row corresponds to, or 0. 
- 
load
public java.lang.Object load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch) throws java.sql.SQLException
Description copied from interface:ResultLoad a pc object using the given store manager. 
- 
load
public java.lang.Object load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultLoad a pc object using the given store manager. 
- 
getArray
public java.sql.Array getArray(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set. 
- 
getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getAsciiStreamin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getBigDecimalin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBigInteger
public java.math.BigInteger getBigInteger(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getBigIntegerin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getBinaryStreamin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getLOBStream
public java.io.InputStream getLOBStream(JDBCStore store, java.lang.Object obj) throws java.sql.SQLException
- Specified by:
 getLOBStreamin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBlob
public java.sql.Blob getBlob(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set. 
- 
getBoolean
public boolean getBoolean(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getBooleanin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getByte
public byte getByte(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getBytes
public byte[] getBytes(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set. 
- 
getCalendar
public java.util.Calendar getCalendar(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getCalendarin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getLocalDate
public java.time.LocalDate getLocalDate(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getLocalDatein interfaceResult- Throws:
 java.sql.SQLException
 
- 
getLocalTime
public java.time.LocalTime getLocalTime(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getLocalTimein interfaceResult- Throws:
 java.sql.SQLException
 
- 
getLocalDateTime
public java.time.LocalDateTime getLocalDateTime(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getLocalDateTimein interfaceResult- Throws:
 java.sql.SQLException
 
- 
getOffsetTime
public java.time.OffsetTime getOffsetTime(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getOffsetTimein interfaceResult- Throws:
 java.sql.SQLException
 
- 
getOffsetDateTime
public java.time.OffsetDateTime getOffsetDateTime(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getOffsetDateTimein interfaceResult- Throws:
 java.sql.SQLException
 
- 
getChar
public char getChar(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getCharacterStream
public java.io.Reader getCharacterStream(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getCharacterStreamin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getClob
public java.sql.Clob getClob(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set. 
- 
getDate
public java.util.Date getDate(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getDate
public java.sql.Date getDate(java.lang.Object obj, java.util.Calendar cal) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set. 
- 
getDouble
public double getDouble(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getFloat
public float getFloat(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getInt
public int getInt(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getLocale
public java.util.Locale getLocale(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getLong
public long getLong(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getNumber
public java.lang.Number getNumber(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getObject
public java.lang.Object getObject(java.lang.Object obj, int metaType, java.lang.Object arg) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id.- Specified by:
 getObjectin interfaceResult- Parameters:
 obj- the column or id whose data to fetchmetaType- the type code fromJavaTypesorJavaSQLTypesfor the type of the data; ifobjis a column, you may specify -1 to use the column's recorded java typearg- some JDBC data access methods use an argument, such as aCalendarorMap- Throws:
 java.sql.SQLException
 
- 
getSQLObject
public java.lang.Object getSQLObject(java.lang.Object obj, java.util.Map map) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getSQLObjectin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getRef
public java.sql.Ref getRef(java.lang.Object obj, java.util.Map map) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set. 
- 
getShort
public short getShort(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getString
public java.lang.String getString(java.lang.Object obj) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id. 
- 
getTime
public java.sql.Time getTime(java.lang.Object obj, java.util.Calendar cal) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set. 
- 
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.Object obj, java.util.Calendar cal) throws java.sql.SQLExceptionDescription copied from interface:ResultReturn the value stored in the given column or id; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getTimestampin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getArray
public java.sql.Array getArray(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set. 
- 
getAsciiStream
public java.io.InputStream getAsciiStream(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getAsciiStreamin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBigDecimal
public java.math.BigDecimal getBigDecimal(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column.- Specified by:
 getBigDecimalin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBigInteger
public java.math.BigInteger getBigInteger(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column.- Specified by:
 getBigIntegerin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBinaryStream
public java.io.InputStream getBinaryStream(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getBinaryStreamin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getBlob
public java.sql.Blob getBlob(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set. 
- 
getBoolean
public boolean getBoolean(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column.- Specified by:
 getBooleanin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getByte
public byte getByte(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getBytes
public byte[] getBytes(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set. 
- 
getCalendar
public java.util.Calendar getCalendar(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column.- Specified by:
 getCalendarin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getChar
public char getChar(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getCharacterStream
public java.io.Reader getCharacterStream(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getCharacterStreamin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getClob
public java.sql.Clob getClob(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set. 
- 
getDate
public java.util.Date getDate(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getDate
public java.sql.Date getDate(Column col, java.util.Calendar cal, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set. 
- 
getDouble
public double getDouble(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getFloat
public float getFloat(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getInt
public int getInt(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getLocale
public java.util.Locale getLocale(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getLong
public long getLong(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getNumber
public java.lang.Number getNumber(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getObject
public java.lang.Object getObject(Column col, java.lang.Object arg, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getSQLObject
public java.lang.Object getSQLObject(Column col, java.util.Map map, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getSQLObjectin interfaceResult- Throws:
 java.sql.SQLException
 
- 
getRef
public java.sql.Ref getRef(Column col, java.util.Map map, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set. 
- 
getShort
public short getShort(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getString
public java.lang.String getString(Column col, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column. 
- 
getTime
public java.sql.Time getTime(Column col, java.util.Calendar cal, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set. 
- 
getTimestamp
public java.sql.Timestamp getTimestamp(Column col, java.util.Calendar cal, Joins joins) throws java.sql.SQLException
Description copied from interface:ResultReturn the value stored in the given column; may not be supported by results that are not backed by a SQL result set.- Specified by:
 getTimestampin interfaceResult- Throws:
 java.sql.SQLException
 
- 
wasNull
public boolean wasNull() throws java.sql.SQLExceptionDescription copied from interface:ResultReturn true if the last value fetched was null. 
- 
startDataRequest
public void startDataRequest(java.lang.Object mapping)
Description copied from interface:ResultInforms this receiver about the application element for which a subsequent data request will be made.- Specified by:
 startDataRequestin interfaceResult
 
- 
endDataRequest
public void endDataRequest()
Description copied from interface:ResultEnds a data request. Must be called in conjunction withResult.startDataRequest(java.lang.Object). The calls can be nested as follws
startDataRequest (relation); startDataRequest (relationsField); getObject("COLUMN_Y"); endDataRequest (); endDataRequest ();- Specified by:
 endDataRequestin interfaceResult
 
 - 
 
 -