R
- The type of references, i.e. the type of hits returned by
reference queries
,
or the type of objects returned for reference projections
.O
- The type of loaded objects, i.e. the type of hits returned by
loaded object queries
when not using any hit transformer,
or the type of objects returned for loaded object projections
.public interface MappedIndexSearchTarget<R,O>
Modifier and Type | Method and Description |
---|---|
SearchPredicateFactoryContext |
predicate() |
SearchProjectionFactoryContext<R,O> |
projection() |
<T,Q> SearchQueryResultContext<Q> |
queryAsLoadedObject(SessionContextImplementor sessionContext,
ObjectLoader<R,T> objectLoader,
Function<SearchQuery<T>,Q> searchQueryWrapperFactory) |
<T,Q> SearchQueryResultContext<Q> |
queryAsProjection(SessionContextImplementor sessionContext,
ObjectLoader<R,O> objectLoader,
Function<SearchQuery<T>,Q> searchQueryWrapperFactory,
SearchProjection<T> projection) |
<Q> SearchQueryResultContext<Q> |
queryAsProjections(SessionContextImplementor sessionContext,
ObjectLoader<R,O> objectLoader,
Function<SearchQuery<List<?>>,Q> searchQueryWrapperFactory,
SearchProjection<?>... projections) |
<Q> SearchQueryResultContext<Q> |
queryAsReference(SessionContextImplementor sessionContext,
Function<SearchQuery<R>,Q> searchQueryWrapperFactory) |
SearchSortContainerContext |
sort() |
<T,Q> SearchQueryResultContext<Q> queryAsLoadedObject(SessionContextImplementor sessionContext, ObjectLoader<R,T> objectLoader, Function<SearchQuery<T>,Q> searchQueryWrapperFactory)
<Q> SearchQueryResultContext<Q> queryAsReference(SessionContextImplementor sessionContext, Function<SearchQuery<R>,Q> searchQueryWrapperFactory)
<T,Q> SearchQueryResultContext<Q> queryAsProjection(SessionContextImplementor sessionContext, ObjectLoader<R,O> objectLoader, Function<SearchQuery<T>,Q> searchQueryWrapperFactory, SearchProjection<T> projection)
SearchPredicateFactoryContext predicate()
<Q> SearchQueryResultContext<Q> queryAsProjections(SessionContextImplementor sessionContext, ObjectLoader<R,O> objectLoader, Function<SearchQuery<List<?>>,Q> searchQueryWrapperFactory, SearchProjection<?>... projections)
SearchSortContainerContext sort()
SearchProjectionFactoryContext<R,O> projection()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.