Package com.persequor.event
Interface ICassandraEventsQuery<T extends IRepositoryEventsQuery<T>>
public interface ICassandraEventsQuery<T extends IRepositoryEventsQuery<T>>
- 
Method SummaryModifier and TypeMethodDescriptionbyBizTransaction(String bizTransactionType, String... bizTransactions) Keep only events in result which have their business transaction type matching the provided one and business transaction value in the provided collection.byBizTransaction(String bizTransactionType, Collection<String> bizTransactions) Keep only events which have their business transaction type matching the provided one and business transaction value in the provided collection.byDestination(String destinationType, String... destinations) Keep only events in result which have their destination type matching the provided one and destination value in the provided collection.byDestination(String destinationType, Collection<String> destinations) Keep only events in result which have their destination type matching the provided one and destination value in the provided collection.byEpcisEventId(String... ids) Filter this query by any of these epcis event ids.byMatchAnyEPC(String... anyEpcs) Filter this query by any of these EPCs in childEpc, parentId, inputEpc and epcListbyMatchAnyEPC(Collection<String> anyEpcs) Filter this query by any of these EPCs in childEpc, parentId, inputEpc and epcListbyMatchAnyEpcClass(Collection<String> epcClasses) Filter by EPC classes from both input and output quantityListbyMatchEpc(String... epc) Filter this query by any of these EPCsbyMatchEpc(Collection<String> epc) Filter this query by any of these EPCs.byMatchEpcClass(Collection<String> epcClasses) Filter by EPC classes from extension/quantityList/quantityElement/epcClassbyMatchParentID(String... epcs) Filter this query by any of these parentIds.byMatchParentID(Collection<String> epcs) Filter this query by any of these parentIds.bySagaEventId(UUID... ids) Filter this query by any of these epcis event ids.Filter this query by any of these Sources.bySource(String sourceType, Collection<String> sources) Filter this query by any of these Sources.filterRevertedEvents(boolean enableFilter) Explicitly set the filter option for reverted events, to override the default set in the saga configuration
- 
Method Details- 
byMatchParentIDFilter this query by any of these parentIds. Setting this will also remove events without a parentId- Parameters:
- epcs- parent ids allowed in the result
- Returns:
- this query instance
- See Also:
 
- 
byMatchParentIDFilter this query by any of these parentIds. Setting this will also remove events without a parentId- Parameters:
- epcs- parent ids allowed in the result
- Returns:
- this query instance
- See Also:
 
- 
byMatchEpcFilter this query by any of these EPCs.- Parameters:
- epc- allowed in the result
- Returns:
- this query instance
- See Also:
 
- 
byMatchEpcFilter this query by any of these EPCs- Parameters:
- epc- allowed in the result
- Returns:
- this query instance
- See Also:
 
- 
byMatchAnyEPCFilter this query by any of these EPCs in childEpc, parentId, inputEpc and epcList- Parameters:
- anyEpcs- allowed in the result
- Returns:
- this query instance
- See Also:
 
- 
byMatchAnyEPCFilter this query by any of these EPCs in childEpc, parentId, inputEpc and epcList- Parameters:
- anyEpcs- allowed in the result
- Returns:
- this query instance
- See Also:
 
- 
byBizTransactionKeep only events which have their business transaction type matching the provided one and business transaction value in the provided collection.- Parameters:
- bizTransactionType- allowed business transaction type in the result
- bizTransactions- allowed business transaction values in the result
- Returns:
- this query instance
- See Also:
 
- 
byBizTransactionKeep only events in result which have their business transaction type matching the provided one and business transaction value in the provided collection.- Parameters:
- bizTransactionType- allowed business transaction type in the result
- bizTransactions- allowed business transaction values in the result
- Returns:
- this query instance
- See Also:
 
- 
bySourceFilter this query by any of these Sources.- Parameters:
- sourceType- allowed source type in the result
- sources- allowed source values in the result
- Returns:
- this query instance
- See Also:
 
- 
bySourceFilter this query by any of these Sources.- Parameters:
- sourceType- allowed source type in the result
- sources- allowed source values in the result
- Returns:
- this query instance
- See Also:
 
- 
byDestinationKeep only events in result which have their destination type matching the provided one and destination value in the provided collection.- Parameters:
- destinationType- allowed destination type in the result
- destinations- allowed destination values in the result
- Returns:
- this query instance
- See Also:
 
- 
byDestinationKeep only events in result which have their destination type matching the provided one and destination value in the provided collection.- Parameters:
- destinationType- allowed destination type in the result
- destinations- allowed destination values in the result
- Returns:
- this query instance
- See Also:
 
- 
byMatchEpcClassFilter by EPC classes from extension/quantityList/quantityElement/epcClass- Parameters:
- epcClasses- allowed in the result
- Returns:
- this query instance
 
- 
byMatchAnyEpcClassFilter by EPC classes from both input and output quantityList- Parameters:
- epcClasses- allowed in the result
- Returns:
- this query instance
 
- 
bySagaEventIdFilter this query by any of these epcis event ids.- Parameters:
- ids- epcis event ids allowed in the result
- Returns:
- this query instance
 
- 
byEpcisEventIdFilter this query by any of these epcis event ids.- Parameters:
- ids- epcis event ids allowed in the result
- Returns:
- this query instance
 
- 
filterRevertedEventsExplicitly set the filter option for reverted events, to override the default set in the saga configuration- Parameters:
- enableFilter- sets whether or not to filter reverted events from the query result
- Returns:
- this query instance
 
 
-