|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AggregationMethod
Interface that implements the main methods of an aggregation method.
However the main work is done by the AggregationOperator that can
be created using the
createOperator(GlobalSettings, OperatorColumnSettings) method.
A new AggregationOperator should be created per column.
AggregationMethods are sorted first by the supported data type and then
by the label.
| Method Summary | |
|---|---|
DataColumnSpec |
createColumnSpec(String colName,
DataColumnSpec origSpec)
|
AggregationOperator |
createOperator(GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
Creates a new instance of this operator and returns it. |
String |
getColumnLabel()
|
String |
getDescription()
|
String |
getId()
The unique identifier of the method that is used for registration and identification of the aggregation method. |
String |
getLabel()
|
Class<? extends DataValue> |
getSupportedType()
|
String |
getSupportedTypeLabel()
|
boolean |
inclMissingCells()
|
boolean |
isCompatible(DataColumnSpec origColSpec)
|
boolean |
supportsMissingValueOption()
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
String getId()
String getLabel()
DataColumnSpec createColumnSpec(String colName,
DataColumnSpec origSpec)
colName - the unique name of the columnorigSpec - the original DataColumnSpec
DataColumnSpecCreator for the aggregated columnString getColumnLabel()
boolean isCompatible(DataColumnSpec origColSpec)
origColSpec - the DataColumnSpec of the column to
check for compatibility
true if the aggregation method is compatible
AggregationOperator createOperator(GlobalSettings globalSettings,
OperatorColumnSettings opColSettings)
globalSettings - the global settingsopColSettings - the operator column specific settings
boolean supportsMissingValueOption()
true if the operator supports the alteration of
the missing cell optionboolean inclMissingCells()
true if missing cells are considered during
aggregationString getDescription()
Class<? extends DataValue> getSupportedType()
DataValue classString getSupportedTypeLabel()
DataValue class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||