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 Replacer
Convenience method to create aReplacer
with areplacer()
.static Replacer
recurse()
An optional recursion condition to prevent entering a specific subtree, e.g.replacer()
A callback that is invoked on all elements of theQueryPart
expression tree.
-
Method Details
-
of
Convenience method to create aReplacer
with 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 theQueryPart
expression tree.
-