org.axiondb.engine.rows
Class LazyRow

java.lang.Object
  extended by org.axiondb.engine.rows.BaseRow
      extended by org.axiondb.engine.rows.LazyRow
All Implemented Interfaces:
Row

public class LazyRow
extends BaseRow
implements Row

A Rowwhich loads data from a RowSourceas needed.

Version:
$Revision: 1.4 $ $Date: 2005/12/22 09:02:30 $

Field Summary
 
Fields inherited from class org.axiondb.engine.rows.BaseRow
_hash
 
Constructor Summary
LazyRow(RowSource source, int id)
           
LazyRow(RowSource source, int id, int col, java.lang.Object value)
           
 
Method Summary
 java.lang.Object get(int i)
          Returns the value of the field at i (zero indexed).
 void set(int i, java.lang.Object val)
          Sets the value of the field at i (zero indexed).
 int size()
          Returns the number of fields in me.
 
Methods inherited from class org.axiondb.engine.rows.BaseRow
equals, getIdentifier, hashCode, setIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.axiondb.Row
equals, getIdentifier, hashCode, setIdentifier
 

Constructor Detail

LazyRow

public LazyRow(RowSource source,
               int id)

LazyRow

public LazyRow(RowSource source,
               int id,
               int col,
               java.lang.Object value)
Method Detail

get

public java.lang.Object get(int i)
Description copied from interface: Row
Returns the value of the field at i (zero indexed).

Specified by:
get in interface Row

set

public void set(int i,
                java.lang.Object val)
         throws java.lang.UnsupportedOperationException
Description copied from interface: Row
Sets the value of the field at i (zero indexed). This operation is optional.

Specified by:
set in interface Row
Throws:
java.lang.UnsupportedOperationException

size

public int size()
Description copied from interface: Row
Returns the number of fields in me.

Specified by:
size in interface Row