Uses of Class
com.google.cloud.firestore.VectorQuery
Packages that use VectorQuery
-
Uses of VectorQuery in com.google.cloud.firestore
Methods in com.google.cloud.firestore that return VectorQueryModifier 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.Query.findNearest(String vectorField, double[] queryVector, int limit, VectorQuery.DistanceMeasure distanceMeasure) Returns a VectorQuery that can perform vector distance (similarity) search with given parameters.Query.findNearest(String vectorField, double[] queryVector, int limit, VectorQuery.DistanceMeasure distanceMeasure, VectorQueryOptions vectorQueryOptions) Returns a VectorQuery that can perform vector distance (similarity) search with given parameters.Methods in com.google.cloud.firestore with parameters of type VectorQueryModifier and TypeMethodDescriptionstatic VectorQuerySnapshotVectorQuerySnapshot.withDocuments(VectorQuery query, com.google.cloud.Timestamp readTime, List<QueryDocumentSnapshot> documents) Creates a new VectorQuerySnapshot representing the results of a VectorQuery with added documents.Constructors in com.google.cloud.firestore with parameters of type VectorQueryModifierConstructorDescriptionprotectedVectorQuerySnapshot(VectorQuery query, com.google.cloud.Timestamp readTime, List<QueryDocumentSnapshot> documents, List<DocumentChange> documentChanges)