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 Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DateProperty.Builder
boost(java.lang.Double value)
API name:boost
DateProperty
build()
Builds aDateProperty
.DateProperty.Builder
fielddata(NumericFielddata value)
API name:fielddata
DateProperty.Builder
fielddata(java.util.function.Function<NumericFielddata.Builder,ObjectBuilder<NumericFielddata>> fn)
API name:fielddata
DateProperty.Builder
format(java.lang.String value)
API name:format
DateProperty.Builder
ignoreMalformed(java.lang.Boolean value)
API name:ignore_malformed
DateProperty.Builder
index(java.lang.Boolean value)
API name:index
DateProperty.Builder
locale(java.lang.String value)
API name:locale
DateProperty.Builder
nullValue(DateTime value)
API name:null_value
DateProperty.Builder
precisionStep(java.lang.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, localMetadata, localMetadata, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
boost
API name:boost
-
fielddata
API name:fielddata
-
fielddata
public final DateProperty.Builder fielddata(java.util.function.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:
java.lang.NullPointerException
- if some of the required fields are null.
-