-
- All Superinterfaces:
Attachable,AutoCloseable,CreateSequenceFinalStep,DDLQuery,Flow.Publisher<Integer>,org.reactivestreams.Publisher<Integer>,Query,QueryPart,RowCountQuery,Serializable,Statement
public interface CreateSequenceFlagsStep extends CreateSequenceFinalStep
A step in the construction of theCREATE SEQUENCEstatement.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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull CreateSequenceFlagsStepcache(Number cache)Add theCACHEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepcache(Field<? extends Number> cache)Add theCACHEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepcycle()Add theCYCLEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepincrementBy(Number incrementBy)Add theINCREMENT BYclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepincrementBy(Field<? extends Number> incrementBy)Add theINCREMENT BYclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepmaxvalue(Number maxvalue)Add theMAXVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepmaxvalue(Field<? extends Number> maxvalue)Add theMAXVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepminvalue(Number minvalue)Add theMINVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepminvalue(Field<? extends Number> minvalue)Add theMINVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepnoCache()Add theNO CACHEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepnoCycle()Add theNO CYCLEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepnoMaxvalue()Add theNO MAXVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepnoMinvalue()Add theNO MINVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepstartWith(Number startWith)Add theSTART WITHclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepstartWith(Field<? extends Number> startWith)Add theSTART WITHclause to theCREATE 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
-
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep startWith(Number startWith)
Add theSTART WITHclause to theCREATE SEQUENCEstatement.
-
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep startWith(Field<? extends Number> startWith)
Add theSTART WITHclause to theCREATE SEQUENCEstatement.
-
incrementBy
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep incrementBy(Number incrementBy)
Add theINCREMENT BYclause to theCREATE SEQUENCEstatement.
-
incrementBy
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep incrementBy(Field<? extends Number> incrementBy)
Add theINCREMENT BYclause to theCREATE SEQUENCEstatement.
-
minvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep minvalue(Number minvalue)
Add theMINVALUEclause to theCREATE SEQUENCEstatement.
-
minvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep minvalue(Field<? extends Number> minvalue)
Add theMINVALUEclause to theCREATE SEQUENCEstatement.
-
noMinvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep noMinvalue()
Add theNO MINVALUEclause to theCREATE SEQUENCEstatement.
-
maxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep maxvalue(Number maxvalue)
Add theMAXVALUEclause to theCREATE SEQUENCEstatement.
-
maxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep maxvalue(Field<? extends Number> maxvalue)
Add theMAXVALUEclause to theCREATE SEQUENCEstatement.
-
noMaxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep noMaxvalue()
Add theNO MAXVALUEclause to theCREATE SEQUENCEstatement.
-
cycle
@Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep cycle()
Add theCYCLEclause to theCREATE SEQUENCEstatement.
-
noCycle
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep noCycle()
Add theNO CYCLEclause to theCREATE SEQUENCEstatement.
-
cache
@Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep cache(Number cache)
Add theCACHEclause to theCREATE SEQUENCEstatement.
-
cache
@Support({AURORA_POSTGRES,CUBRID,DB2,H2,HANA,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep cache(Field<? extends Number> cache)
Add theCACHEclause to theCREATE SEQUENCEstatement.
-
noCache
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) @NotNull @NotNull CreateSequenceFlagsStep noCache()
Add theNO CACHEclause to theCREATE SEQUENCEstatement.
-
-