| Package | Description |
|---|---|
| org.hibernate.search.mapper.orm.mapping | |
| org.hibernate.search.mapper.orm.session |
| Modifier and Type | Method and Description |
|---|---|
default <T> SearchScope<T> |
SearchMapping.scope(Class<T> type)
Create a
SearchScope limited to the given type. |
<T> SearchScope<T> |
SearchMapping.scope(Class<T> expectedSuperType,
Collection<String> entityNames)
Create a
SearchScope limited to entity types referenced by their name. |
default <T> SearchScope<T> |
SearchMapping.scope(Class<T> expectedSuperType,
String entityName)
Create a
SearchScope limited to entity types referenced by their name. |
<T> SearchScope<T> |
SearchMapping.scope(Collection<? extends Class<? extends T>> types)
Create a
SearchScope limited to the given types. |
| Modifier and Type | Method and Description |
|---|---|
default <T> SearchScope<T> |
SearchSession.scope(Class<T> type)
Create a
SearchScope limited to the given type. |
<T> SearchScope<T> |
SearchSession.scope(Class<T> expectedSuperType,
Collection<String> entityNames)
Create a
SearchScope limited to entity types referenced by their name. |
default <T> SearchScope<T> |
SearchSession.scope(Class<T> expectedSuperType,
String entityName)
Create a
SearchScope limited to entity types referenced by their name. |
<T> SearchScope<T> |
SearchSession.scope(Collection<? extends Class<? extends T>> types)
Create a
SearchScope limited to the given types. |
| Modifier and Type | Method and Description |
|---|---|
<T> HibernateOrmSearchQueryHitTypeStep<T> |
SearchSession.search(SearchScope<T> scope)
Initiate the building of a search query.
|
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.