H - The type of query hits.
Users should not have to care about this, as the parameter will automatically take the appropriate value when calling
.extension( LuceneExtension.get() .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() .E - entity 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<H,R,E> extends Object implements SearchQueryContextExtension<LuceneSearchQueryResultDefinitionContext<R,E>,R,E>, SearchQueryExtension<LuceneSearchQuery<H>,H>, SearchPredicateFactoryContextExtension<LuceneSearchPredicateFactoryContext>, SearchSortContainerContextExtension<LuceneSearchSortContainerContext>, SearchProjectionFactoryContextExtension<LuceneSearchProjectionFactoryContext<R,E>,R,E>, 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.
public static <H,R,E> LuceneExtension<H,R,E> get()
public Optional<LuceneSearchQueryResultDefinitionContext<R,E>> extendOptional(SearchQueryResultDefinitionContext<?,R,E,?,?> original, IndexSearchScope<?> indexSearchScope, SessionContextImplementor sessionContext, LoadingContextBuilder<R,E> loadingContextBuilder)
extendOptional in interface SearchQueryContextExtension<LuceneSearchQueryResultDefinitionContext<R,E>,R,E>public Optional<LuceneSearchQuery<H>> extendOptional(SearchQuery<H> original, LoadingContext<?,?> loadingContext)
extendOptional in interface SearchQueryExtension<LuceneSearchQuery<H>,H>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,E>> extendOptional(SearchProjectionFactoryContext<R,E> original, SearchProjectionBuilderFactory factory)
extendOptional in interface SearchProjectionFactoryContextExtension<LuceneSearchProjectionFactoryContext<R,E>,R,E>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.