public class ProgressLineStarTable extends WrapperStarTable
baseTable
Constructor and Description |
---|
ProgressLineStarTable(StarTable baseTable,
PrintStream out)
Constructs a new ProgressLineStarTable.
|
Modifier and Type | Method and Description |
---|---|
RowSequence |
getRowSequence()
Returns an object which can iterate over all the rows in the table
sequentially.
|
RowSplittable |
getRowSplittable()
Returns an object which can iterate over all the rows in the table,
but which may also be requested to split recursively
for potentially parallel processing.
|
checkedLongToInt, close, getBaseTable, getCell, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getRow, getRowAccess, getRowCount, getURL, isRandom, setName, setParameter, setURL, toString
public ProgressLineStarTable(StarTable baseTable, PrintStream out)
baseTable
- the base tableout
- stream on which progress will be written - this should
preferably be terminal-like, since it's going to have things
like carriage-returns ('\r') written to itpublic RowSequence getRowSequence() throws IOException
StarTable
getRowSequence
in interface StarTable
getRowSequence
in class WrapperStarTable
IOException
- if there is an error providing accesspublic RowSplittable getRowSplittable() throws IOException
StarTable
The return value must be non-null, and may provide splitting
arrangements specially appropriate for the implementation.
If this table 'wraps' an upstream table, it is usually best to
base the implementation on calls to the the upstream
getRowSplittable
method, so that upstream policy
about how to divide up the table is respected.
However, implementations without special requirements may return
Tables.getDefaultRowSplittable
(this)
.
getRowSplittable
in interface StarTable
getRowSplittable
in class WrapperStarTable
IOException
RowRunner
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.