Interface Search<T>

    • Method Detail

      • stream

        static <E> MethodQuery<E> stream​(ReifiedType<E> eventType)
        Return streaming method query for specified event type.
        Type Parameters:
        E - type of the event
        Parameters:
        eventType - stream event type
        Returns:
        streaming method query, never {code null}
        Since:
        1.1
      • all

        CompletionStage<Collection<T>> all()
        Retrieves all elements matching the search criteria.
        Returns:
        a stage that will complete with the first batch of matching elements, never null
        Since:
        1.3
      • any

        CompletionStage<T> any()
        Retrieves any one of the elements from a set matching the search criteria.
        Returns:
        a stage that completes with any one of the matching elements, never null
        Since:
        1.3