Uses of Class
com.datastax.astra.client.collections.commands.cursor.CollectionFindAndRerankCursor
Packages that use CollectionFindAndRerankCursor
Package
Description
Top package to interact with Collections
Objects representing cursors working with find collection commands.
-
Uses of CollectionFindAndRerankCursor in com.datastax.astra.client.collections
Methods in com.datastax.astra.client.collections that return CollectionFindAndRerankCursorModifier and TypeMethodDescriptionCollection.findAndRerank(CollectionFindAndRerankOptions options) Finds and reranks all documents in the collection using the specified options.Collection.findAndRerank(Filter filter, CollectionFindAndRerankOptions options) Finds and reranks documents in the collection that match the given filter using the specified options.<R> CollectionFindAndRerankCursor<T, R> Collection.findAndRerank(Filter filter, CollectionFindAndRerankOptions options, Class<R> newRowType) Finds and reranks documents in the collection that match the given filter using the specified options, mapping the resulting documents to the specified target type. -
Uses of CollectionFindAndRerankCursor in com.datastax.astra.client.collections.commands.cursor
Methods in com.datastax.astra.client.collections.commands.cursor that return CollectionFindAndRerankCursorModifier and TypeMethodDescriptionCollectionFindAndRerankCursor.clone()Immutable methods that return a new Cursor instance.CollectionFindAndRerankCursor.includeSimilarity()Creates a newCollectionFindAndRerankCursorthat includes similarity scores in the results.CollectionFindAndRerankCursor.includeSortVector()Creates a newCollectionFindAndRerankCursorthat includes sort vector metadata in the results.CollectionFindAndRerankCursor.limit(int newLimit) Creates a newCollectionFindAndRerankCursorwith a specified limit on the number of results.CollectionFindAndRerankCursor.project(Projection... newProjection) Creates a newCollectionFindAndRerankCursorwith an updated projection.Creates a newCollectionFindAndRerankCursorwith a specified sort order.