public class LocatedRow
extends java.lang.Object
Mutable holder for the column values and RowLocation of a conglomerate row. Use with caution because values and arrays are not copied when they are passed in and out.
Modifier and Type | Field | Description |
---|---|---|
private DataValueDescriptor[] |
_columnValues |
|
private RowLocation |
_rowLocation |
Constructor | Description |
---|---|
LocatedRow(DataValueDescriptor[] columnsAndRowLocation) |
Construct from an array of column values, where the last value
is the RowLocation.
|
LocatedRow(DataValueDescriptor[] columnValues,
RowLocation rowLocation) |
Construct from column values and row location.
|
Modifier and Type | Method | Description |
---|---|---|
DataValueDescriptor[] |
columnValues() |
Get the array of column values
|
DataValueDescriptor[] |
flatten() |
Flatten this LocatedRow into a DataValueDescriptor[] where the last cell
contains the RowLocation.
|
static DataValueDescriptor[] |
flatten(DataValueDescriptor[] columnValues,
RowLocation rowLocation) |
Append a RowLocation to the end of a column array
|
RowLocation |
rowLocation() |
Get the RowLocation
|
private DataValueDescriptor[] _columnValues
private RowLocation _rowLocation
public LocatedRow(DataValueDescriptor[] columnValues, RowLocation rowLocation)
Construct from column values and row location.
public LocatedRow(DataValueDescriptor[] columnsAndRowLocation)
Construct from an array of column values, where the last value is the RowLocation.
public DataValueDescriptor[] columnValues()
public DataValueDescriptor[] flatten()
public RowLocation rowLocation()
public static DataValueDescriptor[] flatten(DataValueDescriptor[] columnValues, RowLocation rowLocation)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.