trait TcpClientConstructors extends Logging
- Alphabetic
- By Inheritance
- TcpClientConstructors
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromClient(client: Client): ElasticClient
Creates an ElasticClient which wraps an existing Client.
Creates an ElasticClient which wraps an existing Client.
- client
the client to wrap
-
def
fromNode(node: Node): ElasticClient
Creates an ElasticClient by requesting a client from a given Node.
Creates an ElasticClient by requesting a client from a given Node.
- node
the node a client will connect to
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transport(settings: Settings, uri: ElasticsearchClientUri, plugins: Class[_ <: Plugin]*): ElasticClient
Creates an ElasticClient connected to the elasticsearch instance(s) specified by the uri.
Creates an ElasticClient connected to the elasticsearch instance(s) specified by the uri.
Any options set on the URI will be added to the given settings object before the client is created. If a setting is specified in both the settings object and the uri, the version in the supplied settings object will be used.
Any given plugins will be added to the client in addition to the standard plugins provided by the PreBuiltTransportClient instance.
- settings
the settings as applicable to the client.
- uri
the instance(s) to connect to.
- plugins
the plugins to add to the client.
- def transport(uri: ElasticsearchClientUri): ElasticClient
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
remote(uri: ElasticsearchClientUri): ElasticClient
Creates an ElasticClient connected to the elasticsearch instance(s) specified by the uri.
Creates an ElasticClient connected to the elasticsearch instance(s) specified by the uri. This method will use settings from the URI string and default plugins.
The created client will use the standard plugins provided by the PreBuiltTransportClient instance.
- uri
the instance(s) to connect to.
- Annotations
- @deprecated
- Deprecated
(Since version 5.0.0) use transport