| Package | Description |
|---|---|
| org.hibernate.search.engine.search.dsl.query | |
| org.hibernate.search.engine.search.dsl.query.spi |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SearchQueryHitTypeStep<N extends SearchQueryOptionsStep<?,E,?>,R,E,PJF extends SearchProjectionFactory<R,E>,PDF extends SearchPredicateFactory>
The initial step in a query definition, where the type of query hits can be set,
or where the predicate can be set directly, assuming that query hits are returned as entities.
|
| Modifier and Type | Method and Description |
|---|---|
SearchQueryPredicateStep<?,E,?> |
SearchQueryHitTypeStep.asEntity()
Define the query results as the entity was originally indexed, loaded from an external source (database, ...).
|
SearchQueryPredicateStep<?,R,?> |
SearchQueryHitTypeStep.asEntityReference()
Define the query results as a reference to the entity that was originally indexed.
|
<P> SearchQueryPredicateStep<?,P,?> |
SearchQueryHitTypeStep.asProjection(Function<? super PJF,? extends ProjectionFinalStep<P>> projectionContributor)
Define the query results as one projection for each matching document.
|
<P> SearchQueryPredicateStep<?,P,?> |
SearchQueryHitTypeStep.asProjection(SearchProjection<P> projection)
Define the query results as one projection for each matching document.
|
SearchQueryPredicateStep<?,List<?>,?> |
SearchQueryHitTypeStep.asProjections(SearchProjection<?>... projections)
Define the query results as a list of projections for each matching document.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDelegatingSearchQueryHitTypeStep<R,E> |
class |
AbstractExtendedSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,H,SF>,H,R extends SearchResult<H>,PDF extends SearchPredicateFactory,SF extends SearchSortFactory,C> |
class |
AbstractSearchQueryHitTypeStep<N extends SearchQueryOptionsStep<?,E,?>,R,E,PJF extends SearchProjectionFactory<R,E>,PDF extends SearchPredicateFactory,C> |
class |
AbstractSearchQueryOptionsStep<S extends SearchQueryOptionsStep<S,H,SF>,H,PDF extends SearchPredicateFactory,SF extends SearchSortFactory,C> |
| Modifier and Type | Method and Description |
|---|---|
SearchQueryPredicateStep<?,E,?> |
AbstractDelegatingSearchQueryHitTypeStep.asEntity() |
SearchQueryPredicateStep<?,R,?> |
AbstractDelegatingSearchQueryHitTypeStep.asEntityReference() |
<P> SearchQueryPredicateStep<?,P,?> |
AbstractDelegatingSearchQueryHitTypeStep.asProjection(Function<? super SearchProjectionFactory<R,E>,? extends ProjectionFinalStep<P>> projectionContributor) |
<P> SearchQueryPredicateStep<?,P,?> |
AbstractDelegatingSearchQueryHitTypeStep.asProjection(SearchProjection<P> projection) |
SearchQueryPredicateStep<?,List<?>,?> |
AbstractDelegatingSearchQueryHitTypeStep.asProjections(SearchProjection<?>... projections) |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.