Bases: object
Base class for event storage system connections.
Clear database.
Clear expired data from the backend storage system.
Clearing occurs according to the time-to-live.
Parameters: | ttl – Number of seconds to keep records for. |
---|
Return an dictionary with the capabilities of each driver.
Return all event types as an iterable of strings.
Return an iterable of model.Event objects.
Return a dictionary representing the performance capabilities.
This is needed to evaluate the performance of each driver.
Return a dictionary containing the name and data type of the trait.
Only trait types for the provided event_type are returned. :param event_type: the type of the Event
Return all trait instances associated with an event_type.
If trait_type is specified, only return instances of that trait type. :param event_type: the type of the Event to filter by :param trait_type: the name of the Trait to filter by
Write the events to the backend storage system.
Parameters: | events – a list of model.Event objects. |
---|
Migrate the database to version or the most recent version.