- All Superinterfaces:
AlterSequenceFinalStep
,Attachable
,AttachableQueryPart
,AutoCloseable
,DDLQuery
,Flow.Publisher<Integer>
,Publisher<Integer>
,org.reactivestreams.Publisher<Integer>
,Query
,QueryPart
,RowCountQuery
,Serializable
,Statement
- All Known Subinterfaces:
AlterSequenceStep<T>
A step in the construction of the Referencing
ALTER SEQUENCE
statement.
Referencing XYZ*Step
types directly from client code
It is usually not recommended to reference any XYZ*Step
types
directly from client code, or assign them to local variables. When writing
dynamic SQL, creating a statement's components dynamically, and passing them
to the DSL API statically is usually a better choice. See the manual's
section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.
Drawbacks of referencing the XYZ*Step
types directly:
- They're operating on mutable implementations (as of jOOQ 3.x)
- They're less composable and not easy to get right when dynamic SQL gets complex
- They're less readable
- They might have binary incompatible changes between minor releases
-
Method Summary
Modifier and TypeMethodDescription@NotNull AlterSequenceFlagsStep<T>
Add theCACHE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theCACHE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
cycle()
Add theCYCLE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
incrementBy
(Field<T> incrementBy) Add theINCREMENT BY
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
incrementBy
(T incrementBy) Add theINCREMENT BY
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theMAXVALUE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theMAXVALUE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theMINVALUE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theMINVALUE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
noCache()
Add theNO CACHE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
noCycle()
Add theNO CYCLE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theNO MAXVALUE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theNO MINVALUE
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
restart()
Add theRESTART
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
restartWith
(Field<T> restartWith) Add theRESTART WITH
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
restartWith
(T restartWith) Add theRESTART WITH
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theSTART WITH
clause to theALTER SEQUENCE
statement.@NotNull AlterSequenceFlagsStep<T>
Add theSTART WITH
clause to theALTER SEQUENCE
statement.Methods inherited from interface org.jooq.Attachable
attach, configuration, detach
Methods inherited from interface org.jooq.AttachableQueryPart
getBindValues, getParam, getParams, getSQL, getSQL
Methods inherited from interface org.reactivestreams.Publisher
subscribe
Methods inherited from interface org.jooq.Query
bind, bind, cancel, close, execute, executeAsync, executeAsync, isExecutable, keepStatement, poolable, queryTimeout
-
Method Details
-
restart
@Support({AURORA_POSTGRES,DB2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,POSTGRES,SQLSERVER2012,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> restart()Add theRESTART
clause to theALTER SEQUENCE
statement. -
restartWith
@Support({AURORA_POSTGRES,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> restartWith(T restartWith) Add theRESTART WITH
clause to theALTER SEQUENCE
statement.- Parameters:
restartWith
- is wrapped asDSL.val(Object)
.
-
restartWith
@Support({AURORA_POSTGRES,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> restartWith(Field<T> restartWith) Add theRESTART WITH
clause to theALTER SEQUENCE
statement. -
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB_10_3,POSTGRES,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> startWith(T startWith) Add theSTART WITH
clause to theALTER SEQUENCE
statement.- Parameters:
startWith
- is wrapped asDSL.val(Object)
.
-
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB_10_3,POSTGRES,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> startWith(Field<T> startWith) Add theSTART WITH
clause to theALTER SEQUENCE
statement. -
incrementBy
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES_10,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> incrementBy(T incrementBy) Add theINCREMENT BY
clause to theALTER SEQUENCE
statement.- Parameters:
incrementBy
- is wrapped asDSL.val(Object)
.
-
incrementBy
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES_10,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> incrementBy(Field<T> incrementBy) Add theINCREMENT BY
clause to theALTER SEQUENCE
statement. -
minvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> minvalue(T minvalue) Add theMINVALUE
clause to theALTER SEQUENCE
statement.- Parameters:
minvalue
- is wrapped asDSL.val(Object)
.
-
minvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> minvalue(Field<T> minvalue) Add theMINVALUE
clause to theALTER SEQUENCE
statement. -
noMinvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> noMinvalue()Add theNO MINVALUE
clause to theALTER SEQUENCE
statement. -
maxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> maxvalue(T maxvalue) Add theMAXVALUE
clause to theALTER SEQUENCE
statement.- Parameters:
maxvalue
- is wrapped asDSL.val(Object)
.
-
maxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> maxvalue(Field<T> maxvalue) Add theMAXVALUE
clause to theALTER SEQUENCE
statement. -
noMaxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> noMaxvalue()Add theNO MAXVALUE
clause to theALTER SEQUENCE
statement. -
cycle
@Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> cycle()Add theCYCLE
clause to theALTER SEQUENCE
statement. -
noCycle
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> noCycle()Add theNO CYCLE
clause to theALTER SEQUENCE
statement. -
cache
@Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> cache(T cache) Add theCACHE
clause to theALTER SEQUENCE
statement.- Parameters:
cache
- is wrapped asDSL.val(Object)
.
-
cache
@Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> cache(Field<T> cache) Add theCACHE
clause to theALTER SEQUENCE
statement. -
noCache
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> noCache()Add theNO CACHE
clause to theALTER SEQUENCE
statement.
-