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 Search
    Modifier and Type
    Method
    Description
    static <T> Search<T>
    Fluxzero.search(io.fluxzero.common.api.search.SearchQuery.Builder queryBuilder)
    Search documents using given reusable query builder.
    static <T> Search<T>
    Fluxzero.search(Class<T> collection)
    Search the collection represented by the given document class and retain that class as the default result type.
    static <T> Search<T>
    Fluxzero.search(Class<T> collection, Object... additionalCollections)
    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>
    Fluxzero.search(Object collection)
    Search the given collection for documents.
    static <T> Search<T>
    Fluxzero.search(Object collection, Object... additionalCollections)
    Search the given collections for documents.
    static <T> Search<Graph<T>>
    Fluxzero.searchGraph(Class<T> rootModelType)
    Searches complete graph views for an independent model root.
    static <T> Search<Graph<T>>
    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 Search
    Modifier and Type
    Class
    Description
    protected class 
     
    protected class 
     
    Modifier and Type
    Method
    Description
    default Search<R>
    Search.all(io.fluxzero.common.api.search.Constraint... constraints)
    Combines multiple constraints using a logical AND.
    default Search<R>
    Search.any(io.fluxzero.common.api.search.Constraint... constraints)
    Combines multiple constraints using a logical OR.
    default Search<R>
    Search.anyExist(String... paths)
    Constrains the search to documents that have any of the given paths.
    default Search<R>
    Search.atLeast(Number min, String path)
    Adds a lower-bound constraint for a field.
    DefaultDocumentStore.DefaultSearch.before(Instant end, boolean inclusive)
     
    default Search<R>
    Search.before(Instant endExclusive)
    Filters documents with timestamps strictly before the given end time.
    Search.before(Instant end, boolean inclusive)
    Filters documents with timestamps before the given time.
    default Search<R>
    Search.before(LocalDate endInclusive)
    Filters and returns search results that occur before the specified end date, inclusive.
    default Search<R>
    Search.beforeLast(Duration period)
    Filters out documents older than the given duration.
    default Search<R>
    Search.below(Number max, String path)
    Adds an upper-bound constraint for a field.
    default Search<R>
    Search.between(Number min, Number maxExclusive, String path)
    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.
    DefaultDocumentStore.DefaultSearch.exclude(String... paths)
     
    Search.exclude(String... paths)
    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.
    default Search<R>
    Search.inLast(Duration period)
    Filters documents within the last given duration (e.g., last 7 days).
    DefaultDocumentStore.DefaultSearch.inPeriod(Instant start, boolean startInclusive, Instant end, boolean endInclusive)
     
    Search.inPeriod(Instant start, boolean startInclusive, Instant end, boolean endInclusive)
    Filters documents within a specified time range.
    default Search<R>
    Search.inPeriod(Instant start, Instant endExclusive)
    Filters documents within the given time range.
    default Search<R>
    Search.inPeriod(LocalDate start, LocalDate endInclusive)
    Filters the search results to include only those within the specified date range.
    default Search<R>
    Search.lookAhead(String phrase, String... paths)
    Adds a full-text lookahead constraint using the specified phrase.
    default Search<R>
    Search.match(Object constraint, boolean strict, String... paths)
    Adds a match constraint, optionally enforcing strict equality.
    default Search<R>
    Search.match(Object constraint, String... paths)
    Adds an equality match constraint for the given value across one or more paths.
    default Search<R>
    Search.matchFacet(String name, Object value)
    Matches the value of a named facet.
    default Search<R>
    Search.matchMetadata(String key, Object value)
    Matches a metadata key to a value.
    default Search<R>
    Search.not(io.fluxzero.common.api.search.Constraint constraint)
    Negates a constraint using a logical NOT.
    default Search<R>
    Search.query(String phrase, String... paths)
    Adds a full-text search constraint for the given phrase.
    DefaultDocumentStore.DefaultSearch.relation(io.fluxzero.common.api.search.ModelRelationConstraint... constraints)
     
    default Search<R>
    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 specified SearchQuery.Builder.
    default <T> Search<T>
    DocumentStore.search(@NonNull Class<T> collection)
    Prepares a typed search for the collection represented by the given document class.
    default <T> Search<T>
    DocumentStore.search(@NonNull Object collection)
    Prepares a search query for one or more document collections.
    <T> Search<Graph<T>>
    DefaultDocumentStore.searchGraph(Class<T> rootModelType, boolean forceAdHoc)
     
    default <T> Search<Graph<T>>
    DocumentStore.searchGraph(@NonNull Class<T> rootModelType)
    Searches complete graph views for an independent model root.
    default <T> Search<Graph<T>>
    DocumentStore.searchGraph(@NonNull Class<T> rootModelType, boolean forceAdHoc)
    Searches complete graph views for an independent model root.
    DefaultDocumentStore.DefaultSearch.since(Instant start, boolean inclusive)
     
    default Search<R>
    Search.since(Instant start)
    Filters documents with timestamps since the given start time (inclusive).
    Search.since(Instant start, boolean inclusive)
    Filters documents with timestamps since the given start time.
    default Search<R>
    Search.since(LocalDate start)
    Initiates a search operation from a specified start date.
    DefaultDocumentStore.DefaultSearch.skip(Integer n)
     
    Search.skip(Integer n)
    Skips the first N results.
    DefaultDocumentStore.DefaultSearch.sortBy(String path, boolean descending)
     
    default Search<R>
    Search.sortBy(String path)
    Sorts results by a specific document field.
    Search.sortBy(String path, boolean descending)
    Sorts results by a field, with control over the sort direction.
    default Search<R>
    Search.sortBy(String path, boolean descending, Search.NullOrder nullOrder)
    Sorts results by a field, with control over both sort direction and null ordering.
    default Search<R>
    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)
     
    default Search<R>
    Sorts results by timestamp in ascending order.
    Search.sortByTimestamp(boolean descending)
    Sorts results by timestamp.
    default Search<R>
    Search.sortByTimestamp(boolean descending, Search.NullOrder nullOrder)
    Sorts results by timestamp, with explicit null ordering.
    default Search<R>
    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.
    default Search<R>
    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.
    default Search<R>
    Search.whereChild(Object collection, io.fluxzero.common.api.search.Constraint... constraints)
    Requires a directly related child document to match the supplied document constraints.
    default Search<R>
    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.
    default Search<R>
    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.
    default Search<R>
    Search.whereParent(Object collection, io.fluxzero.common.api.search.Constraint... constraints)
    Requires a directly related parent document to match the supplied document constraints.