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 and Description |
---|---|
private DataValueDescriptor[] |
_columnValues |
private RowLocation |
_rowLocation |
Constructor and 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 and 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.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.