Packages

class ElasticSearchClient extends AnyRef

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

Instance Constructors

  1. new ElasticSearchClient(url: String, username: Option[String] = None, password: Option[String] = None)

Type Members

  1. sealed trait Action extends AnyRef
  2. case class ActionsRequest(actions: Seq[Action]) extends Product with Serializable
  3. case class AddAction(add: Map[String, String]) extends Action with Product with Serializable
  4. case class RemoveAction(remove: Map[String, String]) extends Action with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkNodeRoles: Boolean

    Check roles/http endpoint

    Check roles/http endpoint

    returns

    true if running false if not running or if status code not 200

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def createIndex(indexName: String): HttpResponse

    Create an index

    Create an index

    indexName

    name of the index to create

    returns

    the http response sent by ElasticSearch

  8. def deleteIndex(indexName: String): HttpResponse

    Delete an index

    Delete an index

    indexName

    name of the index to delete

    returns

    the http response sent by ElasticSearch

  9. def deleteTemplate(templateName: String): HttpResponse

    Delete a template

    Delete a template

    templateName

    name of the template to delete

    returns

    the http response sent by ElasticSearch

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def getIndex(indexName: String): HttpResponse

    Get an index

    Get an index

    indexName

    name of the index to fetch

    returns

    the http response sent by ElasticSearch

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def http: CloseableHttpClient
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isRunning: Boolean

    Sends a GET on the url and verify the status code of the response is 200

    Sends a GET on the url and verify the status code of the response is 200

    returns

    true if running false if not running or if status code not 200

  18. val log: Logger
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def setAlias(add: List[String], remove: List[String], alias: String): HttpResponse

    Set alias

    Set alias

    returns

    the http response sent by ElasticSearch

  23. def setTemplate(templatePath: String)(implicit spark: SparkSession): HttpResponse

    Set a template to ElasticSearch

    Set a template to ElasticSearch

    templatePath

    path of the template.json that is expected to be in the resource folder

    returns

    the http response sent by ElasticSearch

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped