Class Script
java.lang.Object
co.elastic.clients.elasticsearch._types.Script
- All Implemented Interfaces:
IntervalsFilterVariant,JsonpSerializable
@JsonpDeserializable
public class Script
extends Object
implements IntervalsFilterVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Script>Json deserializer forScript -
Method Summary
Modifier and TypeMethodDescriptionIntervalsFilter variant kind.final Stringid()Theidfor a stored script.final Stringlang()Specifies the language the script is written in.static Scriptoptions()API name:optionsparams()Specifies any named parameters that are passed into the script as variables.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringsource()The script source.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.IntervalsFilterVariant
_toIntervalsFilter
-
Field Details
-
_DESERIALIZER
Json deserializer forScript
-
-
Method Details
-
of
-
_intervalsFilterKind
IntervalsFilter variant kind.- Specified by:
_intervalsFilterKindin interfaceIntervalsFilterVariant
-
source
The script source.API name:
source -
id
Theidfor a stored script.API name:
id -
params
Specifies any named parameters that are passed into the script as variables. Use parameters instead of hard-coded values to decrease compile time.API name:
params -
lang
Specifies the language the script is written in.API name:
lang -
options
API name:options -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupScriptDeserializer
-