| java.lang.Object com.quadcap.sql.Row
All known Subclasses: com.quadcap.sql.JoinNaturalRow, com.quadcap.sql.LazyRow, com.quadcap.sql.JoinMapRow, com.quadcap.sql.ItemsRow, com.quadcap.sql.MapRow, com.quadcap.sql.JoinCrossRow,
Row | public class Row (Code) | | Essentially, a vector with one-based indices.
author: Stan Bailes |
Constructor Summary | |
public | Row() | public | Row(int size) | public | Row(Row r, Tuple tuple) Construct a row as a copy of another row. | public | Row(ArrayList v) Construct a row using a ArrayList of values. |
Method Summary | |
public void | addElement(Value val) | public int | getBlobCount() Return the number of BLOB values in this row. | public Value | getItem(int i) Non-checked access: return the specified value (one-based) from the row. | public boolean | isUpdateable(int i) | public Value | item(int i) Return the specified value (one-based) from the row. | public void | set(int i, Value val) | public int | size() Return the number of values in this row. | public String | toString() |
Row | public Row()(Code) | | Default constructor
|
Row | public Row(int size)(Code) | | Construct an empty row with the specified number of columns
|
Row | public Row(ArrayList v)(Code) | | Construct a row using a ArrayList of values. The vector is zero-based,
even though the row is one-based!
|
getBlobCount | public int getBlobCount() throws IOException(Code) | | Return the number of BLOB values in this row. (We can shortcut
some possibly lengthy operations if we know there are no blobs)
|
getItem | public Value getItem(int i)(Code) | | Non-checked access: return the specified value (one-based) from the row.
|
isUpdateable | public boolean isUpdateable(int i)(Code) | | Is the specified element updatable?
|
set | public void set(int i, Value val) throws SQLException(Code) | | Set value in the specified position (one-based) to a new value
|
size | public int size()(Code) | | Return the number of values in this row.
|
|
|