Class RuntimeField
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.RuntimeField
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class RuntimeField extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuntimeField.Builder
Builder forRuntimeField
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RuntimeField>
_DESERIALIZER
Json deserializer forRuntimeField
-
Method Summary
Modifier and Type Method Description java.lang.String
format()
API name:format
static RuntimeField
of(java.util.function.Function<RuntimeField.Builder,ObjectBuilder<RuntimeField>> fn)
Script
script()
API name:script
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupRuntimeFieldDeserializer(ObjectDeserializer<RuntimeField.Builder> op)
java.lang.String
toString()
RuntimeFieldType
type()
Required - API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRuntimeField
-
-
Method Details
-
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
API name:script
-
type
Required - API name:type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupRuntimeFieldDeserializer
-