public class FixedLongValueMissingCellHandler extends DefaultMissingCellHandler
CUSTOM_HANDLER_EXTENSION_NAME
Constructor and Description |
---|
FixedLongValueMissingCellHandler(DataColumnSpec col) |
Modifier and Type | Method and Description |
---|---|
static SettingsModelLong |
createLongValueSettingsModel() |
DataCell |
getCell(RowKey key,
DataColumnWindow window)
Calculates the replacement value for a cell.
|
org.dmg.pmml.DerivedFieldDocument.DerivedField |
getPMMLDerivedField()
Creates a derived field for the documentation of the operation in PMML.
|
Statistic |
getStatistic()
Returns a Knime statistic to be evaluated before missing values are replaced.
|
void |
loadSettingsFrom(NodeSettingsRO settings)
Loads user settings.
|
void |
saveSettingsTo(NodeSettingsWO settings)
Saves user settings.
|
getNextCellsWindowSize, getPreviousCellsWindowSize
createExtensionDerivedField, createValueReplacingDerivedField, fromPMMLExtension, getColumnSpec, getOutputDataType, getPMMLDataTypeForColumn, getWarningMessage, nonMissingValueSeen, rowRemoved
public FixedLongValueMissingCellHandler(DataColumnSpec col)
col
- the column this handler is configured forpublic static SettingsModelLong createLongValueSettingsModel()
public void loadSettingsFrom(NodeSettingsRO settings) throws InvalidSettingsException
loadSettingsFrom
in class MissingCellHandler
settings
- the settingsInvalidSettingsException
- when the settings cannot be loadedpublic void saveSettingsTo(NodeSettingsWO settings)
saveSettingsTo
in class MissingCellHandler
settings
- the settingspublic Statistic getStatistic()
getStatistic
in class MissingCellHandler
public DataCell getCell(RowKey key, DataColumnWindow window)
getCell
in class MissingCellHandler
key
- the row key of the row where the cell should be replaced.window
- the window over the previous and next cells as defined by
getPreviousCellsWindowSize
and getNextCellsWindowSize
.public org.dmg.pmml.DerivedFieldDocument.DerivedField getPMMLDerivedField()
getPMMLDerivedField
in class MissingCellHandler
KNIME GmbH, Konstanz, Germany
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.