| Package | Description |
|---|---|
| org.hibernate.search.engine.search.dsl.query | |
| org.hibernate.search.engine.search.dsl.query.spi |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SearchQueryResultDefinitionContext<N extends SearchQueryContext<?,E,?>,R,E,PJC extends SearchProjectionFactoryContext<R,E>,PDC extends SearchPredicateFactoryContext>
The context used when building a query, before the search result type has been defined.
|
| Modifier and Type | Method and Description |
|---|---|
SearchQueryResultContext<?,E,?> |
SearchQueryResultDefinitionContext.asEntity()
Define the query results as the entity was originally indexed, loaded from an external source (database, ...).
|
<P> SearchQueryResultContext<?,P,?> |
SearchQueryResultDefinitionContext.asProjection(Function<? super PJC,? extends SearchProjectionTerminalContext<P>> projectionContributor)
Define the query results as one projection for each matching document.
|
<P> SearchQueryResultContext<?,P,?> |
SearchQueryResultDefinitionContext.asProjection(SearchProjection<P> projection)
Define the query results as one projection for each matching document.
|
SearchQueryResultContext<?,List<?>,?> |
SearchQueryResultDefinitionContext.asProjections(SearchProjection<?>... projections)
Define the query results as a list of projections for each matching document.
|
SearchQueryResultContext<?,R,?> |
SearchQueryResultDefinitionContext.asReference()
Define the query results as a reference to entity that was originally indexed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDelegatingSearchQueryResultDefinitionContext<R,E> |
class |
AbstractExtendedSearchQueryContext<S extends SearchQueryContext<S,H,SC>,H,R extends SearchResult<H>,PDC extends SearchPredicateFactoryContext,SC extends SearchSortContainerContext,C> |
class |
AbstractSearchQueryContext<S extends SearchQueryContext<S,H,SC>,H,PDC extends SearchPredicateFactoryContext,SC extends SearchSortContainerContext,C> |
class |
AbstractSearchQueryResultDefinitionContext<N extends SearchQueryContext<?,E,?>,R,E,PJC extends SearchProjectionFactoryContext<R,E>,PDC extends SearchPredicateFactoryContext,C> |
| Modifier and Type | Method and Description |
|---|---|
SearchQueryResultContext<?,E,?> |
AbstractDelegatingSearchQueryResultDefinitionContext.asEntity() |
<P> SearchQueryResultContext<?,P,?> |
AbstractDelegatingSearchQueryResultDefinitionContext.asProjection(Function<? super SearchProjectionFactoryContext<R,E>,? extends SearchProjectionTerminalContext<P>> projectionContributor) |
<P> SearchQueryResultContext<?,P,?> |
AbstractDelegatingSearchQueryResultDefinitionContext.asProjection(SearchProjection<P> projection) |
SearchQueryResultContext<?,List<?>,?> |
AbstractDelegatingSearchQueryResultDefinitionContext.asProjections(SearchProjection<?>... projections) |
SearchQueryResultContext<?,R,?> |
AbstractDelegatingSearchQueryResultDefinitionContext.asReference() |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.