Uses of Interface
io.fluxzero.sdk.persisting.search.Search
Packages that use Search
-
Uses of Search in io.fluxzero.sdk
Methods in io.fluxzero.sdk that return SearchModifier and TypeMethodDescriptionstatic <T> Search<T> Fluxzero.search(io.fluxzero.common.api.search.SearchQuery.Builder queryBuilder) Search documents using given reusable query builder.static <T> Search<T> Search the collection represented by the given document class and retain that class as the default result type.static <T> Search<T> Search the collections represented by the given document class and additional collection identifiers while retaining the document class as the default result type.static <T> Search<T> Search the given collection for documents.static <T> Search<T> Search the given collections for documents.Fluxzero.searchGraph(Class<T> rootModelType) Searches complete graph views for an independent model root.Fluxzero.searchGraph(Class<T> rootModelType, boolean forceAdHoc) Searches complete graph views for an independent model root. -
Uses of Search in io.fluxzero.sdk.persisting.search
Classes in io.fluxzero.sdk.persisting.search that implement SearchModifier and TypeClassDescriptionprotected classprotected classMethods in io.fluxzero.sdk.persisting.search that return SearchModifier and TypeMethodDescriptionSearch.all(io.fluxzero.common.api.search.Constraint... constraints) Combines multiple constraints using a logical AND.Search.any(io.fluxzero.common.api.search.Constraint... constraints) Combines multiple constraints using a logical OR.Constrains the search to documents that have any of the given paths.Adds a lower-bound constraint for a field.Filters documents with timestamps strictly before the given end time.Filters documents with timestamps before the given time.Filters and returns search results that occur before the specified end date, inclusive.Search.beforeLast(Duration period) Filters out documents older than the given duration.Adds an upper-bound constraint for a field.Adds a numeric range constraint.DefaultDocumentStore.DefaultSearch.constraint(io.fluxzero.common.api.search.Constraint... constraints) Search.constraint(io.fluxzero.common.api.search.Constraint... constraints) Adds one or more custom constraints to the search using a logical AND.Excludes specific fields from the returned documents.DefaultDocumentStore.DefaultSearch.includeOnly(String... paths) Search.includeOnly(String... paths) Includes only the specified fields in the returned documents.Filters documents within the last given duration (e.g., last 7 days).DefaultDocumentStore.DefaultSearch.inPeriod(Instant start, boolean startInclusive, Instant end, boolean endInclusive) Filters documents within a specified time range.Filters documents within the given time range.Filters the search results to include only those within the specified date range.Adds a full-text lookahead constraint using the specified phrase.Adds a match constraint, optionally enforcing strict equality.Adds an equality match constraint for the given value across one or more paths.Search.matchFacet(String name, Object value) Matches the value of a named facet.Search.matchMetadata(String key, Object value) Matches a metadata key to a value.Search.not(io.fluxzero.common.api.search.Constraint constraint) Negates a constraint using a logical NOT.Adds a full-text search constraint for the given phrase.DefaultDocumentStore.DefaultSearch.relation(io.fluxzero.common.api.search.ModelRelationConstraint... constraints) Search.relation(io.fluxzero.common.api.search.ModelRelationConstraint... constraints) Adds advanced current-state model relationship constraints using logical AND.<T> Search<T> DefaultDocumentStore.search(io.fluxzero.common.api.search.SearchQuery.Builder searchBuilder) <T> Search<T> DocumentStore.search(io.fluxzero.common.api.search.SearchQuery.Builder queryBuilder) Prepares a search query based on the specifiedSearchQuery.Builder.default <T> Search<T> Prepares a typed search for the collection represented by the given document class.default <T> Search<T> Prepares a search query for one or more document collections.DefaultDocumentStore.searchGraph(Class<T> rootModelType, boolean forceAdHoc) DocumentStore.searchGraph(@NonNull Class<T> rootModelType) Searches complete graph views for an independent model root.DocumentStore.searchGraph(@NonNull Class<T> rootModelType, boolean forceAdHoc) Searches complete graph views for an independent model root.Filters documents with timestamps since the given start time (inclusive).Filters documents with timestamps since the given start time.Initiates a search operation from a specified start date.Skips the first N results.Sorts results by a specific document field.Sorts results by a field, with control over the sort direction.Search.sortBy(String path, boolean descending, Search.NullOrder nullOrder) Sorts results by a field, with control over both sort direction and null ordering.Search.sortBy(String path, Search.NullOrder nullOrder) Sorts results by a specific document field, with explicit null ordering.DefaultDocumentStore.DefaultSearch.sortByScore()Search.sortByScore()Sorts results by full-text relevance score.DefaultDocumentStore.DefaultSearch.sortByTimestamp(boolean descending) Search.sortByTimestamp()Sorts results by timestamp in ascending order.Search.sortByTimestamp(boolean descending) Sorts results by timestamp.Search.sortByTimestamp(boolean descending, Search.NullOrder nullOrder) Sorts results by timestamp, with explicit null ordering.Search.whereAncestor(Object collection, int minDepth, int maxDepth, io.fluxzero.common.api.search.Constraint... constraints) Requires an ancestor document within the supplied depth range to match the document constraints.Search.whereAncestor(Object collection, io.fluxzero.common.api.search.Constraint... constraints) Requires an ancestor document at any supported depth to match the supplied document constraints.Search.whereChild(Object collection, io.fluxzero.common.api.search.Constraint... constraints) Requires a directly related child document to match the supplied document constraints.Search.whereDescendant(Object collection, int minDepth, int maxDepth, io.fluxzero.common.api.search.Constraint... constraints) Requires a descendant document within the supplied depth range to match the document constraints.Search.whereDescendant(Object collection, io.fluxzero.common.api.search.Constraint... constraints) Requires a descendant document at any supported depth to match the supplied document constraints.Search.whereParent(Object collection, io.fluxzero.common.api.search.Constraint... constraints) Requires a directly related parent document to match the supplied document constraints.