Class LuceneStandardFieldSort.NumericFieldFactory<F,E extends Number>
- java.lang.Object
-
- org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneValueFieldSearchQueryElementFactory<T,F>
-
- org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory<FieldSortBuilder,F,C>
-
- org.hibernate.search.backend.lucene.types.sort.impl.LuceneStandardFieldSort.NumericFieldFactory<F,E>
-
- All Implemented Interfaces:
SearchQueryElementFactory<FieldSortBuilder,LuceneSearchIndexScope<?>,LuceneSearchIndexValueFieldContext<F>>
- Enclosing class:
- LuceneStandardFieldSort
public static class LuceneStandardFieldSort.NumericFieldFactory<F,E extends Number> extends AbstractLuceneCodecAwareSearchQueryElementFactory<FieldSortBuilder,F,C>
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
codec
-
-
Constructor Summary
Constructors Constructor Description NumericFieldFactory(AbstractLuceneNumericFieldCodec<F,E> codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldSortBuildercreate(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<F> field)-
Methods inherited from class org.hibernate.search.backend.lucene.search.common.impl.AbstractLuceneCodecAwareSearchQueryElementFactory
checkCompatibleWith
-
-
-
-
Constructor Detail
-
NumericFieldFactory
public NumericFieldFactory(AbstractLuceneNumericFieldCodec<F,E> codec)
-
-
Method Detail
-
create
public FieldSortBuilder create(LuceneSearchIndexScope<?> scope, LuceneSearchIndexValueFieldContext<F> field)
- Specified by:
createin interfaceSearchQueryElementFactory<FieldSortBuilder,LuceneSearchIndexScope<?>,LuceneSearchIndexValueFieldContext<F>>- Specified by:
createin classAbstractLuceneValueFieldSearchQueryElementFactory<FieldSortBuilder,F>- Parameters:
scope- The search context, i.e. information regarding the targeted indexes.field- The targeted index node.- Returns:
- The query element, or an intermediary builder (depending on the factory type).
-
-