Class ScriptScoreFunction
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.ScoreFunctionBase
org.opensearch.client.opensearch._types.query_dsl.ScriptScoreFunction
- All Implemented Interfaces:
ToJsonp
public final class ScriptScoreFunction extends ScoreFunctionBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScriptScoreFunction.BuilderBuilder forScriptScoreFunction.Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.ScoreFunctionBase
ScoreFunctionBase.AbstractBuilder<BuilderT extends ScoreFunctionBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScriptScoreFunction>DESERIALIZERJson deserializer for ScriptScoreFunction -
Constructor Summary
Constructors Modifier Constructor Description protectedScriptScoreFunction(ScriptScoreFunction.Builder builder) -
Method Summary
Modifier and Type Method Description jakarta.json.JsonValuescript()API name:scriptprotected static voidsetupScriptScoreFunctionDeserializer(DelegatingDeserializer<ScriptScoreFunction.Builder> op)protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.ScoreFunctionBase
filter, setupScoreFunctionBaseDeserializer, toJsonp, weight
-
Field Details
-
DESERIALIZER
Json deserializer for ScriptScoreFunction
-
-
Constructor Details
-
Method Details
-
script
public jakarta.json.JsonValue script()API name:script -
toJsonpInternal
- Overrides:
toJsonpInternalin classScoreFunctionBase
-
setupScriptScoreFunctionDeserializer
protected static void setupScriptScoreFunctionDeserializer(DelegatingDeserializer<ScriptScoreFunction.Builder> op)
-