public abstract class MultiServiceColumnCalculator<S> extends Object implements ColumnCalculator<S>
Constructor and Description |
---|
MultiServiceColumnCalculator() |
Modifier and Type | Method and Description |
---|---|
void |
calculateColumns(S spec,
StarTable tupleTable,
TableSink sink)
Performs the calculation.
|
abstract ServiceOperation |
createServiceOperation(S spec)
Defines the service operation to be invoked for each row.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTupleInfos
public abstract ServiceOperation createServiceOperation(S spec)
spec
- specification object for the calculationpublic void calculateColumns(S spec, StarTable tupleTable, TableSink sink) throws IOException
ColumnCalculator
spec
object.
The output table must have the same number of rows as the input table,
and will not normally contain any of the same columns.calculateColumns
in interface ColumnCalculator<S>
spec
- specification object providing additional instructions
about the calculation to be performedtupleTable
- input table, with one column for each tuple elementsink
- sink to which the output table is writtenIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.