org.knime.core.data.container
Class SingleCellFactory
java.lang.Object
org.knime.core.data.container.AbstractCellFactory
org.knime.core.data.container.SingleCellFactory
- All Implemented Interfaces:
- CellFactory
- Direct Known Subclasses:
- BitVectorCellFactory
public abstract class SingleCellFactory
- extends AbstractCellFactory
Convenience implementation of a cell factory with one new column.
- Author:
- Bernd Wiswedel, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleCellFactory
public SingleCellFactory(DataColumnSpec newColSpec)
- Create new cell factory that provides one column given by newColSpec.
- Parameters:
newColSpec
- The spec of the new column.
getCells
public 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.
getCell
public abstract DataCell getCell(DataRow row)
- Called from getCells. Return the single cell to be returned.
- Parameters:
row
- The reference row.
- Returns:
- The new cell.
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.