use of org.knime.base.data.aggregation.general.LastOperator in project knime-core by knime.
the class AggregationMethods method registerDeprecatedOperators.
/**
* This method registers previous methods which are deprecated in order to
* be backward compatible. The methods are stored separate from the
* methods to use.
*
* @throws DuplicateOperatorException if one of the methods already exists
*/
@SuppressWarnings("deprecation")
private void registerDeprecatedOperators() throws DuplicateOperatorException {
addDeprecatedOperator(new OrElementCountOperator(new OperatorData("Unique element count", true, false, CollectionDataValue.class, false), GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_INCL_MISSING));
addDeprecatedOperator(new FirstOperator(new OperatorData("First value", false, true, DataValue.class, false), GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
addDeprecatedOperator(new LastOperator(new OperatorData("Last value", false, true, DataValue.class, false), GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
addDeprecatedOperator(new CountOperator(new OperatorData("Value count", false, true, DataValue.class, false), GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
// methods changed in KNIME version 2.4
/**
* Concatenates all cell values.
*/
addDeprecatedOperator(new org.knime.base.data.aggregation.deprecated.ConcatenateOperator(GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_INCL_MISSING));
/**
* Concatenates all distinct cell values.
*/
addDeprecatedOperator(new org.knime.base.data.aggregation.deprecated.UniqueConcatenateOperator(GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
/**
* Concatenates all distinct cell values and counts the members.
*/
addDeprecatedOperator(new org.knime.base.data.aggregation.deprecated.UniqueConcatenateWithCountOperator(GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
// methods changed in KNIME version 2.5.2
addDeprecatedOperator(new org.knime.base.data.aggregation.deprecated.SumOperator(GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
// methods changed in KNIME version 2.12.0
addDeprecatedOperator(new org.knime.base.data.aggregation.deprecated.AndElementOperator(GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
addDeprecatedOperator(new org.knime.base.data.aggregation.deprecated.AndElementCountOperator(GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
// methods changed in KNIME version 3.4
addDeprecatedOperator(new org.knime.base.data.aggregation.deprecated.MedianOperator(GlobalSettings.DEFAULT, OperatorColumnSettings.DEFAULT_EXCL_MISSING));
}
Aggregations