|
||||||||||
| 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.MillisRangeOperator
public class MillisRangeOperator
Date operator that computes the range between the first and last date in milliseconds.
| Constructor Summary | |
|---|---|
|
MillisRangeOperator(GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
Constructor for class MillisRangeOperator. |
protected |
MillisRangeOperator(OperatorData operatorData,
GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
Constructor for class MillisRangeOperator. |
| 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 DateAndTimeValue |
getMax()
|
protected DateAndTimeValue |
getMin()
|
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 MillisRangeOperator(OperatorData operatorData,
GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
operatorData - the operator dataglobalSettings - the global settingsopColSettings - the operator column specific settings
public MillisRangeOperator(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 AggregationOperatorprotected DateAndTimeValue getMin()
null if
the group contained only missing cellsprotected DateAndTimeValue getMax()
null if the group contained
only missing cellspublic String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||