RowSourceNoPutResultSet, ScanControllerRowSourceAlterTableConstantAction, AnyResultSet, BasicNoPutResultSetImpl, BulkTableScanResultSet, CardinalityCounter, CurrentOfResultSet, DependentResultSet, DistinctGroupedAggregateResultSet, DistinctScalarAggregateResultSet, DistinctScanResultSet, GenericAggregateResultSet, GroupedAggregateResultSet, HashJoinResultSet, HashLeftOuterJoinResultSet, HashScanResultSet, HashTableResultSet, IndexRowToBaseRowResultSet, JoinResultSet, LastIndexKeyResultSet, MaterializedResultSet, MergeJoinResultSet, MergeScanRowSource, MultiProbeTableScanResultSet, NestedLoopJoinResultSet, NestedLoopLeftOuterJoinResultSet, NoPutResultSetImpl, NormalizeResultSet, OnceResultSet, ProjectRestrictResultSet, RowCountResultSet, RowResultSet, ScalarAggregateResultSet, ScanResultSet, ScrollInsensitiveResultSet, SetOpResultSet, SortBufferRowSource, SortResultSet, TableScanResultSet, TemporaryRowHolderResultSet, UnionResultSet, ValidateCheckConstraintResultSet, VTIResultSet, WindowResultSetpublic interface RowLocationRetRowSource extends RowSource
RowSource| Modifier and Type | Method | Description |
|---|---|---|
boolean |
needsRowLocation() |
needsRowLocation returns true iff this the row source expects the
drainer of the row source to call rowLocation after getting a row from
getNextRowFromRowSource.
|
boolean |
needsRowLocationForDeferredCheckConstraints() |
|
void |
offendingRowLocation(RowLocation rl,
long containdId) |
|
void |
rowLocation(RowLocation rl) |
rowLocation is a callback for the drainer of the row source to return
the rowLocation of the current row, i.e, the row that is being returned
by getNextRowFromRowSource.
|
closeRowSource, getNextRowFromRowSource, getValidColumns, needsToCloneboolean needsRowLocation()
rowLocation(org.apache.derby.iapi.types.RowLocation)boolean needsRowLocationForDeferredCheckConstraints()
void rowLocation(RowLocation rl) throws StandardException
boolean needsRL = rowSource.needsRowLocation();
DataValueDescriptor[] row;
while((row = rowSource.getNextRowFromRowSource()) != null)
{
RowLocation rl = heapConglomerate.insertRow(row);
if (needsRL)
rowSource.rowLocation(rl);
}
StandardException - on errorvoid offendingRowLocation(RowLocation rl, long containdId) throws StandardException
StandardExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.