Uses of Class
com.datastax.astra.client.collections.commands.options.CollectionFindOptions
Package
Description
Top package to interact with Collections
Objects representing cursors working with find collections commands.
Options and Inputs for Collections commands.
Informations for cursor-based paging.
-
Uses of CollectionFindOptions in com.datastax.astra.client.collections
Modifier and TypeMethodDescriptionCollection.find
(CollectionFindOptions options) Finds all documents in the collection.Collection.find
(Filter filter, CollectionFindOptions options) Finds all documents in the collection.Collection.findPage
(Filter filter, CollectionFindOptions options) Executes a paginated 'find' query on the collection using the specified filter and find options.Collection.findPageASync
(Filter filter, CollectionFindOptions options) Executes a paginated 'find' query on the collection using the specified filter and find options asynchronously. -
Uses of CollectionFindOptions in com.datastax.astra.client.collections.commands.cursor
ModifierConstructorDescriptionCollectionCursor
(Collection<T> col, Filter filter, CollectionFindOptions options) Cursor to iterate on the result of a query. -
Uses of CollectionFindOptions in com.datastax.astra.client.collections.commands.options
Modifier and TypeMethodDescriptionCollectionFindOptions.limit
(int limit) Add a limit clause in the find blockCollectionFindOptions.projection
(Projection... p) Adding this on top of projection(Projection[] p) to allow for a more fluent API.CollectionFindOptions.skip
(int skip) Add a skip clause in the find blockAdding this on top of sort(Sort[] s) to allow for a more fluent API. -
Uses of CollectionFindOptions in com.datastax.astra.client.core.paging
Modifier and TypeFieldDescriptionprotected CollectionFindOptions
PageableIterable.options
Original command, we will edit it to iterate on pages.ModifierConstructorDescriptionFindIterable
(Collection<T> collection, Filter filter, CollectionFindOptions options) Constructor for a cursor over the elements of the find.