E
- A common supertype of the targeted indexed types.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 PojoSearchTargetDelegate<E,O>
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends E>> |
getTargetedIndexedTypes() |
SearchPredicateFactoryContext |
predicate() |
SearchProjectionFactoryContext<PojoReference,O> |
projection() |
<T,Q> SearchQueryResultContext<Q> |
queryAsLoadedObject(ObjectLoader<PojoReference,T> objectLoader,
Function<SearchQuery<T>,Q> searchQueryWrapperFactory) |
<T,Q> SearchQueryResultContext<Q> |
queryAsProjection(ObjectLoader<PojoReference,O> objectLoader,
Function<SearchQuery<T>,Q> searchQueryWrapperFactory,
SearchProjection<T> projection) |
<Q> SearchQueryResultContext<Q> |
queryAsProjections(ObjectLoader<PojoReference,O> objectLoader,
Function<SearchQuery<List<?>>,Q> searchQueryWrapperFactory,
SearchProjection<?>... projections) |
<Q> SearchQueryResultContext<Q> |
queryAsReference(Function<SearchQuery<PojoReference>,Q> searchQueryWrapperFactory) |
SearchSortContainerContext |
sort() |
<T,Q> SearchQueryResultContext<Q> queryAsLoadedObject(ObjectLoader<PojoReference,T> objectLoader, Function<SearchQuery<T>,Q> searchQueryWrapperFactory)
<Q> SearchQueryResultContext<Q> queryAsReference(Function<SearchQuery<PojoReference>,Q> searchQueryWrapperFactory)
<T,Q> SearchQueryResultContext<Q> queryAsProjection(ObjectLoader<PojoReference,O> objectLoader, Function<SearchQuery<T>,Q> searchQueryWrapperFactory, SearchProjection<T> projection)
<Q> SearchQueryResultContext<Q> queryAsProjections(ObjectLoader<PojoReference,O> objectLoader, Function<SearchQuery<List<?>>,Q> searchQueryWrapperFactory, SearchProjection<?>... projections)
SearchPredicateFactoryContext predicate()
SearchSortContainerContext sort()
SearchProjectionFactoryContext<PojoReference,O> projection()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.