Class DenseVectorProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.DenseVectorProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
@JsonpDeserializable public class DenseVectorProperty extends PropertyBase implements PropertyVariant
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description Property.Kind
_propertyKind()
Property variant kind.int
dims()
Required - API name:dims
java.lang.Boolean
index()
API name:index
DenseVectorIndexOptions
indexOptions()
API name:index_options
static DenseVectorProperty
of(java.util.function.Function<DenseVectorProperty.Builder,ObjectBuilder<DenseVectorProperty>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDenseVectorPropertyDeserializer(ObjectDeserializer<DenseVectorProperty.Builder> op)
java.lang.String
similarity()
API name:similarity
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, properties, serialize, setupPropertyBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
-
-
Method Details
-
of
public static DenseVectorProperty of(java.util.function.Function<DenseVectorProperty.Builder,ObjectBuilder<DenseVectorProperty>> fn) -
_propertyKind
Property variant kind.- Specified by:
_propertyKind
in interfacePropertyVariant
-
dims
public final int dims()Required - API name:dims
-
similarity
@Nullable public final java.lang.String similarity()API name:similarity
-
index
@Nullable public final java.lang.Boolean index()API name:index
-
indexOptions
API name:index_options
-
serializeInternal
- Overrides:
serializeInternal
in classPropertyBase
-
setupDenseVectorPropertyDeserializer
protected static void setupDenseVectorPropertyDeserializer(ObjectDeserializer<DenseVectorProperty.Builder> op)
-