org.knime.base.node.preproc.columnTrans
Class BinaryCellFactory
java.lang.Object
org.knime.base.node.preproc.columnTrans.AbstractMany2OneCellFactory
org.knime.base.node.preproc.columnTrans.BinaryCellFactory
- All Implemented Interfaces:
- CellFactory
public class BinaryCellFactory
- extends AbstractMany2OneCellFactory
Cell with value = 1 matches, others don't.
- Author:
- Fabian Dill, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryCellFactory
public BinaryCellFactory(DataTableSpec inputSpec,
String appendedColumnName,
int[] includedColsIndices)
- Parameters:
inputSpec
- input spec of the whole tableappendedColumnName
- name of the new columnincludedColsIndices
- indices of columns to condense
findColumnIndex
public int findColumnIndex(DataRow row)
- Find the column names to put in the condensed column.
- Specified by:
findColumnIndex
in class AbstractMany2OneCellFactory
- Parameters:
row
- row to search for matching columns
- Returns:
- matching column names as StringCell array
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.