net.sf.farrago.runtime
Class FennelOnlyResultSet

java.lang.Object
  extended by org.eigenbase.jdbc4.Unwrappable
      extended by org.eigenbase.util14.AbstractResultSet
          extended by org.eigenbase.runtime.AbstractIterResultSet
              extended by org.eigenbase.runtime.TupleIterResultSet
                  extended by net.sf.farrago.runtime.FarragoTupleIterResultSet
                      extended by net.sf.farrago.runtime.FennelOnlyResultSet
All Implemented Interfaces:
ResultSet

public class FennelOnlyResultSet
extends FarragoTupleIterResultSet

FennelOnlyResultSet is a refinement of FarragoTupleIterResultSet, where the result set consists of Fennel tuples.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/runtime/FennelOnlyResultSet.java#5 $
Author:
Zelaine Fong

Nested Class Summary
private static class FennelOnlyResultSet.FennelColumnGetter
          ColumnGetter that reads columns from a Fennel tuple
 
Nested classes/interfaces inherited from class org.eigenbase.runtime.AbstractIterResultSet
AbstractIterResultSet.ColumnGetter, AbstractIterResultSet.FieldGetter, AbstractIterResultSet.MetaData, AbstractIterResultSet.SingletonColumnGetter, AbstractIterResultSet.SqlTimeoutException, AbstractIterResultSet.SyntheticColumnGetter
 
Field Summary
 
Fields inherited from class net.sf.farrago.runtime.FarragoTupleIterResultSet
tracer
 
Fields inherited from class org.eigenbase.runtime.AbstractIterResultSet
current, row, timeoutMillis
 
Fields inherited from class org.eigenbase.util14.AbstractResultSet
fetchSize, maxRows, wasNull
 
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
FennelOnlyResultSet(TupleIter tupleIter, RelDataType rowType, FarragoSessionRuntimeContext runtimeContext, ResultSetMetaData metaData)
          Creates a new FennelOnlyResultSet object.
 
Method Summary
protected  Object getRaw(int columnIndex)
          Returns the raw value of a column as an object.
 
Methods inherited from class net.sf.farrago.runtime.FarragoTupleIterResultSet
close, getMetaData, next, setOpened
 
Methods inherited from class org.eigenbase.runtime.TupleIterResultSet
setTimeout
 
Methods inherited from class org.eigenbase.runtime.AbstractIterResultSet
getFetchSize, getRow, isAfterLast, isBeforeFirst, isFirst, isLast, setFetchSize
 
Methods inherited from class org.eigenbase.util14.AbstractResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRaw, getRef, getRef, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isClosed, last, moveToCurrentRow, moveToInsertRow, newConversionError, newConversionError, newDirectionError, newFetchError, newUpdatabilityError, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setMaxRows, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FennelOnlyResultSet

public FennelOnlyResultSet(TupleIter tupleIter,
                           RelDataType rowType,
                           FarragoSessionRuntimeContext runtimeContext,
                           ResultSetMetaData metaData)
Creates a new FennelOnlyResultSet object.

Parameters:
tupleIter - underlying iterator
rowType - type info for rows produced
runtimeContext - runtime context for this execution
metaData - metadata representing the result set
Method Detail

getRaw

protected Object getRaw(int columnIndex)
Description copied from class: AbstractIterResultSet
Returns the raw value of a column as an object.

Overrides:
getRaw in class FarragoTupleIterResultSet
Parameters:
columnIndex - Column index, 1-based