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 Details

    • logger

      protected org.slf4j.Logger logger
    • ID

      protected static final String ID
      See Also:
    • MAX_RETRY

      public static final int MAX_RETRY
      See Also:
    • MAX_ROWS_PER_STEP

      public static final int MAX_ROWS_PER_STEP
      See Also:
    • aggregationStatus

      protected final AggregationStatus aggregationStatus
    • file

      protected final File file
    • finalAggregationState

      protected final AggregationState finalAggregationState
    • rowToBeElaborated

      protected final int rowToBeElaborated
    • currentlyElaborated

      protected int currentlyElaborated
    • startTime

      protected Calendar startTime
    • effectiveMaxRowPerStep

      protected int effectiveMaxRowPerStep
  • Constructor Details

  • Method Details

    • readFile

      protected void readFile() throws Exception
      Throws:
      Exception
    • elaborate

      public void elaborate() throws Exception
      Throws:
      Exception
    • elaborateLine

      protected abstract void elaborateLine(String line) throws Exception
      Throws:
      Exception
    • afterElaboration

      protected abstract void afterElaboration() throws Exception
      Perform actions at the end of line by line elaboration
      Throws:
      Exception