JavaClient

com.sksamuel.elastic4s.http.JavaClient$
See theJavaClient companion class
object JavaClient

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JavaClient.type

Members list

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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

Attributes

Returns

newly created Scala client