# VectorFormat

enum VectorFormat : Enum<VectorFormat>

Possible dimension formats for a stored VECTOR data type.

Note Not every database supports formats beyond FLOAT32. Please check your documentation.

Currently only float (32-bit and 16-bit) and integer formats are supported.

## Entries

FLOAT32
Link copied to clipboard
FLOAT32

Each dimension is formatted as 32-bit IEEE floating-point numbers.

FLOAT64
Link copied to clipboard
FLOAT64

Each dimension is formatted as 64-bit IEEE floating-point numbers.

INT8
Link copied to clipboard
INT8

Each dimension is formatted as 8-bit integers.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<VectorFormat>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): VectorFormat

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<VectorFormat>

Returns an array containing the constants of this enum type, in the order they're declared.