- All Superinterfaces:
Attachable,AttachableQueryPart,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 CreateSequenceFlagsStepAdd theCACHEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd 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 CreateSequenceFlagsStepAdd theMAXVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd theMAXVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd theMINVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd theMINVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepnoCache()Add theNO CACHEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepnoCycle()Add theNO CYCLEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd theNO MAXVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd theNO MINVALUEclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd theSTART WITHclause to theCREATE SEQUENCEstatement.@NotNull CreateSequenceFlagsStepAdd theSTART WITHclause to theCREATE SEQUENCEstatement.Methods inherited from interface org.jooq.Attachable
attach, configuration, detachMethods inherited from interface org.jooq.AttachableQueryPart
getBindValues, getParam, getParams, getSQL, getSQLMethods inherited from interface org.reactivestreams.Publisher
subscribeMethods 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,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 WITHclause to theCREATE SEQUENCEstatement.- 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 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,SNOWFLAKE,SQLSERVER2012,SYBASE,VERTICA,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep incrementBy(Number incrementBy) Add theINCREMENT BYclause to theCREATE SEQUENCEstatement.- 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 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,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep minvalue(Number minvalue) Add theMINVALUEclause to theCREATE SEQUENCEstatement.- 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 theMINVALUEclause to theCREATE SEQUENCEstatement. -
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 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,YUGABYTEDB}) @NotNull @CheckReturnValue @NotNull CreateSequenceFlagsStep maxvalue(Number maxvalue) Add theMAXVALUEclause to theCREATE SEQUENCEstatement.- 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 theMAXVALUEclause to theCREATE SEQUENCEstatement. -
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 MAXVALUEclause to theCREATE SEQUENCEstatement. -
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 theCYCLEclause to theCREATE SEQUENCEstatement. -
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 CYCLEclause to theCREATE SEQUENCEstatement. -
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 theCACHEclause to theCREATE SEQUENCEstatement.- 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 theCACHEclause to theCREATE SEQUENCEstatement. -
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 CACHEclause to theCREATE SEQUENCEstatement.
-