- All Superinterfaces:
Attachable
,AttachableQueryPart
,CreateSequenceFinalStep
,DDLQuery
,Flow.Publisher<Integer>
,Publisher<Integer>
,org.reactivestreams.Publisher<Integer>
,Query
,QueryPart
,RowCountQuery
,Serializable
,Statement
- All Known Subinterfaces:
CreateSequenceAsStep<T>
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
<T> Add theCACHE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theCACHE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> cycle()
Add theCYCLE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> incrementBy
(Field<T> incrementBy) Add theINCREMENT BY
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> incrementBy
(T incrementBy) Add theINCREMENT BY
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theMINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theMINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> noCache()
Add theNO CACHE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> noCycle()
Add theNO CYCLE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theNO MAXVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theNO MINVALUE
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> Add theSTART WITH
clause to theCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
<T> 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, execute, executeAsync, executeAsync, isExecutable, keepStatement, poolable, queryTimeout
-
Method Details
-
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> startWith(T startWith) Add theSTART WITH
clause to theCREATE SEQUENCE
statement.- Parameters:
startWith
- is wrapped asDSL.val(Object)
.
-
startWith
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> startWith(Field<T> startWith) Add theSTART WITH
clause to theCREATE SEQUENCE
statement. -
incrementBy
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> incrementBy(T incrementBy) Add theINCREMENT BY
clause to theCREATE SEQUENCE
statement.- Parameters:
incrementBy
- is wrapped asDSL.val(Object)
.
-
incrementBy
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD_3_0,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> incrementBy(Field<T> incrementBy) Add theINCREMENT BY
clause to theCREATE SEQUENCE
statement. -
minvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> minvalue(T minvalue) Add theMINVALUE
clause to theCREATE SEQUENCE
statement.- Parameters:
minvalue
- is wrapped asDSL.val(Object)
.
-
minvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> minvalue(Field<T> minvalue) Add theMINVALUE
clause to theCREATE SEQUENCE
statement. -
noMinvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> noMinvalue()Add theNO MINVALUE
clause to theCREATE SEQUENCE
statement. -
maxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> maxvalue(T maxvalue) Add theMAXVALUE
clause to theCREATE SEQUENCE
statement.- Parameters:
maxvalue
- is wrapped asDSL.val(Object)
.
-
maxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> maxvalue(Field<T> maxvalue) Add theMAXVALUE
clause to theCREATE SEQUENCE
statement. -
noMaxvalue
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> noMaxvalue()Add theNO MAXVALUE
clause to theCREATE SEQUENCE
statement. -
cycle
@Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,DUCKDB,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> cycle()Add theCYCLE
clause to theCREATE SEQUENCE
statement. -
noCycle
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> 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<T> cache(T 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<T> cache(Field<T> cache) Add theCACHE
clause to theCREATE SEQUENCE
statement. -
noCache
@Support({AURORA_POSTGRES,COCKROACHDB,CUBRID,DB2,DERBY,DUCKDB,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB_10_3,ORACLE,POSTGRES,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep<T> noCache()Add theNO CACHE
clause to theCREATE SEQUENCE
statement.
-