Class DateProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<DateProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.DateProperty.Builder
- All Implemented Interfaces:
WithJson<DateProperty.Builder>,ObjectBuilder<DateProperty>
- Enclosing class:
- DateProperty
public static class DateProperty.Builder
extends DocValuesPropertyBase.AbstractBuilder<DateProperty.Builder>
implements ObjectBuilder<DateProperty>
Builder for
DateProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DateProperty.BuilderAPI name:boostbuild()Builds aDateProperty.final DateProperty.Builderfielddata(NumericFielddata value) API name:fielddatafinal DateProperty.BuilderAPI name:fielddatafinal DateProperty.BuilderAPI name:formatfinal DateProperty.BuilderignoreMalformed(Boolean value) API name:ignore_malformedfinal DateProperty.BuilderAPI name:indexfinal DateProperty.BuilderAPI name:localefinal DateProperty.BuilderAPI name:null_valuefinal DateProperty.BuilderprecisionStep(Integer value) API name:precision_stepprotected DateProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
boost
API name:boost -
fielddata
API name:fielddata -
fielddata
public final DateProperty.Builder fielddata(Function<NumericFielddata.Builder, ObjectBuilder<NumericFielddata>> fn) API name:fielddata -
format
API name:format -
ignoreMalformed
API name:ignore_malformed -
index
API name:index -
nullValue
API name:null_value -
precisionStep
API name:precision_step -
locale
API name:locale -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<DateProperty.Builder>
-
build
Builds aDateProperty.- Specified by:
buildin interfaceObjectBuilder<DateProperty>- Throws:
NullPointerException- if some of the required fields are null.
-