org.knime.base.node.parallel.appender
Interface ExtendedCellFactory


public interface ExtendedCellFactory

Author:
Thorsten Meinl, University of Konstanz

Method Summary
 DataCell[] getCells(DataRow row)
          Get the new cells for a given row.
 ColumnDestination[] getColumnDestinations()
          Returns an array of column actions that describe for each column that is returned by getCells(org.knime.core.data.DataRow) where is should be inserted into the output table.
 DataColumnSpec[] getColumnSpecs()
          The column specs for the cells that are generated in the getCells() method.
 

Method Detail

getCells

DataCell[] getCells(DataRow row)
Get the new cells for a given row. These cells are incorporated into the existing row. The way it is done is defined through the ColumnRearranger using this object.

Parameters:
row - The row of interest.
Returns:
The new cells to that row.
Throws:
IllegalArgumentException - If there is no mapping available.

getColumnSpecs

DataColumnSpec[] getColumnSpecs()
The column specs for the cells that are generated in the getCells() method. This method is only called once, there is no need to cache the return value. The length of the returned array must match the length of the array returned by the getCells(DataRow) method and also the types must match, i.e. the type of the respective DataColumnSpec must be of the same type or a syper type of the cell as returned by getCells(DataRow).

Returns:
The specs to the newly created cells.

getColumnDestinations

ColumnDestination[] getColumnDestinations()
Returns an array of column actions that describe for each column that is returned by getCells(org.knime.core.data.DataRow) where is should be inserted into the output table.

Returns:
an array of column actions


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.