VectorSearchCompressionKind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. VectorSearchCompressionKind
- com.
- com.
public final class VectorSearchCompressionKind
extends ExpandableStringEnum<VectorSearchCompressionKind>
The compression method used for indexing and querying.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Vector |
BINARY_QUANTIZATION
Binary Quantization, a type of compression method. |
static final
Vector |
SCALAR_QUANTIZATION
Scalar Quantization, a type of compression method. |
Constructor Summary
Constructor | Description |
---|---|
VectorSearchCompressionKind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Vector |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vector |
fromString(String name)
Creates or finds a Vector |
static
Collection<Vector |
values()
Gets known Vector |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BINARY_QUANTIZATION
public static final VectorSearchCompressionKind BINARY_QUANTIZATION
Binary Quantization, a type of compression method. In binary quantization, the original vectors values are compressed to the narrower binary type by discretizing and representing each component of a vector using binary values, thereby reducing the overall data size.
SCALAR_QUANTIZATION
public static final VectorSearchCompressionKind SCALAR_QUANTIZATION
Scalar Quantization, a type of compression method. In scalar quantization, the original vectors values are compressed to a narrower type by discretizing and representing each component of a vector using a reduced set of quantized values, thereby reducing the overall data size.
Constructor Details
VectorSearchCompressionKind
@Deprecated
public VectorSearchCompressionKind()
Deprecated
Creates a new instance of VectorSearchCompressionKind value.
Method Details
fromString
public static VectorSearchCompressionKind fromString(String name)
Creates or finds a VectorSearchCompressionKind from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known VectorSearchCompressionKind values.
Returns:
Applies to
Azure SDK for Java