public interface EventSources
TransformableEventStream.| Modifier and Type | Method and Description |
|---|---|
static TransformableEventStream |
fromIterable(Iterable<EventWithToken> events)
Creates a
TransformableEventStream based on the Iterable of events. |
static TransformableEventStream |
range(Supplier<EventChannel> eventChannelSupplier,
long first,
long last)
Creates a
TransformableEventStream based on the eventChannelSupplier and first and
last event tokens. |
static TransformableEventStream fromIterable(Iterable<EventWithToken> events)
TransformableEventStream based on the Iterable of events.events - Iterable of eventsTransformableEventStreamstatic TransformableEventStream range(Supplier<EventChannel> eventChannelSupplier, long first, long last)
TransformableEventStream based on the eventChannelSupplier and first and
last event tokens.eventChannelSupplier - supplies the EventChannelfirst - the first token to be included in the stream, should be -1 to start from the
beginninglast - the last token to be included in the streamTransformableEventStreamCopyright © 2020–2023 AxonIQ BV. All rights reserved.