public class RowRunner extends Object
| Modifier and Type | Field and Description |
|---|---|
static RowRunner |
DEFAULT
General purpose instance; will be parallel for suitable environments.
|
static SplitPolicy |
DFLT_POLICY
Default split policy.
|
static RowRunner |
PARTEST
Testing instance; force parallel processing even for small tables.
|
static RowRunner |
SEQUENTIAL
Sequential-only instance; no parallel processing.
|
| Constructor and Description |
|---|
RowRunner(SplitProcessor<?> processor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<A> A |
collect(RowCollector<A> collector,
StarTable table)
Performs a collection operation on table rows.
|
RowSplittable |
createRowSplittable(StarTable table)
Acquires a splittable row sequence from a table.
|
SplitProcessor<RowSplittable> |
getSplitProcessor()
Returns the processor on which this runner is based.
|
public static final SplitPolicy DFLT_POLICY
public static final RowRunner DEFAULT
public static final RowRunner SEQUENTIAL
public static final RowRunner PARTEST
public RowRunner(SplitProcessor<?> processor)
processor - processor that manages the executionspublic <A> A collect(RowCollector<A> collector, StarTable table) throws IOException
collector - collector defining operationtable - table supplying dataIOExceptionpublic RowSplittable createRowSplittable(StarTable table) throws IOException
StarTable.getRowSplittable(),
but this may be overridden if required.table - input tableIOExceptionpublic SplitProcessor<RowSplittable> getSplitProcessor()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.