Class RuntimeField
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.RuntimeField
- All Implemented Interfaces:
DynamicTemplateVariant,JsonpSerializable
@JsonpDeserializable
public class RuntimeField
extends Object
implements DynamicTemplateVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RuntimeField>Json deserializer forRuntimeField -
Method Summary
Modifier and TypeMethodDescriptionDynamicTemplate variant kind.final List<RuntimeFieldFetchFields>For typelookupfinal Map<String,CompositeSubField> fields()For typecompositefinal Stringformat()A custom format fordatetype runtime fields.final StringFor typelookupstatic RuntimeFieldfinal Scriptscript()Painless script executed at query time.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 StringFor typelookupfinal StringFor typelookuptoString()final RuntimeFieldTypetype()Required - Field type, which can be:boolean,composite,date,double,geo_point,ip,keyword,long, orlookup.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.mapping.DynamicTemplateVariant
_toDynamicTemplate
-
Field Details
-
_DESERIALIZER
Json deserializer forRuntimeField
-
-
Method Details
-
of
-
_dynamicTemplateKind
DynamicTemplate variant kind.- Specified by:
_dynamicTemplateKindin interfaceDynamicTemplateVariant
-
fields
For typecompositeAPI name:
fields -
fetchFields
For typelookupAPI name:
fetch_fields -
format
A custom format fordatetype runtime fields.API name:
format -
inputField
For typelookupAPI name:
input_field -
targetField
For typelookupAPI name:
target_field -
targetIndex
For typelookupAPI name:
target_index -
script
Painless script executed at query time.API name:
script -
type
Required - Field type, which can be:boolean,composite,date,double,geo_point,ip,keyword,long, orlookup.API name:
type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRuntimeFieldDeserializer
-