public interface Backend
This interface exposes all operations that Hibernate Search users should be able to execute directly on the backend, without having to go through mapper-specific APIs.
Modifier and Type | Method and Description |
---|---|
<T> T |
unwrap(Class<T> clazz)
Unwrap the backend to some implementation-specific type.
|
<T> T unwrap(Class<T> clazz)
T
- The expected typeclazz
- The Class
representing the expected typeSearchException
- if the backend implementation does not support
unwrapping to the given class.Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.