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 entity 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 SearchQueryDslExtension<LuceneSearchQueryHitTypeStep<R,E>,R,E>, SearchQueryExtension<LuceneSearchQuery<H>,H>, SearchPredicateFactoryExtension<LuceneSearchPredicateFactory>, SearchSortFactoryExtension<LuceneSearchSortFactory>, SearchProjectionFactoryExtension<LuceneSearchProjectionFactory<R,E>,R,E>, SearchAggregationFactoryExtension<LuceneSearchAggregationFactory>, IndexFieldTypeFactoryExtension<LuceneIndexFieldTypeFactory>
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.
get()public static <H,R,E> LuceneExtension<H,R,E> get()
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 entity 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 Optional<LuceneSearchQueryHitTypeStep<R,E>> extendOptional(SearchQueryHitTypeStep<?,R,E,?,?> original, IndexScope<?> indexScope, BackendSessionContext sessionContext, LoadingContextBuilder<R,E> loadingContextBuilder)
extendOptional in interface SearchQueryDslExtension<LuceneSearchQueryHitTypeStep<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<LuceneSearchPredicateFactory> extendOptional(SearchPredicateFactory original, SearchPredicateBuilderFactory<C,B> factory)
extendOptional in interface SearchPredicateFactoryExtension<LuceneSearchPredicateFactory>public Optional<LuceneSearchSortFactory> extendOptional(SearchSortFactory original, SearchSortDslContext<?,?> dslContext)
extendOptional in interface SearchSortFactoryExtension<LuceneSearchSortFactory>public Optional<LuceneSearchProjectionFactory<R,E>> extendOptional(SearchProjectionFactory<R,E> original, SearchProjectionBuilderFactory factory)
extendOptional in interface SearchProjectionFactoryExtension<LuceneSearchProjectionFactory<R,E>,R,E>public Optional<LuceneSearchAggregationFactory> extendOptional(SearchAggregationFactory original, SearchAggregationDslContext<?> dslContext)
extendOptional in interface SearchAggregationFactoryExtension<LuceneSearchAggregationFactory>public LuceneIndexFieldTypeFactory extendOrFail(IndexFieldTypeFactory original)
extendOrFail in interface IndexFieldTypeFactoryExtension<LuceneIndexFieldTypeFactory>Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.