Annotation Interface Vector


@Target({PARAMETER,RECORD_COMPONENT}) @Retention(RUNTIME) public @interface Vector
Marks the annotated array as Neo4j Vector.

Example:


// assuming the following Java record
public record Entity(String name, @Vector double[] vector) {}
// the vector will be stored as Neo4j Vector in the database

Since:
6.0.0