Interface WithDistinct<T>

Type Parameters:
T - - the entity class
All Known Subinterfaces:
ExecutableFindByQueryOperation.ExecutableFindByQuery<T>, ExecutableFindByQueryOperation.FindByQueryWithDistinct<T>, ReactiveFindByQueryOperation.FindByQueryWithDistinct<T>, ReactiveFindByQueryOperation.ReactiveFindByQuery<T>

public interface WithDistinct<T>
Interface for operations that take distinct fields
Author:
Michael Reiche, Emilien Bevierre
  • Method Details

    • distinct

      Object distinct(String[] distinctFields)
      Specify distinct field names
      Parameters:
      distinctFields - - distinct fields
    • distinct

      default Object distinct(TypedPropertyPath<T,?>... distinctFields)
      Type-safe variant of distinct(String[]) using property paths.
      Parameters:
      distinctFields - the property paths to use as distinct fields.
      Since:
      6.1