org.knime.core.node.util
Class DataValueColumnFilter
java.lang.Object
org.knime.core.node.util.DataValueColumnFilter
- All Implemented Interfaces:
- ColumnFilter
public class DataValueColumnFilter
- extends Object
- implements ColumnFilter
This ColumnFilter implementation filters all value which are not
compatible to the provided DataValue classes.
- Author:
- Tobias Koetter, University of Konstanz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataValueColumnFilter
public DataValueColumnFilter(Class<? extends DataValue>... filterValueClasses)
- Constructor for class DataValueColumnFilter.
- Parameters:
filterValueClasses - classes derived from DataValue.
All other columns will be filtered.
includeColumn
public boolean includeColumn(DataColumnSpec colSpec)
- Checks if the column with the given
DataColumnSpec should
be included or not.
- Specified by:
includeColumn in interface ColumnFilter
- Parameters:
colSpec - the column specification of the column to check
- Returns:
true if the column should be included or
false if the column is filtered.
allFilteredMsg
public String allFilteredMsg()
-
- Specified by:
allFilteredMsg in interface ColumnFilter
- Returns:
- the message to display if all columns are filtered
Copyright, 2003 - 2012. 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.