Class LocatedRow
java.lang.Object
org.apache.derby.iapi.types.LocatedRow
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
FieldsModifier and TypeFieldDescriptionprivate DataValueDescriptor[]/////////////////////////////////////////////////////////////private RowLocation -
Constructor Summary
ConstructorsConstructorDescriptionLocatedRow(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. -
Method Summary
Modifier and TypeMethodDescriptionGet the array of column valuesflatten()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 arrayGet the RowLocation
-
Field Details
-
_columnValues
///////////////////////////////////////////////////////////// -
_rowLocation
-
-
Constructor Details
-
LocatedRow
Construct from column values and row location.
-
LocatedRow
Construct from an array of column values, where the last value is the RowLocation.
-
-
Method Details
-
columnValues
Get the array of column values -
flatten
Flatten this LocatedRow into a DataValueDescriptor[] where the last cell contains the RowLocation. -
rowLocation
Get the RowLocation -
flatten
public static DataValueDescriptor[] flatten(DataValueDescriptor[] columnValues, RowLocation rowLocation) Append a RowLocation to the end of a column array
-