Package com.couchbase.lite
Class Join
java.lang.Object
com.couchbase.lite.Join
- Direct Known Subclasses:
Join.On
A Join component representing a single JOIN clause in the query statement.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Component used for specifying join on conditions. -
Method Summary
Modifier and TypeMethodDescriptionstatic Join
crossJoin
(DataSource datasource) Create an CROSS JOIN component with the given data source.static Join.On
innerJoin
(DataSource datasource) Create an INNER JOIN component with the given data source.static Join.On
join
(DataSource datasource) Create a JOIN (same as INNER JOIN) component with the given data source.static Join.On
leftJoin
(DataSource datasource) Create a LEFT JOIN (same as LEFT OUTER JOIN) component with the given data source.static Join.On
leftOuterJoin
(DataSource datasource) Create a LEFT OUTER JOIN component with the given data source.
-
Method Details
-
join
Create a JOIN (same as INNER JOIN) component with the given data source. Use the returned On component to specify join conditions.- Parameters:
datasource
- The DataSource object of the JOIN clause.- Returns:
- The On object used for specifying join conditions.
-
innerJoin
Create an INNER JOIN component with the given data source. Use the returned On component to specify join conditions.- Parameters:
datasource
- The DataSource object of the JOIN clause.- Returns:
- The On object used for specifying join conditions.
-
leftJoin
Create a LEFT JOIN (same as LEFT OUTER JOIN) component with the given data source. Use the returned On component to specify join conditions.- Parameters:
datasource
- The DataSource object of the JOIN clause.- Returns:
- The On object used for specifying join conditions.
-
leftOuterJoin
Create a LEFT OUTER JOIN component with the given data source. Use the returned On component to specify join conditions.- Parameters:
datasource
- The DataSource object of the JOIN clause.- Returns:
- The On object used for specifying join conditions.
-
crossJoin
Create an CROSS JOIN component with the given data source. Use the returned On component to specify join conditions.- Parameters:
datasource
- The DataSource object of the JOIN clause.- Returns:
- The Join object used for specifying join conditions.
-