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.
|
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)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 errorApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.