[#5085] Added H2 annotation
This commit is contained in:
parent
56e93ff020
commit
cedf0b4f53
@ -40,6 +40,7 @@
|
||||
*/
|
||||
package org.jooq;
|
||||
|
||||
import static org.jooq.SQLDialect.H2;
|
||||
import static org.jooq.SQLDialect.POSTGRES;
|
||||
|
||||
/**
|
||||
@ -53,13 +54,13 @@ public interface AlterIndexStep {
|
||||
* Add a <code>RENAME TO</code> clause to the <code>ALTER INDEX</code>
|
||||
* statement.
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
AlterIndexFinalStep renameTo(Name newName);
|
||||
|
||||
/**
|
||||
* Add a <code>RENAME TO</code> clause to the <code>ALTER INDEX</code>
|
||||
* statement.
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
AlterIndexFinalStep renameTo(String newName);
|
||||
}
|
||||
|
||||
@ -7873,7 +7873,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#alterIndex(String)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
AlterIndexStep alterIndex(String index);
|
||||
|
||||
/**
|
||||
@ -7881,7 +7881,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#alterIndex(Name)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
AlterIndexStep alterIndex(Name index);
|
||||
|
||||
/**
|
||||
@ -7889,7 +7889,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#alterIndexIfExists(String)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
AlterIndexStep alterIndexIfExists(String index);
|
||||
|
||||
/**
|
||||
@ -7897,7 +7897,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
*
|
||||
* @see DSL#alterIndexIfExists(Name)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
AlterIndexStep alterIndexIfExists(Name index);
|
||||
|
||||
/**
|
||||
|
||||
@ -6091,7 +6091,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#alterIndex(String)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
public static AlterIndexStep alterIndex(String index) {
|
||||
return using(new DefaultConfiguration()).alterIndex(index);
|
||||
}
|
||||
@ -6101,7 +6101,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#alterIndex(Name)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
public static AlterIndexStep alterIndex(Name index) {
|
||||
return using(new DefaultConfiguration()).alterIndex(index);
|
||||
}
|
||||
@ -6111,7 +6111,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#alterIndexIfExists(String)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
public static AlterIndexStep alterIndexIfExists(String index) {
|
||||
return using(new DefaultConfiguration()).alterIndexIfExists(index);
|
||||
}
|
||||
@ -6121,7 +6121,7 @@ public class DSL {
|
||||
*
|
||||
* @see DSLContext#alterIndexIfExists(Name)
|
||||
*/
|
||||
@Support({ POSTGRES })
|
||||
@Support({ H2, POSTGRES })
|
||||
public static AlterIndexStep alterIndexIfExists(Name index) {
|
||||
return using(new DefaultConfiguration()).alterIndexIfExists(index);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user