Class SourceField
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.SourceField
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SourceField extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceField.BuilderBuilder forSourceField. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SourceField>_DESERIALIZERJson deserializer forSourceField -
Method Summary
Modifier and Type Method Description java.lang.Booleancompress()API name:compressjava.lang.StringcompressThreshold()API name:compress_thresholdjava.lang.Booleanenabled()API name:enabledjava.util.List<java.lang.String>excludes()API name:excludesjava.util.List<java.lang.String>includes()API name:includesstatic SourceFieldof(java.util.function.Function<SourceField.Builder,ObjectBuilder<SourceField>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSourceFieldDeserializer(ObjectDeserializer<SourceField.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 forSourceField
-
-
Method Details
-
of
public static SourceField of(java.util.function.Function<SourceField.Builder,ObjectBuilder<SourceField>> fn) -
compress
@Nullable public final java.lang.Boolean compress()API name:compress -
compressThreshold
@Nullable public final java.lang.String compressThreshold()API name:compress_threshold -
enabled
@Nullable public final java.lang.Boolean enabled()API name:enabled -
excludes
public final java.util.List<java.lang.String> excludes()API name:excludes -
includes
public final java.util.List<java.lang.String> includes()API name:includes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSourceFieldDeserializer
-