Package org.jooq
Interface CreateSequenceFlagsStep
-
- All Superinterfaces:
Attachable
,java.lang.AutoCloseable
,CreateSequenceFinalStep
,DDLQuery
,java.util.concurrent.Flow.Publisher<java.lang.Integer>
,org.reactivestreams.Publisher<java.lang.Integer>
,Query
,QueryPart
,RowCountQuery
,java.io.Serializable
,Statement
public interface CreateSequenceFlagsStep extends CreateSequenceFinalStep
AQuery
that can create sequences.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
- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSequenceFlagsStep
cache(java.lang.Number constant)
Add aCACHE
clause to the sequence definition.CreateSequenceFlagsStep
cache(Field<? extends java.lang.Number> constant)
Add aCACHE
clause to the sequence definition.CreateSequenceFlagsStep
cycle()
Add aCYCLE
clause to the sequence definition.CreateSequenceFlagsStep
incrementBy(java.lang.Number constant)
Add aINCREMENT BY
clause to the sequence definition.CreateSequenceFlagsStep
incrementBy(Field<? extends java.lang.Number> constant)
Add aINCREMENT BY
clause to the sequence definition.CreateSequenceFlagsStep
maxvalue(java.lang.Number constant)
Add aMINVALUE
clause to the sequence definition.CreateSequenceFlagsStep
maxvalue(Field<? extends java.lang.Number> constant)
Add aMINVALUE
clause to the sequence definition.CreateSequenceFlagsStep
minvalue(java.lang.Number constant)
Add aMINVALUE
clause to the sequence definition.CreateSequenceFlagsStep
minvalue(Field<? extends java.lang.Number> constant)
Add aMINVALUE
clause to the sequence definition.CreateSequenceFlagsStep
noCache()
Add aNO CACHE
clause to the sequence definition.CreateSequenceFlagsStep
noCycle()
Add aNO CYCLE
clause to the sequence definition.CreateSequenceFlagsStep
noMaxvalue()
Add aNO MINVALUE
clause to the sequence definition.CreateSequenceFlagsStep
noMinvalue()
Add aNO MINVALUE
clause to the sequence definition.CreateSequenceFlagsStep
startWith(java.lang.Number constant)
Add aSTART WITH
clause to the sequence definition.CreateSequenceFlagsStep
startWith(Field<? extends java.lang.Number> constant)
Add aSTART WITH
clause to the sequence definition.-
Methods inherited from interface org.jooq.Attachable
attach, configuration, detach
-
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({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep startWith(java.lang.Number constant)
Add aSTART WITH
clause to the sequence definition.
-
startWith
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep startWith(Field<? extends java.lang.Number> constant)
Add aSTART WITH
clause to the sequence definition.
-
incrementBy
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep incrementBy(java.lang.Number constant)
Add aINCREMENT BY
clause to the sequence definition.
-
incrementBy
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep incrementBy(Field<? extends java.lang.Number> constant)
Add aINCREMENT BY
clause to the sequence definition.
-
minvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep minvalue(java.lang.Number constant)
Add aMINVALUE
clause to the sequence definition.
-
minvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep minvalue(Field<? extends java.lang.Number> constant)
Add aMINVALUE
clause to the sequence definition.
-
noMinvalue
@Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) CreateSequenceFlagsStep noMinvalue()
Add aNO MINVALUE
clause to the sequence definition.
-
maxvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep maxvalue(java.lang.Number constant)
Add aMINVALUE
clause to the sequence definition.
-
maxvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep maxvalue(Field<? extends java.lang.Number> constant)
Add aMINVALUE
clause to the sequence definition.
-
noMaxvalue
@Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) CreateSequenceFlagsStep noMaxvalue()
Add aNO MINVALUE
clause to the sequence definition.
-
cycle
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep cycle()
Add aCYCLE
clause to the sequence definition.
-
noCycle
@Support({AURORA_POSTGRES,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) CreateSequenceFlagsStep noCycle()
Add aNO CYCLE
clause to the sequence definition.
-
cache
@Support({H2,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep cache(java.lang.Number constant)
Add aCACHE
clause to the sequence definition.
-
cache
@Support({H2,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep cache(Field<? extends java.lang.Number> constant)
Add aCACHE
clause to the sequence definition.
-
-