Package io.qdrant.client
Class VectorInputFactory
java.lang.Object
io.qdrant.client.VectorInputFactory
Convenience methods for constructing
Points.VectorInput
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.qdrant.client.grpc.Points.VectorInput
multiVectorInput
(float[][] vectors) Creates aPoints.VectorInput
from a nested array of floats representing a multi vectorstatic io.qdrant.client.grpc.Points.VectorInput
multiVectorInput
(List<List<Float>> vectors) Creates aPoints.VectorInput
from a nested list of floats representing a multi vectorstatic io.qdrant.client.grpc.Points.VectorInput
vectorInput
(float... values) Creates aPoints.VectorInput
from a list of floatsstatic io.qdrant.client.grpc.Points.VectorInput
vectorInput
(long id) Creates aPoints.VectorInput
from along
static io.qdrant.client.grpc.Points.VectorInput
vectorInput
(io.qdrant.client.grpc.Points.PointId id) Creates aPoints.VectorInput
from aPoints.PointId
static io.qdrant.client.grpc.Points.VectorInput
vectorInput
(List<Float> values) Creates aPoints.VectorInput
from a list of floatsstatic io.qdrant.client.grpc.Points.VectorInput
vectorInput
(List<Float> vector, List<Integer> indices) Creates aPoints.VectorInput
from a list of floats and integers as indicesstatic io.qdrant.client.grpc.Points.VectorInput
vectorInput
(UUID id) Creates aPoints.VectorInput
from aUUID
-
Method Details
-
vectorInput
Creates aPoints.VectorInput
from a list of floats- Parameters:
values
- A map of vector names to values- Returns:
- A new instance of
Points.VectorInput
-
vectorInput
public static io.qdrant.client.grpc.Points.VectorInput vectorInput(float... values) Creates aPoints.VectorInput
from a list of floats- Parameters:
values
- A list of values- Returns:
- A new instance of
Points.VectorInput
-
vectorInput
public static io.qdrant.client.grpc.Points.VectorInput vectorInput(List<Float> vector, List<Integer> indices) Creates aPoints.VectorInput
from a list of floats and integers as indices- Parameters:
vector
- The list of floats representing the vector.indices
- The list of integers representing the indices.- Returns:
- A new instance of
Points.VectorInput
-
multiVectorInput
Creates aPoints.VectorInput
from a nested list of floats representing a multi vector- Parameters:
vectors
- The nested list of floats.- Returns:
- A new instance of
Points.VectorInput
-
multiVectorInput
public static io.qdrant.client.grpc.Points.VectorInput multiVectorInput(float[][] vectors) Creates aPoints.VectorInput
from a nested array of floats representing a multi vector- Parameters:
vectors
- The nested array of floats.- Returns:
- A new instance of
Points.VectorInput
-
vectorInput
public static io.qdrant.client.grpc.Points.VectorInput vectorInput(long id) Creates aPoints.VectorInput
from along
- Parameters:
id
- The point id- Returns:
- a new instance of
Points.VectorInput
-
vectorInput
Creates aPoints.VectorInput
from aUUID
- Parameters:
id
- The pint id- Returns:
- a new instance of
Points.VectorInput
-
vectorInput
public static io.qdrant.client.grpc.Points.VectorInput vectorInput(io.qdrant.client.grpc.Points.PointId id) Creates aPoints.VectorInput
from aPoints.PointId
- Parameters:
id
- The pint id- Returns:
- a new instance of
Points.VectorInput
-