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
AQuerythat can create sequences.Referencing
XYZ*Steptypes directly from client codeIt is usually not recommended to reference any
XYZ*Steptypes 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*Steptypes 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 CreateSequenceFlagsStepcache(java.lang.Number constant)Add aCACHEclause to the sequence definition.CreateSequenceFlagsStepcache(Field<? extends java.lang.Number> constant)Add aCACHEclause to the sequence definition.CreateSequenceFlagsStepcycle()Add aCYCLEclause to the sequence definition.CreateSequenceFlagsStepincrementBy(java.lang.Number constant)Add aINCREMENT BYclause to the sequence definition.CreateSequenceFlagsStepincrementBy(Field<? extends java.lang.Number> constant)Add aINCREMENT BYclause to the sequence definition.CreateSequenceFlagsStepmaxvalue(java.lang.Number constant)Add aMINVALUEclause to the sequence definition.CreateSequenceFlagsStepmaxvalue(Field<? extends java.lang.Number> constant)Add aMINVALUEclause to the sequence definition.CreateSequenceFlagsStepminvalue(java.lang.Number constant)Add aMINVALUEclause to the sequence definition.CreateSequenceFlagsStepminvalue(Field<? extends java.lang.Number> constant)Add aMINVALUEclause to the sequence definition.CreateSequenceFlagsStepnoCache()Add aNO CACHEclause to the sequence definition.CreateSequenceFlagsStepnoCycle()Add aNO CYCLEclause to the sequence definition.CreateSequenceFlagsStepnoMaxvalue()Add aNO MINVALUEclause to the sequence definition.CreateSequenceFlagsStepnoMinvalue()Add aNO MINVALUEclause to the sequence definition.CreateSequenceFlagsStepstartWith(java.lang.Number constant)Add aSTART WITHclause to the sequence definition.CreateSequenceFlagsStepstartWith(Field<? extends java.lang.Number> constant)Add aSTART WITHclause 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 WITHclause to the sequence definition.
-
startWith
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep startWith(Field<? extends java.lang.Number> constant)
Add aSTART WITHclause to the sequence definition.
-
incrementBy
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep incrementBy(java.lang.Number constant)
Add aINCREMENT BYclause to the sequence definition.
-
incrementBy
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep incrementBy(Field<? extends java.lang.Number> constant)
Add aINCREMENT BYclause to the sequence definition.
-
minvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep minvalue(java.lang.Number constant)
Add aMINVALUEclause to the sequence definition.
-
minvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep minvalue(Field<? extends java.lang.Number> constant)
Add aMINVALUEclause 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 MINVALUEclause to the sequence definition.
-
maxvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep maxvalue(java.lang.Number constant)
Add aMINVALUEclause to the sequence definition.
-
maxvalue
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep maxvalue(Field<? extends java.lang.Number> constant)
Add aMINVALUEclause 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 MINVALUEclause to the sequence definition.
-
cycle
@Support({DERBY,H2,HSQLDB,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep cycle()
Add aCYCLEclause 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 CYCLEclause to the sequence definition.
-
cache
@Support({H2,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep cache(java.lang.Number constant)
Add aCACHEclause to the sequence definition.
-
cache
@Support({H2,INFORMIX,ORACLE,POSTGRES,SQLSERVER2012,VERTICA}) CreateSequenceFlagsStep cache(Field<? extends java.lang.Number> constant)
Add aCACHEclause to the sequence definition.
-
-