Class KnnVectorProperty
java.lang.Object
org.opensearch.client.opensearch._types.mapping.PropertyBase
org.opensearch.client.opensearch._types.mapping.CorePropertyBase
org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase
org.opensearch.client.opensearch._types.mapping.KnnVectorProperty
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,PropertyVariant,ToCopyableBuilder<KnnVectorProperty.Builder,KnnVectorProperty>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class KnnVectorProperty
extends DocValuesPropertyBase
implements PropertyVariant, ToCopyableBuilder<KnnVectorProperty.Builder,KnnVectorProperty>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase
DocValuesPropertyBase.AbstractBuilder<BuilderT extends DocValuesPropertyBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<KnnVectorProperty> Json deserializer forKnnVectorProperty -
Method Summary
Modifier and TypeMethodDescriptionPropertyvariant kind.static KnnVectorProperty.Builderbuilder()final StringAPI name:compression_levelfinal StringdataType()API name:data_typefinal intRequired - API name:dimensionbooleaninthashCode()final KnnVectorMethodmethod()API name:methodfinal Stringmode()API name:modefinal StringmodelId()API name:model_idstatic KnnVectorPropertyprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringAPI name:space_typeCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, storeMethods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, meta, properties, serialize, setupPropertyBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.JsonpSerializable
serializeMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.mapping.PropertyVariant
toPropertyMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forKnnVectorProperty
-
-
Method Details
-
of
public static KnnVectorProperty of(Function<KnnVectorProperty.Builder, ObjectBuilder<KnnVectorProperty>> fn) -
_propertyKind
Propertyvariant kind.- Specified by:
_propertyKindin interfacePropertyVariant
-
compressionLevel
API name:compression_level -
dataType
API name:data_type -
dimension
public final int dimension()Required - API name:dimension -
method
API name:method -
mode
API name:mode -
modelId
API name:model_id -
spaceType
API name:space_type -
serializeInternal
- Overrides:
serializeInternalin classDocValuesPropertyBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<KnnVectorProperty.Builder,KnnVectorProperty> - Returns:
- a new builder instance.
-
builder
-
setupKnnVectorPropertyDeserializer
protected static void setupKnnVectorPropertyDeserializer(ObjectDeserializer<KnnVectorProperty.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classDocValuesPropertyBase
-
equals
- Overrides:
equalsin classDocValuesPropertyBase
-