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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      S mode​(SortMode mode)
      Start describing the behavior of this sort when a document has multiple values for the targeted field.
    • Method Detail

      • 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.