de.hpi.fgis.dude.preprocessor
Interface Preprocessor

All Known Implementing Classes:
CountPreprocessor, DocumentFrequencyPreprocessor

public interface Preprocessor

Preprocessor is an interface that can be used for gathering statistics of the data within the extraction phase.

Author:
Matthias Pohl

Method Summary
 void analyzeDuDeObject(DuDeObject data)
          Passes the currently extracted DuDeObject to the Preprocessor for further analysis.
 void clearData()
          Clears statistics that were already gathered.
 void finish()
          This method is called after finishing the data extraction process.
 

Method Detail

analyzeDuDeObject

void analyzeDuDeObject(DuDeObject data)
Passes the currently extracted DuDeObject to the Preprocessor for further analysis. This method is called by every DataSource per extracted data record.

Parameters:
data - The DuDeObject that shall be analyzed.

finish

void finish()
This method is called after finishing the data extraction process. It can be used in order to created some further statistics.


clearData

void clearData()
Clears statistics that were already gathered.



Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.