Package org.jooq
Interface Sequence<T extends java.lang.Number>
-
- All Known Implementing Classes:
SequenceImpl
public interface Sequence<T extends java.lang.Number> extends Named
A sequence.Instances can be created using
DSL.sequence(Name)
and overloads.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Field<T>
currval()
Get the current value of this sequenceCatalog
getCatalog()
Get the sequence catalog.DataType<T>
getDataType()
Get the sequence data typeSchema
getSchema()
Get the sequence schemaField<T>
nextval()
Increment the sequence and get the next value-
Methods inherited from interface org.jooq.Named
getComment, getName, getQualifiedName, getUnqualifiedName
-
-
-
-
Method Detail
-
getCatalog
Catalog getCatalog()
Get the sequence catalog.
-
getSchema
Schema getSchema()
Get the sequence schema
-
currval
@Support({AURORA_POSTGRES,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,ORACLE,POSTGRES,SQLSERVER2012,SYBASE,VERTICA}) Field<T> currval()
Get the current value of this sequence
-
-