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
-
Method Summary
Modifier and TypeMethodDescriptionfinal DateProperty.Builder
API name:boost
build()
Builds aDateProperty
.final DateProperty.Builder
fielddata
(NumericFielddata value) API name:fielddata
final DateProperty.Builder
API name:fielddata
final DateProperty.Builder
API name:format
final DateProperty.Builder
ignoreMalformed
(Boolean value) API name:ignore_malformed
final DateProperty.Builder
API name:index
final DateProperty.Builder
API name:locale
final DateProperty.Builder
API name:null_value
final DateProperty.Builder
precisionStep
(Integer value) API name:precision_step
protected DateProperty.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValues
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, properties
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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:
self
in classPropertyBase.AbstractBuilder<DateProperty.Builder>
-
build
Builds aDateProperty
.- Specified by:
build
in interfaceObjectBuilder<DateProperty>
- Throws:
NullPointerException
- if some of the required fields are null.
-