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 traversedQueryParttree.
-
findingAny
@NotNull public static @NotNull Traverser<?,Optional<QueryPart>> findingAny(Predicate<? super QueryPart> predicate) A traverser that finds anyQueryPartthat satisfies a predicate within the traversedQueryParttree.- Parameters:
predicate- The predicate to use to check the traversed tree for aQueryPartto 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 forQueryParts to find.
-