org.knime.base.data.replace
Interface ReplacedCellsFactory

All Known Implementing Classes:
ReplacedCellFactory

public interface ReplacedCellsFactory

Factory that is used to compute replacing cells in a DataTable that modifies one or more columns of a given input table.

Author:
Bernd Wiswedel, University of Konstanz

Method Summary
 DataCell[] getReplacement(DataRow row, int[] columns)
          Computes the data cells that should replace the column-th column in the given row.
 

Method Detail

getReplacement

DataCell[] getReplacement(DataRow row,
                          int[] columns)
Computes the data cells that should replace the column-th column in the given row. The replacing procedure itself is done in the calling class.

Parameters:
row - the row carrying the "obsolete" cells
columns - the columns that are to be replaced
Returns:
the values that serve as replacement
Throws:
IndexOutOfBoundsException - if an int argument is out of range
NullPointerException - if row is null


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.