org.knime.base.node.preproc.groupby.aggregation
Class Operators.FirstValueOperator
java.lang.Object
org.knime.base.node.preproc.groupby.aggregation.AggregationOperator
org.knime.base.node.preproc.groupby.aggregation.Operators.FirstOperator
org.knime.base.node.preproc.groupby.aggregation.Operators.FirstValueOperator
- Enclosing class:
- Operators
final class Operators.FirstValueOperator
- extends Operators.FirstOperator
Returns the first value (ignores missing values) per group.
- Author:
- Tobias Koetter, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Operators.FirstValueOperator
Operators.FirstValueOperator(int maxUniqueValues)
- Constructor for class FirstValueOperator.
- Parameters:
maxUniqueValues
- the maximum number of unique values
createInstance
public AggregationOperator createInstance(DataColumnSpec origColSpec,
int maxUniqueValues)
- Creates a new instance of this operator.
- Overrides:
createInstance
in class Operators.FirstOperator
- Parameters:
origColSpec
- the DataColumnSpec
of the original columnmaxUniqueValues
- the maximum number of unique values
- Returns:
- a new instance of this operator
computeInternal
protected boolean computeInternal(DataCell cell)
-
- Overrides:
computeInternal
in class Operators.FirstOperator
- Parameters:
cell
- the DataCell
to consider during computing the cell
can't be null
.
- Returns:
true
if this column should be skipped in further
calculations
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.