Top Description Fields Constructors Methods
org.apache.derby.iapi.types

public Class LocatedRow

extends Object
Class Inheritance

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.

Field Summary

Modifier and TypeField and Description
private DataValueDescriptor[]
private RowLocation

Constructor Summary

AccessConstructor and Description
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.

Method Summary

Modifier and TypeMethod and Description
public DataValueDescriptor[]
columnValues()

Get the array of column values

public DataValueDescriptor[]
flatten()

Flatten this LocatedRow into a DataValueDescriptor[] where the last cell contains the RowLocation.

public static DataValueDescriptor[]
flatten(DataValueDescriptor[] columnValues, RowLocation rowLocation)

Append a RowLocation to the end of a column array

public RowLocation
rowLocation()

Get the RowLocation

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_columnValuesback to summary
private DataValueDescriptor[] _columnValues
_rowLocationback to summary
private RowLocation _rowLocation

Constructor Detail

LocatedRowback to summary
public LocatedRow(DataValueDescriptor[] columnValues, RowLocation rowLocation)

Construct from column values and row location.

LocatedRowback to summary
public LocatedRow(DataValueDescriptor[] columnsAndRowLocation)

Construct from an array of column values, where the last value is the RowLocation.

Method Detail

columnValuesback to summary
public DataValueDescriptor[] columnValues()

Get the array of column values

flattenback to summary
public DataValueDescriptor[] flatten()

Flatten this LocatedRow into a DataValueDescriptor[] where the last cell contains the RowLocation.

flattenback to summary
public static DataValueDescriptor[] flatten(DataValueDescriptor[] columnValues, RowLocation rowLocation)

Append a RowLocation to the end of a column array

rowLocationback to summary
public RowLocation rowLocation()

Get the RowLocation