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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
PropertyBase.AbstractBuilder<BuilderT extends PropertyBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DenseVectorProperty>Json deserializer forDenseVectorProperty -
Method Summary
Modifier and TypeMethodDescriptionProperty variant kind.final intdims()Required - API name:dimsfinal Booleanindex()API name:indexfinal DenseVectorIndexOptionsAPI name:index_optionsstatic DenseVectorPropertyprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringAPI name:similarityMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, meta, properties, serialize, setupPropertyBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 forDenseVectorProperty
-
-
Method Details
-
of
public static DenseVectorProperty of(Function<DenseVectorProperty.Builder, ObjectBuilder<DenseVectorProperty>> fn) -
_propertyKind
Property variant kind.- Specified by:
_propertyKindin interfacePropertyVariant
-
dims
public final int dims()Required - API name:dims -
similarity
API name:similarity -
index
API name:index -
indexOptions
API name:index_options -
serializeInternal
- Overrides:
serializeInternalin classPropertyBase
-
setupDenseVectorPropertyDeserializer
protected static void setupDenseVectorPropertyDeserializer(ObjectDeserializer<DenseVectorProperty.Builder> op)
-