Class DocumentElaboration
- java.lang.Object
-
- org.gcube.accounting.aggregator.persist.DocumentElaboration
-
- Direct Known Subclasses:
DeleteDocument,InsertDocument
public abstract class DocumentElaboration extends Object
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description protected AggregationStatusaggregationStatusprotected Filefileprotected AggregationStatefinalAggregationStateprotected static StringIDprotected org.slf4j.Loggerloggerstatic intMAX_RETRYprotected introwToBeElaboratedprotected CalendarstartTimeprotected static intTHRESHOLD_FOR_FIVE_PERCENTprotected static intTHRESHOLD_FOR_ONE_PERCENT
-
Constructor Summary
Constructors Modifier Constructor Description protectedDocumentElaboration(AggregationStatus statusManager, AggregationState finalAggregationState, File file, int rowToBeElaborated)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidafterElaboration()Perform actions at the end of line by line elaborationvoidelaborate()protected abstract voidelaborateLine(String line)protected voidreadFile()
-
-
-
Field Detail
-
logger
protected org.slf4j.Logger logger
-
ID
protected static final String ID
- See Also:
- Constant Field Values
-
THRESHOLD_FOR_FIVE_PERCENT
protected static final int THRESHOLD_FOR_FIVE_PERCENT
- See Also:
- Constant Field Values
-
THRESHOLD_FOR_ONE_PERCENT
protected static final int THRESHOLD_FOR_ONE_PERCENT
- See Also:
- Constant Field Values
-
MAX_RETRY
public static final int MAX_RETRY
- See Also:
- Constant Field Values
-
aggregationStatus
protected final AggregationStatus aggregationStatus
-
file
protected final File file
-
finalAggregationState
protected final AggregationState finalAggregationState
-
rowToBeElaborated
protected final int rowToBeElaborated
-
startTime
protected Calendar startTime
-
-
Constructor Detail
-
DocumentElaboration
protected DocumentElaboration(AggregationStatus statusManager, AggregationState finalAggregationState, File file, int rowToBeElaborated)
-
-