Class BooleanProperty
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.BooleanProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class BooleanProperty extends DocValuesPropertyBase implements PropertyVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BooleanProperty.Builder
Builder forBooleanProperty
.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<BooleanProperty>
_DESERIALIZER
Json deserializer forBooleanProperty
-
Constructor Summary
Constructors Constructor Description BooleanProperty(BooleanProperty.Builder builder)
BooleanProperty(java.util.function.Function<BooleanProperty.Builder,BooleanProperty.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.Boolean
index()
API name:index
java.lang.Boolean
nullValue()
API name:null_value
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupBooleanPropertyDeserializer(DelegatingDeserializer<BooleanProperty.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 forBooleanProperty
-
-
Constructor Details
-
BooleanProperty
-
BooleanProperty
public BooleanProperty(java.util.function.Function<BooleanProperty.Builder,BooleanProperty.Builder> fn)
-
-
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
-
index
@Nullable public java.lang.Boolean index()API name:index
-
nullValue
@Nullable public java.lang.Boolean nullValue()API name:null_value
-
serializeInternal
- Overrides:
serializeInternal
in classDocValuesPropertyBase
-
setupBooleanPropertyDeserializer
protected static void setupBooleanPropertyDeserializer(DelegatingDeserializer<BooleanProperty.Builder> op)
-