org.jooq.SelectJoinStep Maven / Gradle / Ivy
Show all versions of hello-world-plugin Show documentation
/*
* Copyright (c) 2009-2016, Data Geekery GmbH (http://www.datageekery.com)
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Other licenses:
* -----------------------------------------------------------------------------
* Commercial licenses for this work are available. These replace the above
* ASL 2.0 and offer limited warranties, support, maintenance, and commercial
* database integrations.
*
* For more information, please visit: http://www.jooq.org/licenses
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.jooq;
// ...
// ...
import static org.jooq.SQLDialect.CUBRID;
// ...
import static org.jooq.SQLDialect.DERBY;
import static org.jooq.SQLDialect.FIREBIRD;
import static org.jooq.SQLDialect.H2;
// ...
import static org.jooq.SQLDialect.HSQLDB;
// ...
// ...
import static org.jooq.SQLDialect.MARIADB;
import static org.jooq.SQLDialect.MYSQL;
// ...
// ...
import static org.jooq.SQLDialect.POSTGRES;
import static org.jooq.SQLDialect.POSTGRES_9_3;
import static org.jooq.SQLDialect.SQLITE;
// ...
// ...
// ...
import org.jooq.impl.DSL;
/**
* This type is used for the {@link Select}'s DSL API when selecting generic
* {@link Record} types.
*
* Example:
* -- get all authors' first and last names, and the number
* -- of books they've written in German, if they have written
* -- more than five books in German in the last three years
* -- (from 2011), and sort those authors by last names
* -- limiting results to the second and third row
*
* SELECT T_AUTHOR.FIRST_NAME, T_AUTHOR.LAST_NAME, COUNT(*)
* FROM T_AUTHOR
* JOIN T_BOOK ON T_AUTHOR.ID = T_BOOK.AUTHOR_ID
* WHERE T_BOOK.LANGUAGE = 'DE'
* AND T_BOOK.PUBLISHED > '2008-01-01'
* GROUP BY T_AUTHOR.FIRST_NAME, T_AUTHOR.LAST_NAME
* HAVING COUNT(*) > 5
* ORDER BY T_AUTHOR.LAST_NAME ASC NULLS FIRST
* LIMIT 2
* OFFSET 1
* FOR UPDATE
* OF FIRST_NAME, LAST_NAME
* NO WAIT
*
Its equivalent in jOOQ
* create.select(TAuthor.FIRST_NAME, TAuthor.LAST_NAME, create.count())
* .from(T_AUTHOR)
* .join(T_BOOK).on(TBook.AUTHOR_ID.equal(TAuthor.ID))
* .where(TBook.LANGUAGE.equal("DE"))
* .and(TBook.PUBLISHED.greaterThan(parseDate('2008-01-01')))
* .groupBy(TAuthor.FIRST_NAME, TAuthor.LAST_NAME)
* .having(create.count().greaterThan(5))
* .orderBy(TAuthor.LAST_NAME.asc().nullsFirst())
* .limit(2)
* .offset(1)
* .forUpdate()
* .of(TAuthor.FIRST_NAME, TAuthor.LAST_NAME)
* .noWait();
*
Refer to the manual for more details
*
* @author Lukas Eder
*/
public interface SelectJoinStep extends SelectWhereStep {
/**
* Convenience method to join a table to the last table added to the
* FROM
clause using {@link Table#join(TableLike, JoinType)}
*
* Depending on the JoinType
, a subsequent
* {@link SelectOnStep#on(Condition...)} or
* {@link SelectOnStep#using(Field...)} clause is required. If it is
* required but omitted, the JOIN clause will be ignored
*/
@Support
SelectOptionalOnStep join(TableLike> table, JoinType type);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using {@link Table#join(TableLike)}.
*
* A synonym for {@link #innerJoin(TableLike)}.
*
* @see Table#join(TableLike)
* @see #innerJoin(TableLike)
*/
@Support
SelectOnStep join(TableLike> table);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using {@link Table#join(String)}.
*
* A synonym for {@link #innerJoin(String)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#join(SQL)
* @see #innerJoin(SQL)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep join(SQL sql);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using {@link Table#join(String)}.
*
* A synonym for {@link #innerJoin(String)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#join(String)
* @see #innerJoin(String)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep join(String sql);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#join(String, Object...)}.
*
* A synonym for {@link #innerJoin(String, Object...)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#join(String, Object...)
* @see #innerJoin(String, Object...)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep join(String sql, Object... bindings);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#join(String, QueryPart...)}.
*
* A synonym for {@link #innerJoin(String, QueryPart...)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#join(String, QueryPart...)
* @see #innerJoin(String, QueryPart...)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep join(String sql, QueryPart... parts);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#join(Name)}.
*
* A synonym for {@link #innerJoin(Name)}.
*
* @see DSL#table(Name)
* @see Table#join(Name)
* @see #innerJoin(Name)
*/
@Support
@PlainSQL
SelectOnStep join(Name name);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using {@link Table#join(TableLike)}.
*
* @see Table#innerJoin(TableLike)
*/
@Support
SelectOnStep innerJoin(TableLike> table);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using {@link Table#join(String)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#innerJoin(SQL)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep innerJoin(SQL sql);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using {@link Table#join(String)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#innerJoin(String)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep innerJoin(String sql);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#join(String, Object...)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#innerJoin(String, Object...)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep innerJoin(String sql, Object... bindings);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#join(String, QueryPart...)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#innerJoin(String, QueryPart...)
* @see SQL
*/
@Support
@PlainSQL
SelectOnStep innerJoin(String sql, QueryPart... parts);
/**
* Convenience method to INNER JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#join(Name)}.
*
* @see DSL#table(Name)
* @see Table#innerJoin(Name)
*/
@Support
SelectOnStep innerJoin(Name name);
/**
* Convenience method to CROSS JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#crossJoin(TableLike)}
*
* If this syntax is unavailable, it is emulated with a regular
* INNER JOIN
. The following two constructs are equivalent:
*
* A cross join B
* A join B on 1 = 1
*
*
* @see Table#crossJoin(TableLike)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
SelectJoinStep crossJoin(TableLike> table);
/**
* Convenience method to CROSS JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#crossJoin(String)}
*
* If this syntax is unavailable, it is emulated with a regular
* INNER JOIN
. The following two constructs are equivalent:
*
* A cross join B
* A join B on 1 = 1
*
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#crossJoin(SQL)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@PlainSQL
SelectJoinStep crossJoin(SQL sql);
/**
* Convenience method to CROSS JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#crossJoin(String)}
*
* If this syntax is unavailable, it is emulated with a regular
* INNER JOIN
. The following two constructs are equivalent:
*
* A cross join B
* A join B on 1 = 1
*
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#crossJoin(String)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@PlainSQL
SelectJoinStep crossJoin(String sql);
/**
* Convenience method to CROSS JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#crossJoin(String, Object...)}
*
* If this syntax is unavailable, it is emulated with a regular
* INNER JOIN
. The following two constructs are equivalent:
*
* A cross join B
* A join B on 1 = 1
*
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#crossJoin(String, Object...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@PlainSQL
SelectJoinStep crossJoin(String sql, Object... bindings);
/**
* Convenience method to CROSS JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#crossJoin(String, QueryPart...)}
*
* If this syntax is unavailable, it is emulated with a regular
* INNER JOIN
. The following two constructs are equivalent:
*
* A cross join B
* A join B on 1 = 1
*
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#crossJoin(String, QueryPart...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
@PlainSQL
SelectJoinStep crossJoin(String sql, QueryPart... parts);
/**
* Convenience method to CROSS JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#crossJoin(Name)}
*
* If this syntax is unavailable, it is emulated with a regular
* INNER JOIN
. The following two constructs are equivalent:
*
* A cross join B
* A join B on 1 = 1
*
*
* @see DSL#table(Name)
* @see Table#crossJoin(Name)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
SelectJoinStep crossJoin(Name name);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(TableLike)}.
*
* A synonym for {@link #leftOuterJoin(TableLike)}.
*
* @see Table#leftOuterJoin(TableLike)
* @see #leftOuterJoin(TableLike)
*/
@Support
SelectJoinPartitionByStep leftJoin(TableLike> table);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String)}.
*
* A synonym for {@link #leftOuterJoin(String)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#leftOuterJoin(SQL)
* @see #leftOuterJoin(SQL)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftJoin(SQL sql);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String)}.
*
* A synonym for {@link #leftOuterJoin(String)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#leftOuterJoin(String)
* @see #leftOuterJoin(String)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftJoin(String sql);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String, Object...)}.
*
* A synonym for {@link #leftOuterJoin(String, Object...)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#leftOuterJoin(String, Object...)
* @see #leftOuterJoin(String, Object...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftJoin(String sql, Object... bindings);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String, QueryPart...)}.
*
* A synonym for {@link #leftOuterJoin(String, QueryPart...)}.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#leftOuterJoin(String, QueryPart...)
* @see #leftOuterJoin(String, QueryPart...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftJoin(String sql, QueryPart... parts);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(Name)}.
*
* A synonym for {@link #leftOuterJoin(Name)}.
*
* @see DSL#table(Name)
* @see Table#leftOuterJoin(Name)
* @see #leftOuterJoin(Name)
*/
@Support
SelectJoinPartitionByStep leftJoin(Name name);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(TableLike)}
*
* @see Table#leftOuterJoin(TableLike)
*/
@Support
SelectJoinPartitionByStep leftOuterJoin(TableLike> table);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String)}
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#leftOuterJoin(SQL)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftOuterJoin(SQL sql);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String)}
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#leftOuterJoin(String)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftOuterJoin(String sql);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String, Object...)}
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#leftOuterJoin(String, Object...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftOuterJoin(String sql, Object... bindings);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(String, QueryPart...)}
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#leftOuterJoin(String, QueryPart...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinPartitionByStep leftOuterJoin(String sql, QueryPart... parts);
/**
* Convenience method to LEFT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#leftOuterJoin(Name)}
*
* @see DSL#table(Name)
* @see Table#leftOuterJoin(Name)
*/
@Support
SelectJoinPartitionByStep leftOuterJoin(Name name);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(TableLike)}.
*
* A synonym for {@link #rightOuterJoin(TableLike)}.
*
* This is only possible where the underlying RDBMS supports it
*
* @see Table#rightOuterJoin(TableLike)
* @see #rightOuterJoin(TableLike)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
SelectJoinPartitionByStep rightJoin(TableLike> table);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String)}.
*
* A synonym for {@link #rightOuterJoin(String)}.
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#rightOuterJoin(SQL)
* @see #rightOuterJoin(SQL)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightJoin(SQL sql);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String)}.
*
* A synonym for {@link #rightOuterJoin(String)}.
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#rightOuterJoin(String)
* @see #rightOuterJoin(String)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightJoin(String sql);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String, Object...)}.
*
* A synonym for {@link #rightOuterJoin(String, Object...)}.
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#rightOuterJoin(String, Object...)
* @see #rightOuterJoin(String, Object...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightJoin(String sql, Object... bindings);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String, QueryPart...)}.
*
* A synonym for {@link #rightOuterJoin(String, QueryPart...)}.
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#rightOuterJoin(String, QueryPart...)
* @see #rightOuterJoin(String, QueryPart...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightJoin(String sql, QueryPart... parts);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(Name)}.
*
* A synonym for {@link #rightOuterJoin(Name)}.
*
* This is only possible where the underlying RDBMS supports it
*
* @see DSL#table(Name)
* @see Table#rightOuterJoin(Name)
* @see #rightOuterJoin(Name)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
SelectJoinPartitionByStep rightJoin(Name name);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(TableLike)}
*
* This is only possible where the underlying RDBMS supports it
*
* @see Table#rightOuterJoin(TableLike)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
SelectJoinPartitionByStep rightOuterJoin(TableLike> table);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#rightOuterJoin(SQL)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightOuterJoin(SQL sql);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#rightOuterJoin(String)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightOuterJoin(String sql);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String, Object...)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#rightOuterJoin(String, Object...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightOuterJoin(String sql, Object... bindings);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(String, QueryPart...)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#rightOuterJoin(String, QueryPart...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinPartitionByStep rightOuterJoin(String sql, QueryPart... parts);
/**
* Convenience method to RIGHT OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#rightOuterJoin(Name)}
*
* This is only possible where the underlying RDBMS supports it
*
* @see DSL#table(Name)
* @see Table#rightOuterJoin(Name)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
SelectJoinPartitionByStep rightOuterJoin(Name name);
/**
* Convenience method to FULL OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#fullOuterJoin(TableLike)}
*
* This is only possible where the underlying RDBMS supports it
*
* @see Table#fullOuterJoin(TableLike)
*/
@Support({ FIREBIRD, HSQLDB, POSTGRES })
SelectOnStep fullOuterJoin(TableLike> table);
/**
* Convenience method to FULL OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#fullOuterJoin(String)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#fullOuterJoin(SQL)
* @see SQL
*/
@Support({ FIREBIRD, HSQLDB, POSTGRES })
@PlainSQL
SelectOnStep fullOuterJoin(SQL sql);
/**
* Convenience method to FULL OUTER JOIN
a table to the last
* table added to the FROM
clause using
* {@link Table#fullOuterJoin(String)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#fullOuterJoin(String)
* @see SQL
*/
@Support({ FIREBIRD, HSQLDB, POSTGRES })
@PlainSQL
SelectOnStep fullOuterJoin(String sql);
/**
* Convenience method to FULL OUTER JOIN
a tableto the last
* table added to the FROM
clause using
* {@link Table#fullOuterJoin(String, Object...)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#fullOuterJoin(String, Object...)
* @see SQL
*/
@Support({ FIREBIRD, HSQLDB, POSTGRES })
@PlainSQL
SelectOnStep fullOuterJoin(String sql, Object... bindings);
/**
* Convenience method to FULL OUTER JOIN
a tableto the last
* table added to the FROM
clause using
* {@link Table#fullOuterJoin(String, QueryPart...)}
*
* This is only possible where the underlying RDBMS supports it
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#fullOuterJoin(String, QueryPart...)
* @see SQL
*/
@Support({ FIREBIRD, HSQLDB, POSTGRES })
@PlainSQL
SelectOnStep fullOuterJoin(String sql, QueryPart... parts);
/**
* Convenience method to FULL OUTER JOIN
a tableto the last
* table added to the FROM
clause using
* {@link Table#fullOuterJoin(Name)}
*
* This is only possible where the underlying RDBMS supports it
*
* @see DSL#table(Name)
* @see Table#fullOuterJoin(Name)
*/
@Support({ FIREBIRD, HSQLDB, POSTGRES })
SelectOnStep fullOuterJoin(Name name);
/**
* Convenience method to NATURAL JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#naturalJoin(TableLike)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* @see Table#naturalJoin(TableLike)
*/
@Support
SelectJoinStep naturalJoin(TableLike> table);
/**
* Convenience method to NATURAL JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#naturalJoin(String)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#naturalJoin(SQL)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalJoin(SQL sql);
/**
* Convenience method to NATURAL JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#naturalJoin(String)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#naturalJoin(String)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalJoin(String sql);
/**
* Convenience method to NATURAL JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#naturalJoin(String, Object...)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#naturalJoin(String, Object...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalJoin(String sql, Object... bindings);
/**
* Convenience method to NATURAL JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#naturalJoin(String, QueryPart...)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#naturalJoin(String, QueryPart...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalJoin(String sql, QueryPart... parts);
/**
* Convenience method to NATURAL JOIN
a table to the last table
* added to the FROM
clause using
* {@link Table#naturalJoin(Name)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* @see DSL#table(Name)
* @see Table#naturalJoin(Name)
*/
@Support
SelectJoinStep naturalJoin(Name name);
/**
* Convenience method to NATURAL LEFT OUTER JOIN
a table to the
* last table added to the FROM
clause using
* {@link Table#naturalLeftOuterJoin(TableLike)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* @see Table#naturalLeftOuterJoin(TableLike)
*/
@Support
SelectJoinStep naturalLeftOuterJoin(TableLike> table);
/**
* Convenience method to NATURAL LEFT OUTER JOIN
a table to the
* last table added to the FROM
clause using
* {@link Table#naturalLeftOuterJoin(String)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#naturalLeftOuterJoin(SQL)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalLeftOuterJoin(SQL sql);
/**
* Convenience method to NATURAL LEFT OUTER JOIN
a table to the
* last table added to the FROM
clause using
* {@link Table#naturalLeftOuterJoin(String)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#naturalLeftOuterJoin(String)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalLeftOuterJoin(String sql);
/**
* Convenience method to NATURAL LEFT OUTER JOIN
a table to the
* last table added to the FROM
clause using
* {@link Table#naturalLeftOuterJoin(String, Object...)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#naturalLeftOuterJoin(String, Object...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalLeftOuterJoin(String sql, Object... bindings);
/**
* Convenience method to NATURAL LEFT OUTER JOIN
a table to the
* last table added to the FROM
clause using
* {@link Table#naturalLeftOuterJoin(String, QueryPart...)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#naturalLeftOuterJoin(String, QueryPart...)
* @see SQL
*/
@Support
@PlainSQL
SelectJoinStep naturalLeftOuterJoin(String sql, QueryPart... parts);
/**
* Convenience method to NATURAL LEFT OUTER JOIN
a table to the
* last table added to the FROM
clause using
* {@link Table#naturalLeftOuterJoin(Name)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* @see DSL#table(Name)
* @see Table#naturalLeftOuterJoin(Name)
*/
@Support
SelectJoinStep naturalLeftOuterJoin(Name name);
/**
* Convenience method to NATURAL RIGHT OUTER JOIN
a table to
* the last table added to the FROM
clause using
* {@link Table#naturalRightOuterJoin(TableLike)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* @see Table#naturalRightOuterJoin(TableLike)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
SelectJoinStep naturalRightOuterJoin(TableLike> table);
/**
* Convenience method to NATURAL RIGHT OUTER JOIN
a table to
* the last table added to the FROM
clause using
* {@link Table#naturalRightOuterJoin(String)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#naturalRightOuterJoin(SQL)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinStep naturalRightOuterJoin(SQL sql);
/**
* Convenience method to NATURAL RIGHT OUTER JOIN
a table to
* the last table added to the FROM
clause using
* {@link Table#naturalRightOuterJoin(String)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#naturalRightOuterJoin(String)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinStep naturalRightOuterJoin(String sql);
/**
* Convenience method to NATURAL RIGHT OUTER JOIN
a table to
* the last table added to the FROM
clause using
* {@link Table#naturalRightOuterJoin(String, Object...)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#naturalRightOuterJoin(String, Object...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinStep naturalRightOuterJoin(String sql, Object... bindings);
/**
* Convenience method to NATURAL RIGHT OUTER JOIN
a table to
* the last table added to the FROM
clause using
* {@link Table#naturalRightOuterJoin(String, QueryPart...)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#naturalRightOuterJoin(String, QueryPart...)
* @see SQL
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
@PlainSQL
SelectJoinStep naturalRightOuterJoin(String sql, QueryPart... parts);
/**
* Convenience method to NATURAL RIGHT OUTER JOIN
a table to
* the last table added to the FROM
clause using
* {@link Table#naturalRightOuterJoin(Name)}
*
* Natural joins are supported by most RDBMS. If they aren't supported, they
* are emulated if jOOQ has enough information.
*
* @see DSL#table(Name)
* @see Table#naturalRightOuterJoin(Name)
*/
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
SelectJoinStep naturalRightOuterJoin(Name name);
// -------------------------------------------------------------------------
// XXX: SEMI and ANTI JOIN
// -------------------------------------------------------------------------
/**
* A synthetic LEFT SEMI JOIN
clause that translates to an
* equivalent EXISTS
predicate.
*
* The following two SQL snippets are semantically equivalent:
*
* -- Using LEFT SEMI JOIN
* FROM A
* LEFT SEMI JOIN B
* ON A.ID = B.ID
*
* -- Using WHERE EXISTS
* FROM A
* WHERE EXISTS (
* SELECT 1 FROM B WHERE A.ID = B.ID
* )
*
*
* @see Table#leftSemiJoin(TableLike)
*/
@Support
SelectOnStep leftSemiJoin(TableLike> table);
/**
* A synthetic LEFT ANTI JOIN
clause that translates to an
* equivalent NOT EXISTS
predicate.
*
* The following two SQL snippets are semantically equivalent:
*
* -- Using LEFT ANTI JOIN
* FROM A
* LEFT ANTI JOIN B
* ON A.ID = B.ID
*
* -- Using WHERE NOT EXISTS
* FROM A
* WHERE NOT EXISTS (
* SELECT 1 FROM B WHERE A.ID = B.ID
* )
*
*
* @see Table#leftAntiJoin(TableLike)
*/
@Support
SelectOnStep leftAntiJoin(TableLike> table);
// -------------------------------------------------------------------------
// XXX: APPLY clauses on tables
// -------------------------------------------------------------------------
/**
* CROSS APPLY
a table to this table.
*
* @see Table#crossApply(TableLike)
*/
@Support({ POSTGRES_9_3 })
SelectJoinStep crossApply(TableLike> table);
/**
* CROSS APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#crossApply(SQL)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep crossApply(SQL sql);
/**
* CROSS APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#crossApply(String)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep crossApply(String sql);
/**
* CROSS APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#crossApply(String, Object...)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep crossApply(String sql, Object... bindings);
/**
* CROSS APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#crossApply(String, QueryPart...)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep crossApply(String sql, QueryPart... parts);
/**
* CROSS APPLY
a table to this table.
*
* @see DSL#table(Name)
* @see Table#crossApply(Name)
*/
@Support({ POSTGRES_9_3 })
SelectJoinStep crossApply(Name name);
/**
* OUTER APPLY
a table to this table.
*
* @see Table#outerApply(TableLike)
*/
@Support({ POSTGRES_9_3 })
SelectJoinStep outerApply(TableLike> table);
/**
* OUTER APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#outerApply(SQL)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep outerApply(SQL sql);
/**
* OUTER APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#outerApply(String)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep outerApply(String sql);
/**
* OUTER APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#outerApply(String, Object...)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep outerApply(String sql, Object... bindings);
/**
* OUTER APPLY
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#outerApply(String, QueryPart...)
* @see SQL
*/
@Support({ POSTGRES_9_3 })
@PlainSQL
SelectJoinStep outerApply(String sql, QueryPart... parts);
/**
* OUTER APPLY
a table to this table.
*
* @see DSL#table(Name)
* @see Table#outerApply(Name)
*/
@Support({ POSTGRES_9_3 })
SelectJoinStep outerApply(Name name);
/**
* STRAIGHT_JOIN
a table to this table.
*
* @see Table#straightJoin(TableLike)
*/
@Support({ MYSQL })
SelectOnStep straightJoin(TableLike> table);
/**
* STRAIGHT_JOIN
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(SQL)
* @see Table#straightJoin(SQL)
*/
@Support({ MYSQL })
@PlainSQL
SelectOnStep straightJoin(SQL sql);
/**
* STRAIGHT_JOIN
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String)
* @see Table#straightJoin(String)
*/
@Support({ MYSQL })
@PlainSQL
SelectOnStep straightJoin(String sql);
/**
* STRAIGHT_JOIN
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, Object...)
* @see DSL#sql(String, Object...)
* @see Table#straightJoin(String, Object...)
*/
@Support({ MYSQL })
@PlainSQL
SelectOnStep straightJoin(String sql, Object... bindings);
/**
* STRAIGHT_JOIN
a table to this table.
*
* NOTE: When inserting plain SQL into jOOQ objects, you must
* guarantee syntax integrity. You may also create the possibility of
* malicious SQL injection. Be sure to properly use bind variables and/or
* escape literals when concatenated into SQL clauses!
*
* @see DSL#table(String, QueryPart...)
* @see DSL#sql(String, QueryPart...)
* @see Table#straightJoin(String, QueryPart...)
*/
@Support({ MYSQL })
@PlainSQL
SelectOnStep straightJoin(String sql, QueryPart... parts);
/**
* STRAIGHT_JOIN
a table to this table.
*
* @see DSL#table(Name)
* @see Table#straightJoin(Name)
*/
@Support({ MYSQL })
SelectOnStep straightJoin(Name name);
}