Interface ExposesWhere<T>

Type Parameters:
T - The type of the owner exposing the WHERE clause
All Known Subinterfaces:
ExposesSubqueryCall.BuildableSubquery, StatementBuilder.OngoingInQueryCallWithReturnFields, StatementBuilder.OngoingReadingWithoutWhere, StatementBuilder.OngoingStandaloneCallWithReturnFields
All Known Implementing Classes:
CountExpression

@API(status=STABLE, since="2020.0.1") public interface ExposesWhere<T>
A step exposing a several where methods that are provide entry points of adding conditions.
Since:
2020.0.1
Author:
Michael J. Simons
  • Method Summary

    Modifier and Type
    Method
    Description
    where(Condition condition)
    Adds a where clause to this fragement.
    default T
    Adds a where clause based on a path pattern to this match.
  • Method Details

    • where

      @NotNull @CheckReturnValue T where(Condition condition)
      Adds a where clause to this fragement.
      Parameters:
      condition - The new condition, must not be null
      Returns:
      A match or call restricted by a where clause with no return items yet.
    • where

      @NotNull @CheckReturnValue default T where(RelationshipPattern pathPattern)
      Adds a where clause based on a path pattern to this match. See Using path patterns in WHERE.
      Parameters:
      pathPattern - The path pattern to add to the where clause. This path pattern must not be null and must not introduce new variables not available in the match.
      Returns:
      A match or a call restricted by a where clause with no return items yet.
      Since:
      1.0.1