|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.data.aggregation.AggregationOperator
org.knime.base.data.aggregation.date.DateMeanOperator
public class DateMeanOperator
Date operator that calculates the mean date per group. The resulting date has date/time/milliseconds set if at least one member of the group had date/time/milliseconds set.
| Constructor Summary | |
|---|---|
|
DateMeanOperator(GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
Constructor for class DateMeanOperator. |
protected |
DateMeanOperator(OperatorData operatorData,
GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
Constructor for class DateMeanOperator. |
| Method Summary | |
|---|---|
protected boolean |
computeInternal(DataCell cell)
|
AggregationOperator |
createInstance(GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
Creates a new instance of this operator. |
protected DataType |
getDataType(DataType origType)
|
String |
getDescription()
|
protected DataCell |
getResultInternal()
|
protected void |
resetInternal()
Should reset the operator to the start values. |
| Methods inherited from class org.knime.base.data.aggregation.AggregationOperator |
|---|
compareTo, compute, createColumnSpec, createOperator, getColumnLabel, getGlobalSettings, getId, getLabel, getMaxUniqueValues, getOperatorData, getResult, getSkipMessage, getSupportedType, getSupportedTypeLabel, getValueDelimiter, inclMissingCells, isCompatible, isCompatible, isSkipped, isUsesLimit, keepColumnSpec, reset, setSkipMessage, setSkipped, supportsMissingValueOption, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected DateMeanOperator(OperatorData operatorData,
GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
operatorData - the operator dataglobalSettings - the global settingsopColSettings - the operator column specific settings
public DateMeanOperator(GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
globalSettings - the global settingsopColSettings - the operator column specific settings| Method Detail |
|---|
public AggregationOperator createInstance(GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
createInstance in class AggregationOperatorglobalSettings - the global settingsopColSettings - the operator column specific settings
protected boolean computeInternal(DataCell cell)
computeInternal in class AggregationOperatorcell - the DataCell to consider during computing the cell
can't be null but can be a missing cell
DataCell.isMissing() if the option is
AggregationOperator.inclMissingCells() option is set to true.
true if this column should be skipped in further
calculationsprotected DataType getDataType(DataType origType)
getDataType in class AggregationOperatororigType - the DataType of the original column to aggregate
DataType of the aggregation resultprotected DataCell getResultInternal()
getResultInternal in class AggregationOperatorDataCellprotected void resetInternal()
resetInternal in class AggregationOperatorpublic String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||