org.knime.base.node.preproc.columnTrans
Class RegExpCellFactory
java.lang.Object
org.knime.base.node.preproc.columnTrans.AbstractMany2OneCellFactory
org.knime.base.node.preproc.columnTrans.RegExpCellFactory
- All Implemented Interfaces:
- CellFactory
public class RegExpCellFactory
- extends AbstractMany2OneCellFactory
- Author:
- Fabian Dill, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegExpCellFactory
public RegExpCellFactory(DataTableSpec inputSpec,
String appendedColumnName,
int[] includedColsIndices,
String regExp)
- Parameters:
inputSpec
- input spec of the whole tableappendedColumnName
- name of the new columnincludedColsIndices
- indices of columns to condenseregExp
- regular expression to determine matching columns
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.