Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion driver/src/main/java/org/neo4j/driver/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ public interface Value extends MapAccessor, MapAccessorWithDefaultValue {
* @throws Uncoercible if value types are incompatible
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
Vector asVector();

/**
Expand Down
6 changes: 0 additions & 6 deletions driver/src/main/java/org/neo4j/driver/Values.java
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,6 @@ public static <T> Function<Value, List<T>> ofList(final Function<Value, T> inner
* @return the vector value
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
public static Value vector(byte[] elements) {
return value(new InternalInt8Vector(elements));
}
Expand All @@ -1082,7 +1081,6 @@ public static Value vector(byte[] elements) {
* @return the vector value
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
public static Value vector(short[] elements) {
return value(new InternalInt16Vector(elements));
}
Expand All @@ -1094,7 +1092,6 @@ public static Value vector(short[] elements) {
* @return the vector value
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
public static Value vector(int[] elements) {
return value(new InternalInt32Vector(elements));
}
Expand All @@ -1106,7 +1103,6 @@ public static Value vector(int[] elements) {
* @return the vector value
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
public static Value vector(long[] elements) {
return value(new InternalInt64Vector(elements));
}
Expand All @@ -1118,7 +1114,6 @@ public static Value vector(long[] elements) {
* @return the vector value
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
public static Value vector(float[] elements) {
return value(new InternalFloat32Vector(elements));
}
Expand All @@ -1130,7 +1125,6 @@ public static Value vector(float[] elements) {
* @return the vector value
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
public static Value vector(double[] elements) {
return value(new InternalFloat64Vector(elements));
}
Expand Down
2 changes: 0 additions & 2 deletions driver/src/main/java/org/neo4j/driver/mapping/Vector.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.neo4j.driver.util.Preview;

/**
* Marks the annotated array as Neo4j Vector.
Expand All @@ -38,5 +37,4 @@
*/
@Target({ElementType.PARAMETER, ElementType.RECORD_COMPONENT})
@Retention(RetentionPolicy.RUNTIME)
@Preview(name = "Neo4j Vector")
public @interface Vector {}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.neo4j.driver.Values;
import org.neo4j.driver.internal.InternalFloat32Vector;
import org.neo4j.driver.util.Preview;

/**
* Represents Neo4j Vector type that holds a sequence of {@code float} values.
Expand All @@ -27,7 +26,6 @@
* @see Vector
* @see Values
*/
@Preview(name = "Neo4j Vector")
public sealed interface Float32Vector extends Vector permits InternalFloat32Vector {
/**
* Returns array with vector elements.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.neo4j.driver.Values;
import org.neo4j.driver.internal.InternalFloat64Vector;
import org.neo4j.driver.util.Preview;

/**
* Represents Neo4j Vector type that holds a sequence of {@code double} values.
Expand All @@ -27,7 +26,6 @@
* @see Vector
* @see Values
*/
@Preview(name = "Neo4j Vector")
public sealed interface Float64Vector extends Vector permits InternalFloat64Vector {
/**
* Returns array with vector elements.
Expand Down
2 changes: 0 additions & 2 deletions driver/src/main/java/org/neo4j/driver/types/Int16Vector.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.neo4j.driver.Values;
import org.neo4j.driver.internal.InternalInt16Vector;
import org.neo4j.driver.util.Preview;

/**
* Represents Neo4j Vector type that holds a sequence of {@code short} values.
Expand All @@ -27,7 +26,6 @@
* @see Vector
* @see Values
*/
@Preview(name = "Neo4j Vector")
public sealed interface Int16Vector extends Vector permits InternalInt16Vector {
/**
* Returns array with vector elements.
Expand Down
2 changes: 0 additions & 2 deletions driver/src/main/java/org/neo4j/driver/types/Int32Vector.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.neo4j.driver.Values;
import org.neo4j.driver.internal.InternalInt32Vector;
import org.neo4j.driver.util.Preview;

/**
* Represents Neo4j Vector type that holds a sequence of {@code int} values.
Expand All @@ -27,7 +26,6 @@
* @see Vector
* @see Values
*/
@Preview(name = "Neo4j Vector")
public sealed interface Int32Vector extends Vector permits InternalInt32Vector {
/**
* Returns array with vector elements.
Expand Down
2 changes: 0 additions & 2 deletions driver/src/main/java/org/neo4j/driver/types/Int64Vector.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.neo4j.driver.Values;
import org.neo4j.driver.internal.InternalInt64Vector;
import org.neo4j.driver.util.Preview;

/**
* Represents Neo4j Vector type that holds a sequence of {@code long} values.
Expand All @@ -27,7 +26,6 @@
* @see Vector
* @see Values
*/
@Preview(name = "Neo4j Vector")
public sealed interface Int64Vector extends Vector permits InternalInt64Vector {
/**
* Returns array with vector elements.
Expand Down
2 changes: 0 additions & 2 deletions driver/src/main/java/org/neo4j/driver/types/Int8Vector.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.neo4j.driver.Values;
import org.neo4j.driver.internal.InternalInt8Vector;
import org.neo4j.driver.util.Preview;

/**
* Represents Neo4j Vector type that holds a sequence of {@code byte} values.
Expand All @@ -27,7 +26,6 @@
* @see Vector
* @see Values
*/
@Preview(name = "Neo4j Vector")
public sealed interface Int8Vector extends Vector permits InternalInt8Vector {
/**
* Returns array with vector elements.
Expand Down
2 changes: 0 additions & 2 deletions driver/src/main/java/org/neo4j/driver/types/TypeSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import static org.neo4j.driver.internal.types.InternalTypeSystem.TYPE_SYSTEM;

import org.neo4j.driver.util.Immutable;
import org.neo4j.driver.util.Preview;

/**
* A listing of all database types this driver can handle.
Expand Down Expand Up @@ -162,7 +161,6 @@ static TypeSystem getDefault() {
* @return the type instance
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
Type VECTOR();

/**
Expand Down
2 changes: 0 additions & 2 deletions driver/src/main/java/org/neo4j/driver/types/Vector.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package org.neo4j.driver.types;

import org.neo4j.driver.Values;
import org.neo4j.driver.util.Preview;

/**
* Represents Neo4j Vector type.
Expand All @@ -35,7 +34,6 @@
* @see Values
* @since 6.0.0
*/
@Preview(name = "Neo4j Vector")
public sealed interface Vector permits Int8Vector, Int16Vector, Int32Vector, Int64Vector, Float32Vector, Float64Vector {
/**
* Returns the element type.
Expand Down