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übersichtKonstruktoren
- 
MethodenübersichtModifizierer 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- 
DUUIEventControllerpublic DUUIEventController()
 
- 
- 
Methodendetails- 
deleteManypublic static void deleteMany(org.bson.conversions.Bson filter) Delete all events matching a given filter- Parameter:
- filter- A- Bsonfilter to delete only selected events
 
- 
findManyByDocumentFind 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
- 
insertManypublic 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 reference
- events- The list of events to insert.
 
 
-