[jOOQ/jOOQ#6920] Update API with Vertica Support annotations
This commit is contained in:
parent
8b4e41dacf
commit
3bb2fef32d
@ -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>
|
||||
|
||||
@ -45,6 +45,7 @@ import static org.jooq.SQLDialect.HSQLDB;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.POSTGRES;
|
||||
// ...
|
||||
// ...
|
||||
|
||||
import org.jooq.impl.DSL;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -83,6 +83,7 @@ final class SetSchema extends AbstractRowCountQuery {
|
||||
|
||||
|
||||
|
||||
|
||||
case POSTGRES:
|
||||
ctx.visit(K_SET).sql(' ').visit(K_SEARCH_PATH).sql(" = ").visit(schema);
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user