java.lang.Object
org.jooq.Traversers
A set of
Traverser
constructor methods.
This API is EXPERIMENTAL. Use at your own risk.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
R> Traverser<?, R> collecting
(Collector<QueryPart, T, R> collector) A traverser constructed from aCollector
.containing
(QueryPart part) findingAll
(Predicate<? super QueryPart> predicate) findingAny
(Predicate<? super QueryPart> predicate)
-
Method Details
-
collecting
A traverser constructed from aCollector
. -
containing
- Parameters:
part
- The part to find within the traversedQueryPart
tree.
-
findingAny
@NotNull public static @NotNull Traverser<?,Optional<QueryPart>> findingAny(Predicate<? super QueryPart> predicate) A traverser that finds anyQueryPart
that satisfies a predicate within the traversedQueryPart
tree.- Parameters:
predicate
- The predicate to use to check the traversed tree for aQueryPart
to find.
-
findingAll
@NotNull public static @NotNull Traverser<?,List<QueryPart>> findingAll(Predicate<? super QueryPart> predicate) - Parameters:
predicate
- The predicate to use to check the traversed tree forQueryPart
s to find.
-