public class LuceneQueryDescriptor extends Object implements QueryDescriptor
QueryDescriptor for a Lucene query.| Constructor and Description |
|---|
LuceneQueryDescriptor(org.apache.lucene.search.Query luceneQuery) |
| Modifier and Type | Method and Description |
|---|---|
HSQuery |
createHSQuery(SearchIntegrator integrator,
IndexedTypeMap<CustomTypeMetadata> types) |
HSQuery |
createHSQuery(SearchIntegrator integrator,
IndexedTypeSet types) |
String |
toString() |
public LuceneQueryDescriptor(org.apache.lucene.search.Query luceneQuery)
public HSQuery createHSQuery(SearchIntegrator integrator, IndexedTypeSet types)
createHSQuery in interface QueryDescriptorintegrator - the SearchIntegrator used to execute the querytypes - the list of classes (indexes) targeted by the querypublic HSQuery createHSQuery(SearchIntegrator integrator, IndexedTypeMap<CustomTypeMetadata> types)
createHSQuery in interface QueryDescriptorintegrator - 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–2017 Hibernate. All rights reserved.