|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.ValueRow
Basic implementation of ExecRow.
| Field Summary | |
private DataValueDescriptor[] |
column
This class implements Formatable. |
private int |
ncols
|
| Constructor Summary | |
ValueRow()
Public niladic constructor. |
|
ValueRow(int ncols)
Make a value row with a designated number of column slots. |
|
| Method Summary | |
DataValueDescriptor |
cloneColumn(int columnPosition)
Get a clone of a DataValueDescriptor from an ExecRow. |
(package private) ExecRow |
cloneMe()
|
ExecRow |
getClone()
Clone the Row and its contents. |
ExecRow |
getClone(FormatableBitSet clonedCols)
Clone the Row. |
DataValueDescriptor |
getColumn(int position)
Get a DataValueDescriptor in a Row by ordinal position (1-based). |
ExecRow |
getNewNullRow()
Get a new row with the same columns type as this one, containing nulls. |
void |
getNewObjectArray()
Get a new DataValueDescriptor[] |
DataValueDescriptor[] |
getRowArray()
Get the array form of the row that Access expects. |
DataValueDescriptor[] |
getRowArrayClone()
Get a clone of the array form of the row that Access expects. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
int |
nColumns()
|
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
protected void |
realloc(int ncols)
|
void |
setColumn(int position,
DataValueDescriptor col)
Set a DataValueDescriptor in a Row by ordinal position (1-based). |
void |
setRowArray(DataValueDescriptor[] value)
Set the row array |
void |
setRowArray(Storable[] value)
Set the array of objects |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private DataValueDescriptor[] column
private int ncols
| Constructor Detail |
public ValueRow()
public ValueRow(int ncols)
ncols - number of columns to allocate| Method Detail |
public int nColumns()
nColumns in interface Rowpublic void getNewObjectArray()
ExecRow
getNewObjectArray in interface ExecRowpublic DataValueDescriptor getColumn(int position)
Row
getColumn in interface Rowposition - The ordinal position of the column.
public void setColumn(int position,
DataValueDescriptor col)
Row
setColumn in interface Rowposition - The ordinal position of the column.
public ExecRow getClone()
ExecRow
getClone in interface ExecRowpublic ExecRow getClone(FormatableBitSet clonedCols)
ExecRow
getClone in interface ExecRowclonedCols - 1-based FormatableBitSet representing the columns to clone.
public ExecRow getNewNullRow()
ExecRow
getNewNullRow in interface ExecRowExecRow cloneMe()
public final DataValueDescriptor cloneColumn(int columnPosition)
ExecRow
cloneColumn in interface ExecRowpublic java.lang.String toString()
public DataValueDescriptor[] getRowArray()
getRowArray in interface ExecRowExecRow.getRowArray()public DataValueDescriptor[] getRowArrayClone()
getRowArrayClone in interface ExecRowExecRow.getRowArray()public void setRowArray(DataValueDescriptor[] value)
setRowArray in interface ExecRowExecRow.setRowArray(org.apache.derby.iapi.services.io.Storable[])public void setRowArray(Storable[] value)
ExecRow
setRowArray in interface ExecRowprotected void realloc(int ncols)
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.
java.io.IOException - thrown on error
java.lang.ClassNotFoundException - thrown on error
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here.
java.io.IOException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormat
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||