|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.preproc.groupby.aggregation.AggregationOperator
org.knime.base.node.preproc.groupby.aggregation.NumericOperators.VarianceOperator
class NumericOperators.VarianceOperator
Returns the variance per group.
Field Summary |
---|
Fields inherited from class org.knime.base.node.preproc.groupby.aggregation.AggregationOperator |
---|
CONCATENATOR |
Constructor Summary | |
---|---|
NumericOperators.VarianceOperator(int maxUniqueValues)
Constructor for class VarianceOperator. |
|
NumericOperators.VarianceOperator(String label,
boolean numerical,
boolean usesLimit,
boolean keepColSpec,
int maxUniqueValues)
Constructor for class NumericOperators.VarianceOperator. |
Method Summary | |
---|---|
protected boolean |
computeInternal(DataCell cell)
|
AggregationOperator |
createInstance(DataColumnSpec origColSpec,
int maxUniqueValues)
Creates a new instance of this operator. |
protected DataType |
getDataType(DataType origType)
|
protected DataCell |
getResultInternal()
|
protected void |
resetInternal()
Should reset the operator to the start values. |
Methods inherited from class org.knime.base.node.preproc.groupby.aggregation.AggregationOperator |
---|
compute, createColumnSpec, getLabel, getMaxUniqueValues, getResult, getShortLabel, isNumerical, isSkipped, isUsesLimit, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
NumericOperators.VarianceOperator(int maxUniqueValues)
maxUniqueValues
- the maximum number of unique valuesNumericOperators.VarianceOperator(String label, boolean numerical, boolean usesLimit, boolean keepColSpec, int maxUniqueValues)
label
- user readable label which is also used for the
column namenumerical
- true
if the operator is only suitable
for numerical columnsusesLimit
- true
if the method checks the number of
unique values limit.keepColSpec
- true
if the original column
specification should be kept if possiblemaxUniqueValues
- the maximum number of unique valuesMethod Detail |
---|
protected DataType getDataType(DataType origType)
getDataType
in class AggregationOperator
origType
- the DataType
of the original column to aggregate
DataType
of the aggregation resultpublic AggregationOperator createInstance(DataColumnSpec origColSpec, int maxUniqueValues)
createInstance
in class AggregationOperator
origColSpec
- the DataColumnSpec
of the original columnmaxUniqueValues
- the maximum number of unique values
protected boolean computeInternal(DataCell cell)
computeInternal
in class AggregationOperator
cell
- the DataCell
to consider during computing the cell
can't be null
.
true
if this column should be skipped in further
calculationsprotected DataCell getResultInternal()
getResultInternal
in class AggregationOperator
DataCell
protected void resetInternal()
resetInternal
in class AggregationOperator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |