Uses of Class
com.datastax.astra.client.model.FindOptions
Package
Description
Entrypoint and core classes for the client.
Domain model classes with
Requests
, Results
, Options
and Iterables
.-
Uses of FindOptions in com.datastax.astra.client
Modifier and TypeMethodDescriptionCollection.find
(Filter filter, FindOptions options) Finds all documents in the collection.Collection.find
(FindOptions options) Finds all documents in the collection, applying the specified find options.Collection.findPage
(Filter filter, FindOptions options) Executes a paginated 'find' query on the collection using the specified filter and find options.Collection.findPageASync
(Filter filter, FindOptions options) Executes a paginated 'find' query on the collection using the specified filter and find options asynchronously. -
Uses of FindOptions in com.datastax.astra.client.model
Modifier and TypeFieldDescriptionprotected FindOptions
PageableIterable.options
Original command, we will edit it to iterate on pages.Modifier and TypeMethodDescriptionFindOptions.includeSimilarity()
Fluent api.FindOptions.includeSortVector()
Fluent api.FindOptions.limit
(int limit) Add a limit clause in the find blockUpdate page stateFindOptions.projection
(Projection... projection) Syntax sugar as delete option is only a sortFindOptions.skip
(int skip) Add a skip clause in the find blockAdd a criteria with $vector in the sort clauseSyntax sugar as delete option is only a sort Could be like Map.of("$vectorize", "command, "field1", 1, "field2", -1);Syntax sugar as delete option is only a sortAdd a criteria with $vectorize in the sort clause.Syntax sugar as delete option is only a sort Could be like Map.of("$vectorize", "command, "field1", 1, "field2", -1);ModifierConstructorDescriptionFindIterable
(Collection<T> collection, Filter filter, FindOptions options) Constructor for a cursor over the elements of the find.