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 classBooleanProperty.BuilderBuilder 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>_DESERIALIZERJson 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()Propertyvariant typejava.lang.Doubleboost()API name:boostNumericFielddatafielddata()API name:fielddatajava.lang.Booleanindex()API name:indexjava.lang.BooleannullValue()API name:null_valueprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupBooleanPropertyDeserializer(DelegatingDeserializer<BooleanProperty.Builder> op)Methods 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 forBooleanProperty
-
-
Constructor Details
-
BooleanProperty
-
BooleanProperty
public BooleanProperty(java.util.function.Function<BooleanProperty.Builder,BooleanProperty.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Propertyvariant type- Specified by:
_variantTypein 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:
serializeInternalin classDocValuesPropertyBase
-
setupBooleanPropertyDeserializer
protected static void setupBooleanPropertyDeserializer(DelegatingDeserializer<BooleanProperty.Builder> op)
-