org.axiondb.engine.rows
Class LazyRow
java.lang.Object
org.axiondb.engine.rows.BaseRow
org.axiondb.engine.rows.LazyRow
- All Implemented Interfaces:
- Row
public class LazyRow
- extends BaseRow
- implements Row
A Row
which loads data from a RowSource
as needed.
- Version:
- $Revision: 1.2 $ $Date: 2004/09/09 23:47:43 $
Method Summary |
Object |
get(int i)
Returns the value of the field at i (zero indexed). |
void |
set(int i,
Object val)
Sets the value of the field at i (zero indexed). |
int |
size()
Returns the number of fields in me. |
LazyRow
public LazyRow(RowSource source,
int id)
LazyRow
public LazyRow(RowSource source,
int id,
int col,
Object value)
get
public 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,
Object val)
throws 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:
UnsupportedOperationException
size
public int size()
- Description copied from interface:
Row
- Returns the number of fields in me.
- Specified by:
size
in interface Row