public interface RowLocationRetRowSource extends RowSource
RowSource
Modifier and Type | Method and 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, needsToClone
boolean 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
StandardException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.