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 collection commands.
Options and Inputs for Collections commands.
-
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.<R> CollectionFindCursor<T, R> Collection.find(Filter filter, CollectionFindOptions options, Class<R> newDocType) Finds all documents in the collection.Collection.findPage(Filter filter, CollectionFindOptions options) Fine document with pagination with no projection.<R> Page<R> Collection.findPage(Filter filter, CollectionFindOptions options, Class<R> newRowType) 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 CollectionFindOptionsModifierConstructorDescriptionCollectionFindCursor(Collection<T> dataSource, Filter filter, CollectionFindOptions options, Class<R> documentType) 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.