public abstract class RowCollector<A> extends Object implements SplitCollector<RowSplittable,A>
SplitCollector
for use with table row processing.| Constructor and Description |
|---|
RowCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(RowSplittable rseq,
A acc)
Consumes the content of a splittable, collecting results
into the supplied accumulator.
|
abstract void |
accumulateRows(RowSplittable rseq,
A acc)
Processes rows as required.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcombine, createAccumulatorpublic abstract void accumulateRows(RowSplittable rseq, A acc) throws IOException
accumulate(uk.ac.starlink.table.RowSplittable, A),
with the necessary IOException handling.
Implementations do not need to close the supplied row sequence,
which will be taken care of elsewhere.rseq - row sequenceacc - accumulatorIOExceptionpublic final void accumulate(RowSplittable rseq, A acc)
SplitCollectoraccumulate in interface SplitCollector<RowSplittable,A>rseq - splittable objectacc - accumulatorCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.