package DBConnector
Type Members
-
trait
DBConnector extends AnyRef
This class is the interface that each database should extend.
This class is the interface that each database should extend. There are 3 types of methods described here:
- the write and reads methods - that should be implemented by each database, as they might have different indexing or structure
- the combine methods - that describe how the data already stored in the database are combined with the newly calculated
- the spark related methods - the initialization, building the appropriate tables and finally the termination.
The tables that are utilized are:
- IndexTable: contains the inverted index that it is based on event type pairs
- SequenceTable: contains the traces that are indexed
- SingleTable: contains the single inverted index (Similar to Set-Containment) where the key is a single event tyep
- LastChecked: contains the timestamp of the last completion of each event type per trace
- CountTable: contains basic statistics, like max duration and number of completions, for each event type pair
- Metadata: contains the information for each log database, like the compression algorithm, the number of traces and event type pairs etc.