Interface SortModeStep<S>

Type Parameters:
S - The "self" type (the actual exposed type of this step)
All Known Subinterfaces:
DistanceSortOptionsStep<S,PDF>, FieldSortOptionsStep<S,PDF>

public interface SortModeStep<S>
The step in a sort definition where the SortMode can be set.
Author:
Emmanuel Bernard emmanuel@hibernate.org
  • Method Summary

    Modifier and Type
    Method
    Description
    mode(SortMode mode)
    Start describing the behavior of this sort when a document has multiple values for the targeted field.
  • Method Details

    • mode

      S mode(SortMode mode)
      Start describing the behavior of this sort when a document has multiple values for the targeted field.
      Parameters:
      mode - The mode.
      Returns:
      this, for method chaining.