Class DateRangeProperty
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.RangePropertyBase
co.elastic.clients.elasticsearch._types.mapping.DateRangeProperty
- All Implemented Interfaces:
PropertyVariant,JsonpSerializable,UnionVariant
@JsonpDeserializable public final class DateRangeProperty extends RangePropertyBase implements PropertyVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDateRangeProperty.BuilderBuilder forDateRangeProperty.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.RangePropertyBase
RangePropertyBase.AbstractBuilder<BuilderT extends RangePropertyBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DateRangeProperty>_DESERIALIZERJson deserializer forDateRangeProperty -
Constructor Summary
Constructors Constructor Description DateRangeProperty(DateRangeProperty.Builder builder)DateRangeProperty(java.util.function.Function<DateRangeProperty.Builder,DateRangeProperty.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.String_variantType()Propertyvariant typejava.lang.Stringformat()API name:formatprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDateRangePropertyDeserializer(DelegatingDeserializer<DateRangeProperty.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.RangePropertyBase
boost, coerce, index, setupRangePropertyBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, storeMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, name, properties, serialize, setupPropertyBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.json.JsonpSerializable
serializeMethods inherited from interface co.elastic.clients.elasticsearch._types.mapping.PropertyVariant
_toProperty
-
Field Details
-
_DESERIALIZER
Json deserializer forDateRangeProperty
-
-
Constructor Details
-
DateRangeProperty
-
DateRangeProperty
public DateRangeProperty(java.util.function.Function<DateRangeProperty.Builder,DateRangeProperty.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Propertyvariant type- Specified by:
_variantTypein interfaceUnionVariant
-
format
@Nullable public java.lang.String format()API name:format -
serializeInternal
- Overrides:
serializeInternalin classRangePropertyBase
-
setupDateRangePropertyDeserializer
protected static void setupDateRangePropertyDeserializer(DelegatingDeserializer<DateRangeProperty.Builder> op)
-