Class RuntimeField
- java.lang.Object
-
- org.opensearch.client.opensearch._types.mapping.RuntimeField
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class RuntimeField extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuntimeField.BuilderBuilder forRuntimeField.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RuntimeField>_DESERIALIZERJson deserializer forRuntimeField
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat()API name:formatstatic RuntimeFieldof(java.util.function.Function<RuntimeField.Builder,ObjectBuilder<RuntimeField>> fn)Scriptscript()API name:scriptvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupRuntimeFieldDeserializer(ObjectDeserializer<RuntimeField.Builder> op)RuntimeFieldTypetype()Required - API name:type
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<RuntimeField> _DESERIALIZER
Json deserializer forRuntimeField
-
-
Method Detail
-
of
public static RuntimeField of(java.util.function.Function<RuntimeField.Builder,ObjectBuilder<RuntimeField>> fn)
-
format
@Nullable public final java.lang.String format()
API name:format
-
script
@Nullable public final Script script()
API name:script
-
type
public final RuntimeFieldType type()
Required - API name:type
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupRuntimeFieldDeserializer
protected static void setupRuntimeFieldDeserializer(ObjectDeserializer<RuntimeField.Builder> op)
-
-