Modifier and Type | Field | Description |
---|---|---|
private DataValueDescriptor[] |
column |
|
private int |
ncols |
Constructor | Description |
---|---|
ValueRow(int ncols) |
Make a value row with a designated number of column slots.
|
Modifier and Type | Method | Description |
---|---|---|
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 |
nColumns() |
|
protected void |
realloc(int ncols) |
|
void |
resetRowArray() |
Reset all columns in the row array to null values.
|
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
|
java.lang.String |
toString() |
private DataValueDescriptor[] column
private int ncols
public ValueRow(int ncols)
ncols
- number of columns to allocatepublic void getNewObjectArray()
ExecRow
getNewObjectArray
in interface ExecRow
public DataValueDescriptor getColumn(int position)
Row
public void setColumn(int position, DataValueDescriptor col)
Row
public ExecRow getClone()
ExecRow
public ExecRow getClone(FormatableBitSet clonedCols)
ExecRow
public ExecRow getNewNullRow()
ExecRow
getNewNullRow
in interface ExecRow
ExecRow cloneMe()
public void resetRowArray()
resetRowArray
in interface ExecRow
public final DataValueDescriptor cloneColumn(int columnPosition)
ExecRow
cloneColumn
in interface ExecRow
columnPosition
- (1 based)public java.lang.String toString()
toString
in class java.lang.Object
public DataValueDescriptor[] getRowArray()
getRowArray
in interface ExecRow
ExecRow.getRowArray()
public DataValueDescriptor[] getRowArrayClone()
getRowArrayClone
in interface ExecRow
ExecRow.getRowArray()
public void setRowArray(DataValueDescriptor[] value)
setRowArray
in interface ExecRow
ExecRow.setRowArray(org.apache.derby.iapi.types.DataValueDescriptor[])
protected void realloc(int ncols)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.