Uses of Class
com.datastax.astra.client.collections.commands.options.CollectionFindOptions
Packages that use 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
Methods in com.datastax.astra.client.collections with parameters of type CollectionFindOptionsModifier 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
Constructors in com.datastax.astra.client.collections.commands.cursor with parameters of type CollectionFindOptionsModifierConstructorDescriptionCollectionCursor
(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
Methods in com.datastax.astra.client.collections.commands.options that return CollectionFindOptionsModifier 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
Fields in com.datastax.astra.client.core.paging declared as CollectionFindOptionsModifier and TypeFieldDescriptionprotected CollectionFindOptions
PageableIterable.options
Original command, we will edit it to iterate on pages.Constructors in com.datastax.astra.client.core.paging with parameters of type CollectionFindOptionsModifierConstructorDescriptionFindIterable
(Collection<T> collection, Filter filter, CollectionFindOptions options) Constructor for a cursor over the elements of the find.