Object/Trait

com.sksamuel.elastic4s

ElasticClient

Related Docs: trait ElasticClient | package elastic4s

Permalink

object ElasticClient extends Logging

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElasticClient
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromClient(client: Client): ElasticClient

    Permalink

    Creates an ElasticClient which wraps an existing Client.

    Creates an ElasticClient which wraps an existing Client.

    client

    the client to wrap

  10. def fromNode(node: Node): ElasticClient

    Permalink

    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

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. def transport(settings: Settings, uri: ElasticsearchClientUri, plugins: Class[_ <: Plugin]*): ElasticClient

    Permalink

    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.

  21. def transport(uri: ElasticsearchClientUri): ElasticClient

    Permalink
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def remote(uri: ElasticsearchClientUri): ElasticClient

    Permalink

    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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped