Package io.github.torand.fastersql.join
Class Join
java.lang.Object
io.github.torand.fastersql.join.Join
- All Implemented Interfaces:
Sql
Implements a JOIN clause.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a nested JOIN clause by combining this JOIN clause with the specified JOIN clause.Gets the columns referenced by this fragment.Specifies that this is a FULL OUTER JOIN clause.joined()Gets the table joined with.Specifies that this is a LEFT OUTER JOIN clause.Gets the statement parameters introduced by this fragment.Specifies that this is a RIGHT OUTER JOIN clause.Formats object as an SQL fragment.
-
Constructor Details
-
Join
Creates a join clause.- Parameters:
left- the left side of the join.right- the right side of the join.
-
-
Method Details
-
leftOuter
Specifies that this is a LEFT OUTER JOIN clause.- Returns:
- the modified JOIN clause.
-
rightOuter
Specifies that this is a RIGHT OUTER JOIN clause.- Returns:
- the modified JOIN clause.
-
fullOuter
Specifies that this is a FULL OUTER JOIN clause.- Returns:
- the modified JOIN clause.
-
and
Creates a nested JOIN clause by combining this JOIN clause with the specified JOIN clause.- Parameters:
next- the JOIN clause to combine with.- Returns:
- the nested JOIN clause.
-
joined
Gets the table joined with.- Returns:
- the table joined with.
-
sql
Description copied from interface:SqlFormats object as an SQL fragment. -
params
Description copied from interface:SqlGets the statement parameters introduced by this fragment. -
columnRefs
Description copied from interface:SqlGets the columns referenced by this fragment. For validation purposes.- Specified by:
columnRefsin interfaceSql- Returns:
- the columns referenced by this fragment.
-