Klasse DUUIEventController
java.lang.Object
org.texttechnologylab.duui.api.controllers.events.DUUIEventController
A Controller for database operations related to the events collection.
- Autor:
- Cedric Borkowski
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voiddeleteMany(org.bson.conversions.Bson filter) Delete all events matching a given filterstatic List<org.bson.Document> findManyByDocument(String documentId) Find one or more events that reference a document by id.static List<org.bson.Document> findManyByProcess(String process_id) static voidinsertMany(String processId, List<org.texttechnologylab.DockerUnifiedUIMAInterface.monitoring.DUUIEvent> events) Insert one or more events that reference a process.
-
Konstruktordetails
-
DUUIEventController
public DUUIEventController()
-
-
Methodendetails
-
deleteMany
public static void deleteMany(org.bson.conversions.Bson filter) Delete all events matching a given filter- Parameter:
filter- ABsonfilter to delete only selected events
-
findManyByDocument
Find one or more events that reference a document by id.- Parameter:
documentId- The id of the document an event must reference.- Gibt zurück:
- A List of Documents.
-
findManyByProcess
-
insertMany
public static void insertMany(String processId, List<org.texttechnologylab.DockerUnifiedUIMAInterface.monitoring.DUUIEvent> events) Insert one or more events that reference a process.- Parameter:
processId- The id of the process an event must referenceevents- The list of events to insert.
-