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 SearchSortbuild()protected SearchSortDslContext<?,?>dslContext()SearchSortFactorythen()Start defining another sort, to be applied after the current one.SearchSorttoSort()Create aSearchSortinstance 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:SortThenStepStart defining another sort, to be applied after the current one.- Specified by:
thenin interfaceSortThenStep- Returns:
- The next step.
-
toSort
public SearchSort 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.
-
dslContext
protected SearchSortDslContext<?,?> dslContext()
-
build
protected abstract SearchSort build()
-
-