Package org.elasticsearch.nativeaccess
Enum Class VectorSimilarityFunctions.Layout
java.lang.Object
java.lang.Enum<VectorSimilarityFunctions.Layout>
org.elasticsearch.nativeaccess.VectorSimilarityFunctions.Layout
- All Implemented Interfaces:
Serializable,Comparable<VectorSimilarityFunctions.Layout>,Constable
- Enclosing interface:
VectorSimilarityFunctions
Doc-side data layout for BBQ kernels.
STRIPED (bit-plane transposition)
is the original layout used by all vec_dotdNqM kernels; PACKED groups
multiple values into a single byte (K x N-bit doc values per byte, where K x N = 8);
The native symbol suffix is empty for STRIPED to preserve existing names and
_packed for PACKED, so the two appear as e.g. vec_dotd2q4 and
vec_dotd2q4_packed.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionsuffix()Returns the enum constant of this class with the specified name.static VectorSimilarityFunctions.Layout[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRIPED
-
PACKED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
suffix
-