com.sksamuel.elastic4s.requests.script

Members list

Type members

Classlikes

case class DeleteStoredScriptRequest(id: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class DeleteStoredScriptResponse(acknowledged: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetStoredScriptRequest(id: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GetStoredScriptResponse(_id: String, found: Boolean, script: StoredScriptSource)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PutStoredScriptRequest(id: String, script: StoredScriptSource)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PutStoredScriptResponse(acknowledged: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Script(script: String, lang: Option[String], scriptType: ScriptType, params: Map[String, Any], options: Map[String, String], paramsRaw: Map[String, String])

A script that can be used in queries (ex: Painless scripting).

A script that can be used in queries (ex: Painless scripting).

Value parameters

lang

the language of the script (defaults to Painless)

options

the options for this script

params

the parameters of the script which will be automatically-serialized

paramsRaw

the parameters of the script which are already serialized

script

the script source

scriptType

the type of script (see ScriptType.Source)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Script

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Script.type
case class ScriptField(field: String, script: Script)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait ScriptType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Source.type
object Stored.type
object ScriptType

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ScriptType.type
case class StoredScriptSource(lang: String, source: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all