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(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 |
---|---|
List<Sequence<?>> |
Schema.getSequences()
List all sequences contained in this schema.
|
List<Sequence<?>> |
Meta.getSequences()
Get all sequence objects from the underlying meta data source.
|
List<Sequence<?>> |
Meta.getSequences(Name name)
Get all sequence objects by name from the underlying meta data source.
|
List<Sequence<?>> |
Meta.getSequences(String name)
Get all sequence objects by name from the underlying meta data source.
|
Stream<Sequence<?>> |
Schema.sequenceStream()
Stream all sequences contained in this schema.
|
Modifier and Type | Method and Description |
---|---|
<T extends Number> |
DSLContext.alterSequence(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
<T extends Number> |
DSLContext.alterSequenceIfExists(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
CreateSequenceFinalStep |
DSLContext.createSequence(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
DSLContext.createSequenceIfNotExists(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE statement. |
<T extends 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 Number> |
DSLContext.nextval(Sequence<T> sequence)
Convenience method to fetch the NEXTVAL for a sequence directly from this
DSLContext 's underlying JDBC Connection . |
AlterSequenceFinalStep |
AlterSequenceStep.renameTo(Sequence<?> newName)
Add a
RENAME TO clause to the ALTER SEQUENCE
statement. |
Modifier and Type | Class and Description |
---|---|
class |
SequenceImpl<T extends Number>
A common base class for sequences
This type is for JOOQ INTERNAL USE only.
|
Modifier and Type | Method and Description |
---|---|
Sequence<?> |
SchemaImpl.getSequence(String sequenceName) |
static Sequence<BigInteger> |
DSL.sequence(Name name)
Create a qualified sequence, given its sequence name.
|
static <T extends Number> |
DSL.sequence(Name name,
Class<T> type)
Create a qualified sequence, given its sequence name.
|
static <T extends Number> |
DSL.sequence(Name name,
DataType<T> type)
Create a qualified sequence, given its sequence name.
|
static Sequence<BigInteger> |
DSL.sequence(String sql)
Deprecated.
- 3.10 - [#6162] - Use
DSL.sequence(Name) instead. |
static <T extends Number> |
DSL.sequence(String sql,
Class<T> type)
Deprecated.
- 3.10 - [#6162] - Use
DSL.sequence(Name, Class) instead. |
static <T extends Number> |
DSL.sequence(String sql,
DataType<T> type)
Deprecated.
- 3.10 - [#6162] - Use
DSL.sequence(Name, DataType)
instead. |
static <T extends Number> |
DSL.sequenceByName(Class<T> type,
String... qualifiedName)
Deprecated.
- [#3843] - 3.6.0 - use
DSL.sequence(Name, Class) instead |
static <T extends Number> |
DSL.sequenceByName(DataType<T> type,
String... qualifiedName)
Deprecated.
- [#3843] - 3.6.0 - use
DSL.sequence(Name, DataType) instead |
static Sequence<BigInteger> |
DSL.sequenceByName(String... qualifiedName)
Deprecated.
- [#3843] - 3.6.0 - use
DSL.sequence(Name) instead |
Modifier and Type | Method and Description |
---|---|
List<Sequence<?>> |
SchemaImpl.getSequences()
List all sequences contained in this schema.
|
Stream<Sequence<?>> |
SchemaImpl.sequenceStream() |
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
DSL.alterSequence(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
<T extends Number> |
DefaultDSLContext.alterSequence(Sequence<T> sequence) |
static <T extends Number> |
DSL.alterSequenceIfExists(Sequence<T> sequence)
Create a new DSL
ALTER SEQUENCE statement. |
<T extends Number> |
DefaultDSLContext.alterSequenceIfExists(Sequence<T> sequence) |
static CreateSequenceFinalStep |
DSL.createSequence(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE statement. |
CreateSequenceFinalStep |
DefaultDSLContext.createSequence(Sequence<?> sequence) |
static CreateSequenceFinalStep |
DSL.createSequenceIfNotExists(Sequence<?> sequence)
Create a new DSL
CREATE SEQUENCE IF NOT EXISTS statement. |
CreateSequenceFinalStep |
DefaultDSLContext.createSequenceIfNotExists(Sequence<?> sequence) |
<T extends Number> |
DefaultDSLContext.currval(Sequence<T> sequence) |
DropSequenceFinalStep |
DefaultDSLContext.dropSequence(Sequence<?> sequence) |
static <T extends Number> |
DSL.dropSequence(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE statement. |
DropSequenceFinalStep |
DefaultDSLContext.dropSequenceIfExists(Sequence<?> sequence) |
static <T extends Number> |
DSL.dropSequenceIfExists(Sequence<?> sequence)
Create a new DSL
DROP SEQUENCE IF EXISTS statement. |
<T extends Number> |
DefaultDSLContext.nextval(Sequence<T> sequence) |
Copyright © 2019. All rights reserved.