public interface QueryDescriptor
HSQuery object.
Note:In the hibernate-search-orm module, you may pass query descriptors to
org.hibernate.search.FullTextSession.createFullTextQuery(QueryDescriptor, Class<?>...)
to create a FullTextQuery.
| Modifier and Type | Method and Description |
|---|---|
HSQuery |
createHSQuery(SearchIntegrator integrator,
IndexedTypeMap<CustomTypeMetadata> types) |
HSQuery |
createHSQuery(SearchIntegrator integrator,
IndexedTypeSet types) |
HSQuery createHSQuery(SearchIntegrator integrator, IndexedTypeSet types)
integrator - the SearchIntegrator used to execute the querytypes - the list of classes (indexes) targeted by the queryHSQuery createHSQuery(SearchIntegrator integrator, IndexedTypeMap<CustomTypeMetadata> types)
integrator - the SearchIntegrator used to execute the querytypes - the targeted types, mapped to (potentially null) custom metadata which should override the supporting entity type's metadataCopyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.