-
- 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 SEQUENCE
statement.Referencing
XYZ*Step
types directly from client codeIt 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull CreateSequenceFlagsStep
cache(Number cache)
Add theCACHE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
cache(Field<? extends Number> cache)
Add theCACHE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
cycle()
Add theCYCLE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
incrementBy(Number incrementBy)
Add theINCREMENT BY
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
incrementBy(Field<? extends Number> incrementBy)
Add theINCREMENT BY
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
maxvalue(Number maxvalue)
Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
maxvalue(Field<? extends Number> maxvalue)
Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
minvalue(Number minvalue)
Add theMINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
minvalue(Field<? extends Number> minvalue)
Add theMINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
noCache()
Add theNO CACHE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
noCycle()
Add theNO CYCLE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
noMaxvalue()
Add theNO MAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
noMinvalue()
Add theNO MINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
startWith(Number startWith)
Add theSTART WITH
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
startWith(Field<? extends Number> startWith)
Add theSTART WITH
clause to theCREATE SEQUENCE
statement.-
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 WITH
clause to theCREATE SEQUENCE
statement.
-
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 WITH
clause to theCREATE SEQUENCE
statement.
-
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 BY
clause to theCREATE SEQUENCE
statement.
-
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 BY
clause to theCREATE SEQUENCE
statement.
-
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 theMINVALUE
clause to theCREATE SEQUENCE
statement.
-
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 theMINVALUE
clause to theCREATE SEQUENCE
statement.
-
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 MINVALUE
clause to theCREATE SEQUENCE
statement.
-
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 theMAXVALUE
clause to theCREATE SEQUENCE
statement.
-
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 theMAXVALUE
clause to theCREATE SEQUENCE
statement.
-
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 MAXVALUE
clause to theCREATE SEQUENCE
statement.
-
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 theCYCLE
clause to theCREATE SEQUENCE
statement.
-
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 CYCLE
clause to theCREATE SEQUENCE
statement.
-
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 theCACHE
clause to theCREATE SEQUENCE
statement.
-
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 theCACHE
clause to theCREATE SEQUENCE
statement.
-
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 CACHE
clause to theCREATE SEQUENCE
statement.
-
-