Uses of Interface
io.fluxcapacitor.common.api.search.Constraint
Packages that use Constraint
Package
Description
-
Uses of Constraint in io.fluxcapacitor.common.api.search
Classes in io.fluxcapacitor.common.api.search that implement ConstraintModifier and TypeClassDescriptionclass
AConstraint
implementation that matches all documents and imposes no filtering conditions.Methods in io.fluxcapacitor.common.api.search that return ConstraintModifier and TypeMethodDescriptiondefault Constraint
Constraint.and
(Constraint other) Combines this constraint with another using logical AND.default Constraint
Constraint.decompose()
Returns a version of this constraint with all composite constraints decomposed into their atomic elements.default Constraint
Constraint.or
(Constraint other) Combines this constraint with another using logical OR.Methods in io.fluxcapacitor.common.api.search with parameters of type ConstraintModifier and TypeMethodDescriptiondefault Constraint
Constraint.and
(Constraint other) Combines this constraint with another using logical AND.default Constraint
Constraint.or
(Constraint other) Combines this constraint with another using logical OR. -
Uses of Constraint in io.fluxcapacitor.common.api.search.constraints
Classes in io.fluxcapacitor.common.api.search.constraints that implement ConstraintModifier and TypeClassDescriptionclass
A composite constraint that requires all inner constraints to match.class
A composite constraint that requires at least one inner constraint to match.class
AConstraint
that filters documents based on whether a value in a specific path lies between two bounds.class
A constraint that matches document entries containing the specified phrase, with optional wildcard-like flexibility.class
AConstraint
that checks whether one or more paths exist in a document.class
A constraint that matches documents containing a specificFacetEntry
.class
A constraint that supports search-as-you-type functionality by matching terms or phrases that start with a given input string.class
A constraint that matches indexed document values based on text equality or normalized phrase matching.class
A constraint that negates the result of another constraint.class
Abstract base class for constraints that apply to specific paths in aDocument
.class
AConstraint
that parses a human-friendly query string into a structured tree of constraints.Methods in io.fluxcapacitor.common.api.search.constraints that return ConstraintModifier and TypeMethodDescriptionstatic Constraint
AllConstraint.all
(Constraint... constraints) Creates anAllConstraint
from the given array of constraints.static Constraint
AllConstraint.all
(Collection<Constraint> constraints) Creates anAllConstraint
from the given collection of constraints.static Constraint
AnyConstraint.any
(Constraint... constraints) Creates anAnyConstraint
from the given array of constraints.static Constraint
AnyConstraint.any
(Collection<Constraint> constraints) Creates anAnyConstraint
from the given collection of constraints.static Constraint
ContainsConstraint.contains
(String phrase, boolean prefixSearch, boolean postfixSearch, boolean splitInTerms, String... paths) Create a constraint that optionally splits the input phrase into individual terms and combines the resulting constraints usingAllConstraint
.static Constraint
ContainsConstraint.contains
(String phrase, boolean prefixSearch, boolean postfixSearch, String... paths) Create a constraint that allows prefix and/or postfix matching of a given phrase.static Constraint
Create a basicContainsConstraint
that checks if the given phrase exists anywhere in the entry, using default full-word matching (i.e., neither prefix nor postfix logic).static Constraint
Creates a constraint that checks for the presence of any of the given paths.static Constraint
Creates aLookAheadConstraint
that matches any terms or phrases starting with the given input string.static Constraint
Creates a constraint that matches the given value across the specified paths, with an option to enforce strict string equality.static Constraint
Creates a constraint that performs non-strict (normalized) matching of the provided value across the specified paths.static Constraint
FacetConstraint.matchFacet
(FacetEntry facet) Factory method to create a constraint that matches a singleFacetEntry
.static Constraint
FacetConstraint.matchFacet
(String name, Object value) Factory method to create a constraint that matches documents with the given facet name and value.static Constraint
Creates aQueryConstraint
with optional lookahead behavior for terms.static Constraint
Creates aQueryConstraint
that parses and evaluates the given query string.abstract Constraint
Methods in io.fluxcapacitor.common.api.search.constraints with parameters of type ConstraintModifier and TypeMethodDescriptionstatic Constraint
AllConstraint.all
(Constraint... constraints) Creates anAllConstraint
from the given array of constraints.static Constraint
AnyConstraint.any
(Constraint... constraints) Creates anAnyConstraint
from the given array of constraints.static NotConstraint
NotConstraint.not
(Constraint constraint) Factory method to create aNotConstraint
.Method parameters in io.fluxcapacitor.common.api.search.constraints with type arguments of type ConstraintModifier and TypeMethodDescriptionstatic Constraint
AllConstraint.all
(Collection<Constraint> constraints) Creates anAllConstraint
from the given collection of constraints.static Constraint
AnyConstraint.any
(Collection<Constraint> constraints) Creates anAnyConstraint
from the given collection of constraints. -
Uses of Constraint in io.fluxcapacitor.javaclient.modeling
Methods in io.fluxcapacitor.javaclient.modeling that return ConstraintModifier and TypeMethodDescriptionprotected Constraint
DefaultHandlerRepository.asConstraint
(Map<Object, String> associations) -
Uses of Constraint in io.fluxcapacitor.javaclient.persisting.search
Methods in io.fluxcapacitor.javaclient.persisting.search with parameters of type ConstraintModifier and TypeMethodDescriptiondefault Search
Search.all
(Constraint... constraints) Combines multiple constraints using a logical AND.default Search
Search.any
(Constraint... constraints) Combines multiple constraints using a logical OR.DefaultDocumentStore.DefaultSearch.constraint
(Constraint... constraints) Search.constraint
(Constraint... constraints) Adds one or more custom constraints to the search using a logical AND.default Search
Search.not
(Constraint constraint) Negates a constraint using a logical NOT.