Class FieldAndFormat
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.FieldAndFormat
- All Implemented Interfaces:
JsonpSerializable
A reference to a field with formatting instructions on how to return the
value
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<FieldAndFormat>
Json deserializer forFieldAndFormat
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
field()
Required - Wildcard pattern.final String
format()
Format in which the values are returned.final Boolean
API name:include_unmapped
static FieldAndFormat
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldAndFormat
-
-
Method Details
-
of
-
field
Required - Wildcard pattern. The request returns values for field names matching this pattern.API name:
field
-
format
Format in which the values are returned.API name:
format
-
includeUnmapped
API name:include_unmapped
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupFieldAndFormatDeserializer
protected static void setupFieldAndFormatDeserializer(ObjectDeserializer<FieldAndFormat.Builder> op)
-