- All Superinterfaces:
Attachable
,AttachableQueryPart
,AutoCloseable
,CreateSequenceFinalStep
,DDLQuery
,Flow.Publisher<Integer>
,Publisher<Integer>
,org.reactivestreams.Publisher<Integer>
,Query
,QueryPart
,RowCountQuery
,Serializable
,Statement
A step in the construction of the Referencing
CREATE 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 CreateSequenceFlagsStep
Add theCACHE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
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
Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
Add theMINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
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
Add theNO MAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
Add theNO MINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
Add theSTART WITH
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
Add theSTART WITH
clause to theCREATE 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
-
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep startWith(Number startWith) Add theSTART WITH
clause to theCREATE SEQUENCE
statement.- Parameters:
startWith
- is wrapped asDSL.val(Object)
.
-
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @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,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep incrementBy(Number incrementBy) Add theINCREMENT BY
clause to theCREATE SEQUENCE
statement.- Parameters:
incrementBy
- is wrapped asDSL.val(Object)
.
-
incrementBy
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @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,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep minvalue(Number minvalue) Add theMINVALUE
clause to theCREATE SEQUENCE
statement.- Parameters:
minvalue
- is wrapped asDSL.val(Object)
.
-
minvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @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,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @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,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep maxvalue(Number maxvalue) Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.- Parameters:
maxvalue
- is wrapped asDSL.val(Object)
.
-
maxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @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,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @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,YUGABYTEDB}) @NotNull @CheckReturnValue @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,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @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,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep cache(Number cache) Add theCACHE
clause to theCREATE 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 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,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep noCache()Add theNO CACHE
clause to theCREATE SEQUENCE
statement.
-