| 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.
|
<T> T getClient(Class<T> clientClass)
WARNING - Unsupported API: the underlying client class may change without notice.
T - The expected client typeclientClass - The Class representing the expected client typeSearchException - if the underlying client does not implement the given class.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.