Class ValueRow
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.ValueRow
-
-
Field Summary
Fields Modifier and Type Field Description private DataValueDescriptor[]columnprivate intncols
-
Constructor Summary
Constructors Constructor Description ValueRow(int ncols)Make a value row with a designated number of column slots.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataValueDescriptorcloneColumn(int columnPosition)Get a clone of a DataValueDescriptor from an ExecRow.(package private) ExecRowcloneMe()ExecRowgetClone()Clone the Row and its contents.ExecRowgetClone(FormatableBitSet clonedCols)Clone the Row.DataValueDescriptorgetColumn(int position)Get a DataValueDescriptor in a Row by ordinal position (1-based).ExecRowgetNewNullRow()Get a new row with the same columns type as this one, containing nulls.voidgetNewObjectArray()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.intnColumns()protected voidrealloc(int ncols)voidresetRowArray()Reset all columns in the row array to null values.voidsetColumn(int position, DataValueDescriptor col)Set a DataValueDescriptor in a Row by ordinal position (1-based).voidsetRowArray(DataValueDescriptor[] value)Set the row arrayjava.lang.StringtoString()
-
-
-
Field Detail
-
column
private DataValueDescriptor[] column
-
ncols
private int ncols
-
-
Method Detail
-
getNewObjectArray
public void getNewObjectArray()
Description copied from interface:ExecRowGet a new DataValueDescriptor[]- Specified by:
getNewObjectArrayin interfaceExecRow
-
getColumn
public DataValueDescriptor getColumn(int position)
Description copied from interface:RowGet a DataValueDescriptor in a Row by ordinal position (1-based).
-
setColumn
public void setColumn(int position, DataValueDescriptor col)Description copied from interface:RowSet a DataValueDescriptor in a Row by ordinal position (1-based).
-
getClone
public ExecRow getClone()
Description copied from interface:ExecRowClone the Row and its contents.
-
getClone
public ExecRow getClone(FormatableBitSet clonedCols)
Description copied from interface:ExecRowClone the Row. The cloned row will contain clones of the specified columns and the same object as the original row for the other columns.
-
getNewNullRow
public ExecRow getNewNullRow()
Description copied from interface:ExecRowGet a new row with the same columns type as this one, containing nulls.- Specified by:
getNewNullRowin interfaceExecRow
-
cloneMe
ExecRow cloneMe()
-
resetRowArray
public void resetRowArray()
Reset all columns in the row array to null values.- Specified by:
resetRowArrayin interfaceExecRow
-
cloneColumn
public final DataValueDescriptor cloneColumn(int columnPosition)
Description copied from interface:ExecRowGet a clone of a DataValueDescriptor from an ExecRow.- Specified by:
cloneColumnin interfaceExecRow- Parameters:
columnPosition- (1 based)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getRowArray
public DataValueDescriptor[] getRowArray()
Get the array form of the row that Access expects.- Specified by:
getRowArrayin interfaceExecRow- See Also:
ExecRow.getRowArray()
-
getRowArrayClone
public DataValueDescriptor[] getRowArrayClone()
Get a clone of the array form of the row that Access expects.- Specified by:
getRowArrayClonein interfaceExecRow- See Also:
ExecRow.getRowArray()
-
setRowArray
public void setRowArray(DataValueDescriptor[] value)
Set the row array- Specified by:
setRowArrayin interfaceExecRow- See Also:
ExecRow.setRowArray(org.apache.derby.iapi.types.DataValueDescriptor[])
-
realloc
protected void realloc(int ncols)
-
-