Object/Class

com.sksamuel.elastic4s

ElasticClient

Related Docs: class ElasticClient | package elastic4s

Permalink

object ElasticClient

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ElasticClient
  2. AnyRef
  3. 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.

    Note: If you use this method, then calling close on the client instance will not shutdown any local node(s). Those must be managed by the caller of this method.

    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.

    Note: This method will not manage the lifecycle of the node. Calling close on the client will shutdown only the transport mechansim between the client and the 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. def local(settings: Settings): ElasticClient

    Permalink

    Creates a local data node.

    Creates a local data node. This is useful for embedded usage, or for unit tests.

    settings

    the settings object to set on the node

  15. def local: ElasticClient

    Permalink

    Creates a local data node.

    Creates a local data node. This is useful for embedded usage, or for unit tests. Default settings will be applied.

  16. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink

    Connects to elasticsearch instance(s) specified by the uri and setting the given settings object on the client.

    Connects to elasticsearch instance(s) specified by the uri and setting the given settings object on the client.

    Note: The method name 'transport' refers to the fact that the client will connect to the instance(s) using the transport client rather than becoming a full node itself and joining the cluster. This is what most people think of when they talk about a client, like you would in mongo or mysql for example. To create a local node, use the fromNode method.

    settings

    the settings as applicable to the client.

    uri

    the instance(s) to connect to.

    plugins

    the plugins to add to the client.

  22. def transport(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 default settings.

    Note: The method name 'transport' refers to the fact that the client will connect to the instance(s) using the transport client rather than becoming a full node itself and joining the cluster. This is what most people think of when they talk about a client, like you would in mongo or mysql for example. To create a local node, use the fromNode method.

    uri

    the instance(s) to connect to.

  23. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def remote(settings: Settings, uri: ElasticsearchClientUri): ElasticClient

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use transport instead of remote

  2. def remote(uri: ElasticsearchClientUri): ElasticClient

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use transport instead of remote

  3. def remote(settings: Settings, host: String, port: Int): ElasticClient

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use the transport method with an instance of ElasticsearchClientUri or uri format string

  4. def remote(host: String, port: Int): ElasticClient

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use the transport method with an instance of ElasticsearchClientUri or uri format string

Inherited from AnyRef

Inherited from Any

Ungrouped