Package | Description |
---|---|
org.jooq |
The
org.jooq package contains jOOQ's public API. |
org.jooq.impl |
The
org.jooq.impl package contains jOOQ's implementation classes. |
Modifier and Type | Method and Description |
---|---|
Sequence<?> |
Schema.getSequence(java.lang.String name)
Get a sequence by its name (case-sensitive) in this schema, or
null if no such sequence exists |
Modifier and Type | Method and Description |
---|---|
java.util.List<Sequence<?>> |
Schema.getSequences()
List all sequences contained in this schema
|
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.Number> |
DSLContext.alterSequence(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
CreateSequenceFinalStep |
DSLContext.createSequence(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE statement. |
<T extends java.lang.Number> |
DSLContext.currval(Sequence<T> sequence)
Convenience method to fetch the CURRVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
DropSequenceFinalStep |
DSLContext.dropSequence(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE statement. |
DropSequenceFinalStep |
DSLContext.dropSequenceIfExists(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE IF EXISTS statement. |
<T extends java.lang.Number> |
DSLContext.nextval(Sequence<T> sequence)
Convenience method to fetch the NEXTVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
Modifier and Type | Class and Description |
---|---|
class |
SequenceImpl<T extends java.lang.Number>
A common base class for sequences
This type is for JOOQ INTERNAL USE only.
|
Modifier and Type | Method and Description |
---|---|
Sequence<?> |
SchemaImpl.getSequence(java.lang.String name) |
static Sequence<java.math.BigInteger> |
DSL.sequence(java.lang.String sql)
Create a "plain SQL" sequence.
|
static <T extends java.lang.Number> |
DSL.sequence(java.lang.String sql,
java.lang.Class<T> type)
Create a "plain SQL" sequence.
|
static <T extends java.lang.Number> |
DSL.sequence(java.lang.String sql,
DataType<T> type)
Create a "plain SQL" sequence.
|
static <T extends java.lang.Number> |
DSL.sequenceByName(java.lang.Class<T> type,
java.lang.String... qualifiedName)
Create a qualified sequence, given its sequence name.
|
static <T extends java.lang.Number> |
DSL.sequenceByName(DataType<T> type,
java.lang.String... qualifiedName)
Create a qualified sequence, given its sequence name.
|
static Sequence<java.math.BigInteger> |
DSL.sequenceByName(java.lang.String... qualifiedName)
Create a qualified sequence, given its sequence name.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Sequence<?>> |
SchemaImpl.getSequences()
List all sequences contained in this schema
|
Modifier and Type | Method and Description |
---|---|
static <T extends java.lang.Number> |
DSL.alterSequence(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
<T extends java.lang.Number> |
DefaultDSLContext.alterSequence(Sequence<T> sequence) |
static CreateSequenceFinalStep |
DSL.createSequence(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
DefaultDSLContext.createSequence(Sequence<?> sequence) |
<T extends java.lang.Number> |
DefaultDSLContext.currval(Sequence<T> sequence) |
DropSequenceFinalStep |
DefaultDSLContext.dropSequence(Sequence<?> sequence) |
static <T extends java.lang.Number> |
DSL.dropSequence(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE statement. |
DropSequenceFinalStep |
DefaultDSLContext.dropSequenceIfExists(Sequence<?> sequence) |
static <T extends java.lang.Number> |
DSL.dropSequenceIfExists(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE IF EXISTS statement. |
<T extends java.lang.Number> |
DefaultDSLContext.nextval(Sequence<T> sequence) |
Copyright © 2014. All Rights Reserved.