-
- All Superinterfaces:
AlterSequenceFinalStep,Attachable,AutoCloseable,DDLQuery,Flow.Publisher<Integer>,org.reactivestreams.Publisher<Integer>,Query,QueryPart,RowCountQuery,Serializable,Statement
- All Known Subinterfaces:
AlterSequenceStep<T>
public interface AlterSequenceFlagsStep extends AlterSequenceFinalStep
The step in theALTER SEQUENCEstatement where the flags of the sequence are modified or cleared.Referencing
XYZ*Steptypes directly from client codeIt is usually not recommended to reference any
XYZ*Steptypes 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*Steptypes 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
- Author:
- Knut Wannheden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull AlterSequenceFlagsStepcache(Number value)Add aCACHEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepcache(Field<? extends Number> value)Add aCACHEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepcycle()Add aCYCLEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepincrementBy(Number value)Add aINCREMENT BYclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepincrementBy(Field<? extends Number> value)Add aINCREMENT BYclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepmaxvalue(Number value)Add aMINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepmaxvalue(Field<? extends Number> value)Add aMINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepminvalue(Number value)Add aMINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepminvalue(Field<? extends Number> value)Add aMINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepnoCache()Add aNO CACHEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepnoCycle()Add aNO CYCLEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepnoMaxvalue()Add aNO MINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepnoMinvalue()Add aNO MINVALUEclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsSteprestart()Restart the sequence at its initial value.@NotNull AlterSequenceFlagsSteprestartWith(Number value)Restart the sequence at a given value.@NotNull AlterSequenceFlagsSteprestartWith(Field<? extends Number> value)Restart the sequence at a given value.@NotNull AlterSequenceFlagsStepstartWith(Number value)Add aSTART WITHclause to theALTER SEQUENCEstatement.@NotNull AlterSequenceFlagsStepstartWith(Field<? extends Number> value)Add aSTART WITHclause to theALTER SEQUENCEstatement.-
Methods inherited from interface org.jooq.Attachable
attach, configuration, detach
-
Methods inherited from interface java.util.concurrent.Flow.Publisher
subscribe
-
Methods inherited from interface org.jooq.Query
bind, bind, cancel, close, execute, executeAsync, executeAsync, getBindValues, getParam, getParams, getSQL, getSQL, getSQL, isExecutable, keepStatement, poolable, queryTimeout
-
-
-
-
Method Detail
-
restart
@NotNull @Support({AURORA_POSTGRES,DB2,HANA,HSQLDB,INFORMIX,MARIADB_10_3,POSTGRES,SQLSERVER2012,VERTICA}) @NotNull AlterSequenceFlagsStep restart()
Restart the sequence at its initial value.
-
restartWith
@NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep restartWith(Number value)
Restart the sequence at a given value.
-
restartWith
@NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep restartWith(Field<? extends Number> value)
Restart the sequence at a given value.
-
startWith
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB_10_3,POSTGRES}) @NotNull AlterSequenceFlagsStep startWith(Number value)
Add aSTART WITHclause to theALTER SEQUENCEstatement.
-
startWith
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,MARIADB_10_3,POSTGRES}) @NotNull AlterSequenceFlagsStep startWith(Field<? extends Number> value)
Add aSTART WITHclause to theALTER SEQUENCEstatement.
-
incrementBy
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES_10,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep incrementBy(Number value)
Add aINCREMENT BYclause to theALTER SEQUENCEstatement.
-
incrementBy
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES_10,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep incrementBy(Field<? extends Number> value)
Add aINCREMENT BYclause to theALTER SEQUENCEstatement.
-
minvalue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep minvalue(Number value)
Add aMINVALUEclause to theALTER SEQUENCEstatement.
-
minvalue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep minvalue(Field<? extends Number> value)
Add aMINVALUEclause to theALTER SEQUENCEstatement.
-
noMinvalue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep noMinvalue()
Add aNO MINVALUEclause to theALTER SEQUENCEstatement.
-
maxvalue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep maxvalue(Number value)
Add aMINVALUEclause to theALTER SEQUENCEstatement.
-
maxvalue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep maxvalue(Field<? extends Number> value)
Add aMINVALUEclause to theALTER SEQUENCEstatement.
-
noMaxvalue
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep noMaxvalue()
Add aNO MINVALUEclause to theALTER SEQUENCEstatement.
-
cycle
@NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep cycle()
Add aCYCLEclause to theALTER SEQUENCEstatement.
-
noCycle
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep noCycle()
Add aNO CYCLEclause to theALTER SEQUENCEstatement.
-
cache
@NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep cache(Number value)
Add aCACHEclause to theALTER SEQUENCEstatement.
-
cache
@NotNull @Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep cache(Field<? extends Number> value)
Add aCACHEclause to theALTER SEQUENCEstatement.
-
noCache
@NotNull @Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull AlterSequenceFlagsStep noCache()
Add aNO CACHEclause to theALTER SEQUENCEstatement.
-
-