- All Superinterfaces:
AlterSequenceFinalStep,Attachable,AttachableQueryPart,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 theCACHEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theCACHEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> cycle()Add theCYCLEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> incrementBy(Field<T> incrementBy) Add theINCREMENT BYclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> incrementBy(T incrementBy) Add theINCREMENT BYclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theMAXVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theMAXVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theMINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theMINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> noCache()Add theNO CACHEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> noCycle()Add theNO CYCLEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theNO MAXVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theNO MINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> restart()Add theRESTARTclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> restartWith(Field<T> restartWith) Add theRESTART WITHclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> restartWith(T restartWith) Add theRESTART WITHclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theSTART WITHclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStep<T> Add theSTART WITHclause to theALTER SEQUENCEstatement.Methods inherited from interface org.jooq.Attachable
attach, configuration, detachMethods inherited from interface org.jooq.AttachableQueryPart
getBindValues, getParam, getParams, getSQL, getSQLMethods inherited from interface org.reactivestreams.Publisher
subscribeMethods inherited from interface org.jooq.Query
bind, bind, cancel, execute, executeAsync, executeAsync, isExecutable, keepStatement, poolable, queryTimeout
-
Method Details
-
restart
@Support({AURORA_POSTGRES,DB2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,ORACLE18C,POSTGRES,SQLSERVER2012,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> restart()Add theRESTARTclause to theALTER SEQUENCEstatement. -
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 WITHclause to theALTER SEQUENCEstatement.- 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 WITHclause to theALTER SEQUENCEstatement. -
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,MARIADB_10_3,POSTGRES,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull AlterSequenceFlagsStep<T> startWith(T startWith) Add theSTART WITHclause to theALTER SEQUENCEstatement.- 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 WITHclause to theALTER SEQUENCEstatement. -
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 BYclause to theALTER SEQUENCEstatement.- 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 BYclause to theALTER SEQUENCEstatement. -
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 theMINVALUEclause to theALTER SEQUENCEstatement.- 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 theMINVALUEclause to theALTER SEQUENCEstatement. -
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 MINVALUEclause to theALTER SEQUENCEstatement. -
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 theMAXVALUEclause to theALTER SEQUENCEstatement.- 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 theMAXVALUEclause to theALTER SEQUENCEstatement. -
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 MAXVALUEclause to theALTER SEQUENCEstatement. -
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 theCYCLEclause to theALTER SEQUENCEstatement. -
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 CYCLEclause to theALTER SEQUENCEstatement. -
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 theCACHEclause to theALTER SEQUENCEstatement.- 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 theCACHEclause to theALTER SEQUENCEstatement. -
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 CACHEclause to theALTER SEQUENCEstatement.
-