public interface ElasticsearchIndexFamily extends IndexFamily
Modifier and Type | Method and Description |
---|---|
<T> T |
getClient(Class<T> clientClass)
Retrieve the underlying, low-level client used to communicate with the Elasticsearch cluster.
|
unwrap
<T> T getClient(Class<T> clientClass)
WARNING - Unsupported API: the underlying client class may change without notice.
clientClass
- The Class
representing the expected client typeSearchException
- if the underlying client does not implement 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.