Uses of Class
com.google.cloud.firestore.VectorValue
Packages that use VectorValue
-
Uses of VectorValue in com.google.cloud.firestore
Methods in com.google.cloud.firestore that return VectorValueModifier and TypeMethodDescriptionDocumentSnapshot.getVectorValue(String field) Returns the value of the field as a VectorValue.static VectorValueFieldValue.vector(double[] values) Creates a newVectorValueconstructed with a copy of the given array of doubles.Methods in com.google.cloud.firestore with parameters of type VectorValueModifier and TypeMethodDescriptionQuery.findNearest(FieldPath vectorField, VectorValue queryVector, int limit, VectorQuery.DistanceMeasure distanceMeasure) Returns a VectorQuery that can perform vector distance (similarity) search with given parameters.Query.findNearest(FieldPath vectorField, VectorValue queryVector, int limit, VectorQuery.DistanceMeasure distanceMeasure, VectorQueryOptions vectorQueryOptions) Returns a VectorQuery that can perform vector distance (similarity) search with given parameters.