[jOOQ/jOOQ#6920] Update API with Vertica Support annotations

This commit is contained in:
Lukas Eder 2019-05-28 17:56:36 +02:00
parent 8b4e41dacf
commit 3bb2fef32d
7 changed files with 13 additions and 0 deletions

View File

@ -57,6 +57,7 @@ import static org.jooq.SQLDialect.POSTGRES;
import static org.jooq.SQLDialect.SQLITE;
// ...
// ...
// ...
/**
* The step in the <code>ALTER TABLE</code> DSL used to <code>ALTER</code>

View File

@ -45,6 +45,7 @@ import static org.jooq.SQLDialect.HSQLDB;
// ...
import static org.jooq.SQLDialect.POSTGRES;
// ...
// ...
import org.jooq.impl.DSL;

View File

@ -8461,6 +8461,7 @@ public interface DSLContext extends Scope , AutoCloseable {
* Set the current schema to a new value.
*
* @see DSL#schema(Name)
* @see DSL#setSchema(String)
*/
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
Query setSchema(String schema);
@ -8469,12 +8470,15 @@ public interface DSLContext extends Scope , AutoCloseable {
* Set the current schema to a new value.
*
* @see DSL#schema(Name)
* @see DSL#setSchema(Name)
*/
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
Query setSchema(Name schema);
/**
* Set the current schema to a new value.
*
* @see DSL#setSchema(Schema)
*/
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
Query setSchema(Schema schema);

View File

@ -40,6 +40,7 @@ package org.jooq;
// ...
import static org.jooq.SQLDialect.HSQLDB;
import static org.jooq.SQLDialect.POSTGRES;
// ...
/**
* The step in the <code>DROP SCHEMA</code> DSL used to specify

View File

@ -40,6 +40,7 @@ package org.jooq.impl;
// ...
import static org.jooq.SQLDialect.POSTGRES;
// ...
// ...
import static org.jooq.impl.DSL.comment;
import static org.jooq.impl.DSL.inline;
import static org.jooq.impl.Keywords.K_ALTER_TABLE;

View File

@ -6529,6 +6529,7 @@ public class DSL {
* Set the current schema to a new value.
*
* @see DSL#schema(Name)
* @see DSLContext#setSchema(String)
*/
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
public static Query setSchema(String schema) {
@ -6539,6 +6540,7 @@ public class DSL {
* Set the current schema to a new value.
*
* @see DSL#schema(Name)
* @see DSLContext#setSchema(Name)
*/
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
public static Query setSchema(Name schema) {
@ -6547,6 +6549,8 @@ public class DSL {
/**
* Set the current schema to a new value.
*
* @see DSLContext#setSchema(Schema)
*/
@Support({ DERBY, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
public static Query setSchema(Schema schema) {

View File

@ -83,6 +83,7 @@ final class SetSchema extends AbstractRowCountQuery {
case POSTGRES:
ctx.visit(K_SET).sql(' ').visit(K_SEARCH_PATH).sql(" = ").visit(schema);
break;