Class AbstractSortThenStep
- java.lang.Object
-
- org.hibernate.search.engine.search.sort.dsl.spi.AbstractSortThenStep
-
- All Implemented Interfaces:
SortFinalStep
,SortThenStep
- Direct Known Subclasses:
StaticSortThenStep
public abstract class AbstractSortThenStep extends Object implements SortThenStep
-
-
Constructor Summary
Constructors Constructor Description AbstractSortThenStep(SearchSortDslContext<?,?> parentDslContext)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract SearchSort
build()
SearchSortFactory
then()
Start defining another sort, to be applied after the current one.SearchSort
toSort()
Create aSearchSort
instance matching the definition given in the previous DSL steps.
-
-
-
Constructor Detail
-
AbstractSortThenStep
public AbstractSortThenStep(SearchSortDslContext<?,?> parentDslContext)
-
-
Method Detail
-
then
public final SearchSortFactory then()
Description copied from interface:SortThenStep
Start defining another sort, to be applied after the current one.- Specified by:
then
in interfaceSortThenStep
- Returns:
- The next step.
-
toSort
public SearchSort toSort()
Description copied from interface:SortFinalStep
Create aSearchSort
instance matching the definition given in the previous DSL steps.- Specified by:
toSort
in interfaceSortFinalStep
- Returns:
- The
SearchSort
resulting from the previous DSL steps.
-
build
protected abstract SearchSort build()
-
-