public interface SearchMapping
| Modifier and Type | Method and Description |
|---|---|
static SearchMappingBuilder |
builder() |
static SearchMappingBuilder |
builder(MethodHandles.Lookup lookup) |
SearchSession |
createSession() |
SearchSessionBuilder |
createSessionWithOptions() |
default SearchScope |
scope(Class<?> type)
Create a
SearchScope limited to the given type. |
SearchScope |
scope(Collection<? extends Class<?>> types)
Create a
SearchScope limited to the given types. |
default SearchScope scope(Class<?> type)
SearchScope limited to the given type.type - A type to include in the scope.SearchScopeSearchScope scope(Collection<? extends Class<?>> types)
SearchScope limited to the given types.types - A collection of types to include in the scope.SearchScopeSearchSession createSession()
index or
search for entities.createSessionWithOptions()SearchSessionBuilder createSessionWithOptions()
createSession()static SearchMappingBuilder builder()
static SearchMappingBuilder builder(MethodHandles.Lookup lookup)
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.