| Modifier and Type | Field and Description |
|---|---|
| protected final Value[] | data
The values of the row (one entry per column). |
| private int | |
| public static final int | MEMORY_CALCULATE
The constant that means "memory usage is unknown and needs to be calculated first".
|
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | |
| public void | copyFrom(SearchRow
source of column values source)Implements abstract org. Copy all relevant values from the source to this row. |
| public int | |
| public int | getMemory()
Implements abstract org. Get the estimated memory used for this row, in bytes. |
| public Value | getValue(int
the column number (starting with 0) i)Implements abstract org. Get the value for the column |
| public Value[] | |
| public boolean | hasSharedData(Row
the other row other)Overrides org. Check whether this row and the specified row share the same underlying data with values. |
| public void | setValue(int
the column number (starting with 0) i, Value the new value v)Implements abstract org. Set the value for given column |
| public String |
| data | back to summary |
|---|---|
| protected final Value[] data The values of the row (one entry per column). | |
| memory | back to summary |
|---|---|
| private int memory | |
| MEMORY_CALCULATE | back to summary |
|---|---|
| public static final int MEMORY_CALCULATE Hides org. The constant that means "memory usage is unknown and needs to be calculated first". | |
| DefaultRow | back to summary |
|---|---|
| pack-priv DefaultRow(int columnCount) | |
| DefaultRow | back to summary |
|---|---|
| public DefaultRow(Value[] data) | |
| DefaultRow | back to summary |
|---|---|
| public DefaultRow(Value[] data, int memory) | |
| calculateMemory | back to summary |
|---|---|
| protected int calculateMemory() Calculate the estimated memory used for this row, in bytes.
| |
| copyFrom | back to summary |
|---|---|
| public void copyFrom(SearchRow source) Implements abstract org. Doc from org. Copy all relevant values from the source to this row. | |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Implements abstract org. Doc from org. Get the column count.
| |
| getMemory | back to summary |
|---|---|
| public int getMemory() Implements abstract org. Doc from org. Get the estimated memory used for this row, in bytes.
| |
| getValue | back to summary |
|---|---|
| public Value getValue(int i) Implements abstract org. Doc from org. Get the value for the column | |
| getValueList | back to summary |
|---|---|
| public Value[] getValueList() Implements abstract org. Doc from org. Get values. | |
| hasSharedData | back to summary |
|---|---|
| public boolean hasSharedData(Row other) Overrides org. Doc from org. Check whether this row and the specified row share the same underlying
data with values. This method must return | |
| setValue | back to summary |
|---|---|
| public void setValue(int i, Value v) Implements abstract org. Doc from org. Set the value for given column | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |