public interface Sequence<T extends Number> extends Named, Typed<T>
Instances can be created using DSL.sequence(Name)
and overloads.
Modifier and Type | Method and Description |
---|---|
Field<T> |
currval()
Get the current value of this sequence
|
Field<T> |
getCache()
Get the number of sequence values to cache for this sequence or
null , if no such value is specified. |
Catalog |
getCatalog()
Get the sequence catalog.
|
boolean |
getCycle()
|
Field<T> |
getIncrementBy()
Get the increment for this sequence or
null , if no such
value is specified. |
Field<T> |
getMaxvalue()
Get the maximum value for this sequence or
null , if no such
value is specified. |
Field<T> |
getMinvalue()
Get the minimum value for this sequence or
null , if no such
value is specified. |
Schema |
getSchema()
Get the sequence schema.
|
Field<T> |
getStartWith()
Get the start value for this sequence or
null , if no such
value is specified. |
Field<T> |
nextval()
Increment the sequence and get the next value
|
getComment, getName, getQualifiedName, getUnqualifiedName
getBinding, getConverter, getDataType, getDataType, getType
Catalog getCatalog()
Schema getSchema()
Field<T> getStartWith()
null
, if no such
value is specified.Field<T> getIncrementBy()
null
, if no such
value is specified.Field<T> getMinvalue()
null
, if no such
value is specified.Field<T> getMaxvalue()
null
, if no such
value is specified.boolean getCycle()
Field<T> getCache()
null
, if no such value is specified.@Support(value={CUBRID,FIREBIRD,H2,HSQLDB,MARIADB,POSTGRES}) Field<T> currval()
Copyright © 2020. All rights reserved.