Class DateProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
co.elastic.clients.elasticsearch._types.mapping.DateProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class DateProperty extends DocValuesPropertyBase implements PropertyVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DateProperty.Builder
Builder forDateProperty
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
DocValuesPropertyBase.AbstractBuilder<BuilderT extends DocValuesPropertyBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DateProperty>
_DESERIALIZER
Json deserializer forDateProperty
-
Constructor Summary
Constructors Constructor Description DateProperty(DateProperty.Builder builder)
DateProperty(java.util.function.Function<DateProperty.Builder,DateProperty.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Property
variant typejava.lang.Double
boost()
API name:boost
NumericFielddata
fielddata()
API name:fielddata
java.lang.String
format()
API name:format
java.lang.Boolean
ignoreMalformed()
API name:ignore_malformed
java.lang.Boolean
index()
API name:index
java.lang.String
nullValue()
API name:null_value
java.lang.Integer
precisionStep()
API name:precision_step
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDatePropertyDeserializer(DelegatingDeserializer<DateProperty.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, name, properties, serialize, setupPropertyBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.json.JsonpSerializable
serialize
Methods inherited from interface co.elastic.clients.elasticsearch._types.mapping.PropertyVariant
_toProperty
-
Field Details
-
_DESERIALIZER
Json deserializer forDateProperty
-
-
Constructor Details
-
DateProperty
-
DateProperty
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Property
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
boost
@Nullable public java.lang.Double boost()API name:boost
-
fielddata
API name:fielddata
-
format
@Nullable public java.lang.String format()API name:format
-
ignoreMalformed
@Nullable public java.lang.Boolean ignoreMalformed()API name:ignore_malformed
-
index
@Nullable public java.lang.Boolean index()API name:index
-
nullValue
@Nullable public java.lang.String nullValue()API name:null_value
-
precisionStep
@Nullable public java.lang.Integer precisionStep()API name:precision_step
-
serializeInternal
- Overrides:
serializeInternal
in classDocValuesPropertyBase
-
setupDatePropertyDeserializer
protected static void setupDatePropertyDeserializer(DelegatingDeserializer<DateProperty.Builder> op)
-