H - The type of query hits.public interface SearchQuery<H> extends SearchFetchable<H>
| Modifier and Type | Method and Description |
|---|---|
<Q> Q |
extension(SearchQueryExtension<Q,H> extension)
Extend the current query with the given extension,
resulting in an extended query offering more options or a more detailed result type.
|
default String |
getQueryString()
Deprecated.
Use
queryString() instead. |
String |
queryString() |
fetch, fetch, fetchAll, fetchAllHits, fetchHits, fetchHits, fetchSingleHit, fetchTotalHitCountString queryString()
@Deprecated default String getQueryString()
queryString() instead.<Q> Q extension(SearchQueryExtension<Q,H> extension)
Q - The type of queries provided by the extension.extension - The extension to the predicate DSL.SearchException - If the extension cannot be applied (wrong underlying backend, ...).Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.