Class DenseVectorProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.DenseVectorProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class DenseVectorProperty extends PropertyBase implements PropertyVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DenseVectorProperty.Builder
Builder forDenseVectorProperty
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
PropertyBase.AbstractBuilder<BuilderT extends PropertyBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DenseVectorProperty>
_DESERIALIZER
Json deserializer forDenseVectorProperty
-
Constructor Summary
Constructors Constructor Description DenseVectorProperty(DenseVectorProperty.Builder builder)
DenseVectorProperty(java.util.function.Function<DenseVectorProperty.Builder,DenseVectorProperty.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Property
variant typeint
dims()
Required - API name:dims
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDenseVectorPropertyDeserializer(DelegatingDeserializer<DenseVectorProperty.Builder> op)
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 forDenseVectorProperty
-
-
Constructor Details
-
DenseVectorProperty
-
DenseVectorProperty
public DenseVectorProperty(java.util.function.Function<DenseVectorProperty.Builder,DenseVectorProperty.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Property
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
dims
public int dims()Required - API name:dims
-
serializeInternal
- Overrides:
serializeInternal
in classPropertyBase
-
setupDenseVectorPropertyDeserializer
protected static void setupDenseVectorPropertyDeserializer(DelegatingDeserializer<DenseVectorProperty.Builder> op)
-