Class FieldAndFormat
java.lang.Object
co.elastic.clients.elasticsearch.core.search.FieldAndFormat
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class FieldAndFormat extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFieldAndFormat.BuilderBuilder forFieldAndFormat. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FieldAndFormat>_DESERIALIZERJson deserializer forFieldAndFormat -
Constructor Summary
Constructors Constructor Description FieldAndFormat(FieldAndFormat.Builder builder)FieldAndFormat(java.util.function.Function<FieldAndFormat.Builder,FieldAndFormat.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringfield()Required - API name:fieldjava.lang.Stringformat()API name:formatjava.lang.BooleanincludeUnmapped()API name:include_unmappedvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFieldAndFormatDeserializer(DelegatingDeserializer<FieldAndFormat.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldAndFormat
-
-
Constructor Details
-
FieldAndFormat
-
FieldAndFormat
public FieldAndFormat(java.util.function.Function<FieldAndFormat.Builder,FieldAndFormat.Builder> fn)
-
-
Method Details
-
field
public java.lang.String field()Required - API name:field -
format
@Nullable public java.lang.String format()API name:format -
includeUnmapped
@Nullable public java.lang.Boolean includeUnmapped()API name:include_unmapped -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFieldAndFormatDeserializer
protected static void setupFieldAndFormatDeserializer(DelegatingDeserializer<FieldAndFormat.Builder> op)
-