Uses of Interface
org.axonframework.messaging.eventstreaming.EventCriteria
Packages that use EventCriteria
Package
Description
Classes related to event sourcing.
Definitions and implementations of the Event store, the mechanism that can load event streams and append events to
them.
-
Uses of EventCriteria in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing that return EventCriteriaModifier and TypeMethodDescriptionCriteriaResolver.resolve(I identifier, ProcessingContext context) Resolves the givenidentifierto anEventCriteria. -
Uses of EventCriteria in org.axonframework.eventsourcing.annotation
Methods in org.axonframework.eventsourcing.annotation that return EventCriteriaModifier and TypeMethodDescriptionAnnotationBasedEventCriteriaResolver.resolve(Object id, ProcessingContext context) -
Uses of EventCriteria in org.axonframework.eventsourcing.eventstore
Methods in org.axonframework.eventsourcing.eventstore with parameters of type EventCriteriaModifier and TypeMethodDescriptionstatic SourcingConditionSourcingCondition.conditionFor(Position start, EventCriteria criteria) Construct aSourcingConditionused to source a model based on the givencriteria.static SourcingConditionSourcingCondition.conditionFor(EventCriteria criteria) Construct aSourcingConditionused to source a model based on the givencriteria.default AppendConditionAppendCondition.orCriteria(EventCriteria criteria) Returns an AppendCondition with a condition that represents this AppendCondition's criteria or the givencriteria.static AppendConditionAppendCondition.withCriteria(EventCriteria criteria) Creates an AppendCondition to append events only if no events matching givencriteriaare available. -
Uses of EventCriteria in org.axonframework.messaging.eventhandling.processing.streaming.pooled
Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled that return types with arguments of type EventCriteriaModifier and TypeMethodDescriptionPooledStreamingEventProcessorConfiguration.eventCriteriaProvider()Returns the function to buildEventCriteriafrom supported event types.Method parameters in org.axonframework.messaging.eventhandling.processing.streaming.pooled with type arguments of type EventCriteriaModifier and TypeMethodDescriptionPooledStreamingEventProcessorConfiguration.eventCriteria(Function<Set<QualifiedName>, EventCriteria> eventCriteriaProvider) Sets the function to build theEventCriteriaused to filter events when opening the event source. -
Uses of EventCriteria in org.axonframework.messaging.eventstreaming
Subinterfaces of EventCriteria in org.axonframework.messaging.eventstreamingModifier and TypeInterfaceDescriptioninterfaceDescribes a singular, non-nested criteria for filtering events.interfaceAnEventCriteriathat can be restricted to a specific set of event types.Methods in org.axonframework.messaging.eventstreaming that return EventCriteriaModifier and TypeMethodDescriptiondefault EventCriteriaEventTypeRestrictableEventCriteria.andBeingOfAnyType()Specifies that the event can be of any type.default EventCriteriaEventTypeRestrictableEventCriteria.andBeingOneOfTypes(String... types) Define that the event must be one of the providedtypes.EventTypeRestrictableEventCriteria.andBeingOneOfTypes(Set<QualifiedName> types) Define that the event must be one of the providedtypes.default EventCriteriaEventTypeRestrictableEventCriteria.andBeingOneOfTypes(MessageTypeResolver typeResolver, Class<?>... types) Define that the event must be one of the providedtypes.default EventCriteriaEventTypeRestrictableEventCriteria.andBeingOneOfTypes(QualifiedName... types) Define that the event must be one of the providedtypes.EventsCondition.criteria()The set of criteria against which events must match.default EventCriteriaStreamingCondition.criteria()static EventCriteriaEventCriteria.either(Collection<EventCriteria> eventCriteria) Create anEventCriteriathat matches events that match either of the givenEventCriteria.static EventCriteriaEventCriteria.either(EventCriteria... eventCriteria) Create anEventCriteriathat matches events that match either of the givenEventCriteria.EventCriteria.or(EventCriteria criteria) Create anEventCriteriathat matches events from eitherthisor the givencriteria EventCriteria.Methods in org.axonframework.messaging.eventstreaming with parameters of type EventCriteriaModifier and TypeMethodDescriptionstatic StreamingConditionStreamingCondition.conditionFor(TrackingToken position, EventCriteria criteria) Constructs a simpleStreamingConditionthat starts streaming from the givenposition, only returning events matching the givencriteria.static EventCriteriaEventCriteria.either(EventCriteria... eventCriteria) Create anEventCriteriathat matches events that match either of the givenEventCriteria.EventCriteria.or(EventCriteria criteria) Create anEventCriteriathat matches events from eitherthisor the givencriteria EventCriteria.StreamingCondition.or(EventCriteria criteria) Method parameters in org.axonframework.messaging.eventstreaming with type arguments of type EventCriteriaModifier and TypeMethodDescriptionstatic EventCriteriaEventCriteria.either(Collection<EventCriteria> eventCriteria) Create anEventCriteriathat matches events that match either of the givenEventCriteria.