Interface ExecutableFindByQueryOperation.TerminatingFindByQuery<T>

All Superinterfaces:
OneAndAll<T>
All Known Subinterfaces:
ExecutableFindByQueryOperation.ExecutableFindByQuery<T>, ExecutableFindByQueryOperation.FindByQueryConsistentWith<T>, ExecutableFindByQueryOperation.FindByQueryInCollection<T>, ExecutableFindByQueryOperation.FindByQueryInScope<T>, ExecutableFindByQueryOperation.FindByQueryWithConsistency<T>, ExecutableFindByQueryOperation.FindByQueryWithDistinct<T>, ExecutableFindByQueryOperation.FindByQueryWithOptions<T>, ExecutableFindByQueryOperation.FindByQueryWithProjecting<T>, ExecutableFindByQueryOperation.FindByQueryWithProjection<T>, ExecutableFindByQueryOperation.FindByQueryWithQuery<T>
Enclosing interface:
ExecutableFindByQueryOperation

public static interface ExecutableFindByQueryOperation.TerminatingFindByQuery<T> extends OneAndAll<T>
Terminating operations invoking the actual execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    all()
    Get all matching documents.
    long
    Get the number of matching elements.
    boolean
    Check for the presence of matching elements.
    default Optional<T>
    Get the first or no result.
    Get the first or no result.
    default Optional<T>
    one()
    Get exactly zero or one result.
    Get exactly zero or one result.
    Stream all matching elements.