An API for
QueryPart.$replace(Replacer) query part transformations.
This API is EXPERIMENTAL. Use at your own risk.
Similar to a Collector for Stream.collect(Collector), this
type wraps:
#supplier()#abort()recurse()#before()#after()#finisher()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReplacerConvenience method to create aReplacerwith areplacer().static Replacerrecurse()An optional recursion condition to prevent entering a specific subtree, e.g.replacer()A callback that is invoked on all elements of theQueryPartexpression tree.
-
Method Details
-
of
Convenience method to create aReplacerwith areplacer(). -
of
-
recurse
An optional recursion condition to prevent entering a specific subtree, e.g. when it is undesired to enter any subqueries. -
replacer
A callback that is invoked on all elements of theQueryPartexpression tree.
-