Class AccountingAggregatorPlugin
java.lang.Object
org.gcube.vremanagement.executor.plugin.Plugin
org.gcube.accounting.aggregator.plugin.AccountingAggregatorPlugin
- All Implemented Interfaces:
org.gcube.vremanagement.executor.plugin.PluginDefinition
public class AccountingAggregatorPlugin
extends org.gcube.vremanagement.executor.plugin.Plugin
- Author:
- Alessandro Pieve (ISTI - CNR), Luca Frosini (ISTI - CNR)
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final DateFormatstatic final Stringstatic final StringDay is ignored for MONTHLY aggregation Month and Day are ignored for YEARLY aggregationstatic final StringKey to indicateAggregationTypestatic final StringIndicate which types of elaboration the plugin must performstatic final Stringstatic final Stringstatic final Stringstatic final DateFormatstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThis parameter is used to skip aggregation.Fields inherited from class org.gcube.vremanagement.executor.plugin.Plugin
DESCRIPTION_PROPERTY, GROUP_PROPERTY, iterationNumber, NAME_PROPERTY, percentageSetter, PLUGIN_PROPERTIES_SUFFIX_FILENAME, properties, uuid, VERSION_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.gcube.vremanagement.executor.plugin.Plugin
getDescription, getGroup, getIterationNumber, getName, getSupportedCapabilities, getUUID, getVersion, setIterationNumber, setPercentageEvolution, setPercentageSetter, setUUID, stop
-
Field Details
-
NAME
- See Also:
-
AGGREGATION_TYPE_INPUT_PARAMETER
Key to indicateAggregationType- See Also:
-
AGGREGATION_START_DATE_INPUT_PARAMETER
Day is ignored for MONTHLY aggregation Month and Day are ignored for YEARLY aggregation- See Also:
-
AGGREGATION_END_DATE_INPUT_PARAMETER
- See Also:
-
RESTART_FROM_LAST_AGGREGATION_DATE_INPUT_PARAMETER
- See Also:
-
AGGREGATION_START_DATE_DATE_FORMAT_PATTERN
- See Also:
-
AGGREGATION_START_DATE_DATE_FORMAT
-
FORCE_EARLY_AGGREGATION
- See Also:
-
FORCE_RERUN
- See Also:
-
FORCE_RESTART
- See Also:
-
SKIP_AGGREGATION
This parameter is used to skip aggregation. Default is false. It is used mainly to move the data from a db/table to another when the data has been already aggregated and any attempt to aggregate again does not have any effect. Please note that aggregation could take a lot of time when the amount of not aggregable records is more than 50.000/60.000. The reason is simple. Any records must be compared with the previous 50.000 before deciding that is not aggregable and to be inserted in the list. Furthermore it requires a lot of memory.- See Also:
-
ELABORATION_TYPE_INPUT_PARAMETER
Indicate which types of elaboration the plugin must perform- See Also:
-
LOCAL_TIME_DATE_FORMAT_PATTERN
- See Also:
-
LOCAL_TIME_DATE_FORMAT
-
RECORD_TYPE_INPUT_PARAMETER
- See Also:
-
-
Constructor Details
-
AccountingAggregatorPlugin
public AccountingAggregatorPlugin()
-
-
Method Details