Uses of Interface
org.jooq.Sequence
-
Packages that use Sequence Package Description org.jooq This package contains jOOQ's public API.org.jooq.impl This package contains jOOQ's implementation classes. -
-
Uses of Sequence in org.jooq
Methods in org.jooq that return Sequence Modifier and Type Method Description @Nullable Sequence<?>
Schema. getSequence(String name)
Get a sequence by its name (case-sensitive) in this schema, ornull
if no such sequence exists.@Nullable Sequence<?>
Schema. getSequence(Name name)
Get a sequence by its qualified or unqualified name in this schema, ornull
if no such sequence exists.Methods in org.jooq that return types with arguments of type Sequence Modifier and Type Method Description @NotNull List<Sequence<?>>
Meta. getSequences()
Get all sequence objects from the underlying meta data source.@NotNull List<Sequence<?>>
Meta. getSequences(String name)
Get all sequence objects by name from the underlying meta data source.@NotNull List<Sequence<?>>
Meta. getSequences(Name name)
Get all sequence objects by name from the underlying meta data source.@NotNull List<Sequence<?>>
Schema. getSequences()
List all sequences contained in this schema.@NotNull Stream<Sequence<?>>
Schema. sequenceStream()
Stream all sequences contained in this schema.Methods in org.jooq with parameters of type Sequence Modifier and Type Method Description <T extends Number>
@NotNull AlterSequenceStep<T>DSLContext. alterSequence(Sequence<T> sequence)
Create a new DSLALTER SEQUENCE
statement.<T extends Number>
@NotNull AlterSequenceStep<T>DSLContext. alterSequenceIfExists(Sequence<T> sequence)
Create a new DSLALTER SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
DSLContext. createSequence(Sequence<?> sequence)
TheCREATE SEQUENCE
statement.@NotNull CreateSequenceFlagsStep
DSLContext. createSequenceIfNotExists(Sequence<?> sequence)
TheCREATE SEQUENCE IF NOT EXISTS
statement.<T extends Number>
TDSLContext. currval(Sequence<T> sequence)
Convenience method to fetch the CURRVAL for a sequence directly from thisDSLContext
's underlying JDBCConnection
.@NotNull DropSequenceFinalStep
DSLContext. dropSequence(Sequence<?> sequence)
TheDROP SEQUENCE
statement.@NotNull DropSequenceFinalStep
DSLContext. dropSequenceIfExists(Sequence<?> sequence)
TheDROP SEQUENCE IF EXISTS
statement.<T extends Number>
TDSLContext. nextval(Sequence<T> sequence)
Convenience method to fetch the NEXTVAL for a sequence directly from thisDSLContext
's underlying JDBCConnection
.<T extends Number>
@NotNull List<T>DSLContext. nextvals(Sequence<T> sequence, int size)
Convenience method to fetch several NEXTVAL for a sequence directly from thisDSLContext
's underlying JDBCConnection
.@NotNull AlterSequenceFinalStep
AlterSequenceStep. renameTo(Sequence<?> newName)
Add aRENAME TO
clause to theALTER SEQUENCE
statement.Method parameters in org.jooq with type arguments of type Sequence Modifier and Type Method Description @NotNull Meta
Meta. filterSequences(Meta.Predicate<? super Sequence<?>> filter)
Create a wrapperMeta
instance filtering out some sequences. -
Uses of Sequence in org.jooq.impl
Classes in org.jooq.impl that implement Sequence Modifier and Type Class Description class
SequenceImpl<T extends Number>
A common base class for sequencesMethods in org.jooq.impl that return Sequence Modifier and Type Method Description static <T extends Number>
@NotNull Sequence<T>Internal. createSequence(String name, Schema schema, DataType<T> type)
Factory method for sequences.static <T extends Number>
@NotNull Sequence<T>Internal. createSequence(String name, Schema schema, DataType<T> type, Number startWith, Number incrementBy, Number minvalue, Number maxvalue, boolean cycle, Number cache)
Factory method for sequences.Sequence<?>
LazySchema. getSequence(String name)
Sequence<?>
LazySchema. getSequence(Name name)
Sequence<?>
SchemaImpl. getSequence(String name)
Sequence<?>
SchemaImpl. getSequence(Name name)
static @NotNull Sequence<BigInteger>
DSL. sequence(String sql)
Deprecated.- 3.10 - [#6162] - UseDSL.sequence(Name)
instead.static <T extends Number>
@NotNull Sequence<T>DSL. sequence(String sql, Class<T> type)
Deprecated.- 3.10 - [#6162] - UseDSL.sequence(Name, Class)
instead.static <T extends Number>
@NotNull Sequence<T>DSL. sequence(String sql, DataType<T> type)
Deprecated.- 3.10 - [#6162] - UseDSL.sequence(Name, DataType)
instead.static @NotNull Sequence<BigInteger>
DSL. sequence(Name name)
Create a qualified sequence, given its sequence name.static <T extends Number>
@NotNull Sequence<T>DSL. sequence(Name name, Class<T> type)
Create a qualified sequence, given its sequence name.static <T extends Number>
@NotNull Sequence<T>DSL. sequence(Name name, DataType<T> type)
Create a qualified sequence, given its sequence name.static <T extends Number>
@NotNull Sequence<T>DSL. sequenceByName(Class<T> type, String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - useDSL.sequence(Name, Class)
insteadstatic @NotNull Sequence<BigInteger>
DSL. sequenceByName(String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - useDSL.sequence(Name)
insteadstatic <T extends Number>
@NotNull Sequence<T>DSL. sequenceByName(DataType<T> type, String... qualifiedName)
Deprecated.- [#3843] - 3.6.0 - useDSL.sequence(Name, DataType)
insteadMethods in org.jooq.impl that return types with arguments of type Sequence Modifier and Type Method Description List<Sequence<?>>
LazySchema. getSequences()
List<Sequence<?>>
SchemaImpl. getSequences()
List all sequences contained in this schema.Stream<Sequence<?>>
LazySchema. sequenceStream()
Stream<Sequence<?>>
SchemaImpl. sequenceStream()
Methods in org.jooq.impl with parameters of type Sequence Modifier and Type Method Description <T extends Number>
AlterSequenceStep<T>DefaultDSLContext. alterSequence(Sequence<T> sequence)
static <T extends Number>
@NotNull AlterSequenceStep<T>DSL. alterSequence(Sequence<T> sequence)
Create a new DSLALTER SEQUENCE
statement.<T extends Number>
AlterSequenceStep<T>DefaultDSLContext. alterSequenceIfExists(Sequence<T> sequence)
static <T extends Number>
@NotNull AlterSequenceStep<T>DSL. alterSequenceIfExists(Sequence<T> sequence)
Create a new DSLALTER SEQUENCE
statement.CreateSequenceFlagsStep
DefaultDSLContext. createSequence(Sequence<?> sequence)
static CreateSequenceFlagsStep
DSL. createSequence(Sequence<?> sequence)
TheCREATE SEQUENCE
statement.CreateSequenceFlagsStep
DefaultDSLContext. createSequenceIfNotExists(Sequence<?> sequence)
static CreateSequenceFlagsStep
DSL. createSequenceIfNotExists(Sequence<?> sequence)
TheCREATE SEQUENCE IF NOT EXISTS
statement.<T extends Number>
TDefaultDSLContext. currval(Sequence<T> sequence)
DropSequenceFinalStep
DefaultDSLContext. dropSequence(Sequence<?> sequence)
static DropSequenceFinalStep
DSL. dropSequence(Sequence<?> sequence)
TheDROP SEQUENCE
statement.DropSequenceFinalStep
DefaultDSLContext. dropSequenceIfExists(Sequence<?> sequence)
static DropSequenceFinalStep
DSL. dropSequenceIfExists(Sequence<?> sequence)
TheDROP SEQUENCE IF EXISTS
statement.<T extends Number>
TDefaultDSLContext. nextval(Sequence<T> sequence)
<T extends Number>
List<T>DefaultDSLContext. nextvals(Sequence<T> sequence, int size)
-