- Type Parameters:
T- the type of the table being queried.R- the type of the result.ID- the type of the primary key.
- All Known Subinterfaces:
QueryBuilder.TypedJoinBuilder<T,R, ID>
- Enclosing class:
QueryBuilder<T extends Record,R, ID>
public static interface QueryBuilder.JoinBuilder<T extends Record,R,ID>
JoinBuilder relies on preview features of the Java platform:
JoinBuilderrefers to one or more preview APIs:StringTemplate.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A builder for constructing join clause of the query using custom join conditions.
-
Method Summary
Modifier and TypeMethodDescriptionQueryBuilder<T, R, ID> on(StringTemplatePREVIEW template) Specifies the join condition using a custom expression.
-
Method Details
-
on
Specifies the join condition using a custom expression.- Parameters:
template- the condition to join on.- Returns:
- the query builder.
-
JoinBuilderwhen preview features are enabled.