org.jooq
Interface Sequence<T extends Number>

All Superinterfaces:
Serializable
All Known Implementing Classes:
SequenceImpl

public interface Sequence<T extends Number>
extends Serializable

A type representing sequences in databases that support this.

Author:
Lukas Eder

Method Summary
 Field<T> currval()
          Get the current value of this sequence
 DataType<T> getDataType()
          Get the sequence data type
 String getName()
          Get the sequence name
 Schema getSchema()
          Get the sequence schema
 Field<T> nextval()
          Increment the sequence and get the next value
 

Method Detail

getName

String getName()
Get the sequence name


getSchema

Schema getSchema()
Get the sequence schema


getDataType

DataType<T> getDataType()
Get the sequence data type


currval

Field<T> currval()
Get the current value of this sequence


nextval

Field<T> nextval()
Increment the sequence and get the next value



Copyright © 2012. All Rights Reserved.