Class CompositeSortComponentsStepImpl
java.lang.Object
org.hibernate.search.engine.search.sort.dsl.impl.CompositeSortComponentsStepImpl
- All Implemented Interfaces:
CompositeSortComponentsStep<CompositeSortComponentsStepImpl>,SortFinalStep,SortThenStep
public final class CompositeSortComponentsStepImpl
extends Object
implements CompositeSortComponentsStep<CompositeSortComponentsStepImpl>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(SearchSort searchSort) Add an element to the composite sort based on a previously-builtSearchSort.then()Start defining another sort, to be applied after the current one.toSort()Create aSearchSortinstance matching the definition given in the previous DSL steps.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.search.sort.dsl.CompositeSortComponentsStep
add
-
Constructor Details
-
CompositeSortComponentsStepImpl
-
-
Method Details
-
add
Description copied from interface:CompositeSortComponentsStepAdd an element to the composite sort based on a previously-builtSearchSort.- Specified by:
addin interfaceCompositeSortComponentsStep<CompositeSortComponentsStepImpl>- Parameters:
searchSort- The sort to add.- Returns:
this, for method chaining.
-
then
Description copied from interface:SortThenStepStart defining another sort, to be applied after the current one.- Specified by:
thenin interfaceSortThenStep- Returns:
- The next step.
-
toSort
Description copied from interface:SortFinalStepCreate aSearchSortinstance matching the definition given in the previous DSL steps.- Specified by:
toSortin interfaceSortFinalStep- Returns:
- The
SearchSortresulting from the previous DSL steps.
-