JavaClient

object JavaClient
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(props: ElasticProperties): JavaClient

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

def apply(props: ElasticProperties, requestConfigCallback: RequestConfigCallback): JavaClient

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

def apply(props: ElasticProperties, httpClientConfigCallback: HttpClientConfigCallback): JavaClient

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

def apply(props: ElasticProperties, requestConfigCallback: RequestConfigCallback, httpClientConfigCallback: HttpClientConfigCallback): JavaClient

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.

def fromRestClient(client: RestClient): JavaClient

Creates a new ElasticClient from an existing Elasticsearch Java API RestClient.

Creates a new ElasticClient from an existing Elasticsearch Java API RestClient.

Value parameters:
client

the Java client to wrap

Returns:

newly created Scala client