R - The reference type for projections.
Users should not have to care about this, as the parameter will automatically take the appropriate value when calling
.extension( LuceneExtension.get() .O - The loaded object type for projections.
Users should not have to care about this, as the parameter will automatically take the appropriate value when calling
.extension( LuceneExtension.get() .public final class LuceneExtension<R,O> extends Object implements SearchPredicateFactoryContextExtension<LuceneSearchPredicateFactoryContext>, SearchSortContainerContextExtension<LuceneSearchSortContainerContext>, SearchProjectionFactoryContextExtension<LuceneSearchProjectionFactoryContext<R,O>,R,O>, IndexFieldTypeFactoryContextExtension<LuceneIndexFieldTypeFactoryContext>
WARNING: while this type is API, because instances should be manipulated by users, all of its methods are considered SPIs and therefore should never be called directly by users. In short, users are only expected to get instances of this type from an API and pass it to another API.
| Modifier and Type | Method and Description |
|---|---|
<C,B> Optional<LuceneSearchPredicateFactoryContext> |
extendOptional(SearchPredicateFactoryContext original,
SearchPredicateBuilderFactory<C,B> factory) |
Optional<LuceneSearchProjectionFactoryContext<R,O>> |
extendOptional(SearchProjectionFactoryContext<R,O> original,
SearchProjectionBuilderFactory factory) |
<C,B> Optional<LuceneSearchSortContainerContext> |
extendOptional(SearchSortContainerContext original,
SearchSortBuilderFactory<C,B> factory,
SearchSortDslContext<? super B> dslContext) |
LuceneIndexFieldTypeFactoryContext |
extendOrFail(IndexFieldTypeFactoryContext original) |
static <R,O> LuceneExtension<R,O> |
get() |
public static <R,O> LuceneExtension<R,O> get()
public <C,B> Optional<LuceneSearchPredicateFactoryContext> extendOptional(SearchPredicateFactoryContext original, SearchPredicateBuilderFactory<C,B> factory)
extendOptional in interface SearchPredicateFactoryContextExtension<LuceneSearchPredicateFactoryContext>public <C,B> Optional<LuceneSearchSortContainerContext> extendOptional(SearchSortContainerContext original, SearchSortBuilderFactory<C,B> factory, SearchSortDslContext<? super B> dslContext)
extendOptional in interface SearchSortContainerContextExtension<LuceneSearchSortContainerContext>public Optional<LuceneSearchProjectionFactoryContext<R,O>> extendOptional(SearchProjectionFactoryContext<R,O> original, SearchProjectionBuilderFactory factory)
extendOptional in interface SearchProjectionFactoryContextExtension<LuceneSearchProjectionFactoryContext<R,O>,R,O>public LuceneIndexFieldTypeFactoryContext extendOrFail(IndexFieldTypeFactoryContext original)
extendOrFail in interface IndexFieldTypeFactoryContextExtension<LuceneIndexFieldTypeFactoryContext>Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.