|Modifier and Type||Method and Description|
Appends the passed event to the history of events.
Appends the passed events to the history of events.
Creates the stream with events matching the passed query.
void append(io.spine.core.Event event)
event- the record to append
void appendAll(java.lang.Iterable<io.spine.core.Event> events)
If the passed
Iterable is empty, no action is performed.
If the passed Events belong to the different
IllegalArgumentException is thrown.
events- the events to append
void read(io.spine.server.event.EventStreamQuery request, io.grpc.stub.StreamObserver<io.spine.core.Event> responseObserver)
request- the query with filtering parameters for the event history
responseObserver- observer for the resulting stream