class ElasticSearchClient extends AnyRef
- Alphabetic
- By Inheritance
- ElasticSearchClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
checkNodeRoles: Boolean
Check roles/http endpoint
Check roles/http endpoint
- returns
true if running false if not running or if status code not 200
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
deleteIndex(indexName: String): Unit
Delete an index
Delete an index
- indexName
name of the index to delete
- Exceptions thrown
IllegalStateExceptionif the server could not delete the index
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
getAliasIndices(aliasName: String): Set[String]
Get indices associates to a given alias
Get indices associates to a given alias
- aliasName
name of the alias
- returns
a set of indices. Empty if alias does not exist.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
setAlias(add: List[String], remove: List[String], alias: String): Unit
Set alias
Set alias
- add
list of index to add to the alias
- remove
list of index to remove from the alias
- alias
name of the alias to update
- Exceptions thrown
IllegalStateExceptionif the server could not set the alias
-
def
setTemplate(templatePath: String)(implicit spark: SparkSession): String
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 or spark
- returns
the http response sent by ElasticSearch
- Exceptions thrown
IllegalStateExceptionif the server could not set the template
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated