Uses of Class
org.h2.schema.Sequence
Packages that use Sequence
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains DDL (data definition language) and related SQL statements.
Contains high level classes of the database and classes that don't fit in another sub-package.
Expressions include mathematical operations, simple values, and others.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
Classes related to a table and table meta data.
-
Uses of Sequence in org.h2.command
Methods in org.h2.command that return SequenceModifier and TypeMethodDescriptionprivate Sequence
Parser.findSequence
(String schema, String sequenceName) private Sequence
Parser.readSequence()
-
Uses of Sequence in org.h2.command.ddl
Fields in org.h2.command.ddl declared as SequenceModifier and TypeFieldDescriptionprivate final Sequence
SequenceOptions.oldSequence
private Sequence
AlterSequence.sequence
Methods in org.h2.command.ddl that return types with arguments of type SequenceModifier and TypeMethodDescriptionCommandWithColumns.generateSequences
(ArrayList<Column> columns, boolean temporary) For the given list of columns, create sequences for identity columns (if needed), and then get the list of all sequences of the columns.Methods in org.h2.command.ddl with parameters of type SequenceModifier and TypeMethodDescriptionprivate long
SequenceOptions.getCurrentStart
(Sequence sequence, SessionLocal session) SequenceOptions.getMaxValue
(Sequence sequence, SessionLocal session) Gets max value.SequenceOptions.getMinValue
(Sequence sequence, SessionLocal session) Gets min value.private void
AlterTableAlterColumn.removeSequence
(Table table, Sequence sequence) Method parameters in org.h2.command.ddl with type arguments of type SequenceModifier and TypeMethodDescriptionprivate void
AlterTableAlterColumn.copyData
(Table table, ArrayList<Sequence> sequences, boolean createConstraints) Constructors in org.h2.command.ddl with parameters of type SequenceModifierConstructorDescriptionSequenceOptions
(Sequence oldSequence, TypeInfo dataType) Creates new instance of sequence options. -
Uses of Sequence in org.h2.engine
Fields in org.h2.engine declared as SequenceModifier and TypeFieldDescriptionprivate final Sequence
SessionLocal.SequenceAndPrepared.sequence
Fields in org.h2.engine with type parameters of type SequenceModifier and TypeFieldDescriptionprivate WeakHashMap
<Sequence, Value> SessionLocal.currentValueFor
Methods in org.h2.engine with parameters of type SequenceModifier and TypeMethodDescriptionSessionLocal.getCurrentValueFor
(Sequence sequence) Returns the current value of the sequence in this session.SessionLocal.getNextValueFor
(Sequence sequence, Prepared prepared) Returns the next value of the sequence in this session.Constructors in org.h2.engine with parameters of type SequenceModifierConstructorDescription(package private)
SequenceAndPrepared
(Sequence sequence, Prepared prepared) -
Uses of Sequence in org.h2.expression
Fields in org.h2.expression declared as SequenceConstructors in org.h2.expression with parameters of type SequenceModifierConstructorDescriptionSequenceValue
(Sequence sequence) Creates new instance of CURRENT VALUE FOR expression.SequenceValue
(Sequence sequence, Prepared prepared) Creates new instance of NEXT VALUE FOR expression. -
Uses of Sequence in org.h2.schema
Fields in org.h2.schema with type parameters of type SequenceModifier and TypeFieldDescriptionprivate final ConcurrentHashMap
<String, Sequence> Schema.sequences
Methods in org.h2.schema that return SequenceModifier and TypeMethodDescriptionSchema.findSequence
(String sequenceName) Try to find a sequence with this name.Schema.getSequence
(String sequenceName) Get the sequence with the given name.Methods in org.h2.schema that return types with arguments of type Sequence -
Uses of Sequence in org.h2.table
Fields in org.h2.table declared as SequenceFields in org.h2.table with type parameters of type SequenceMethods in org.h2.table that return SequenceMethods in org.h2.table with parameters of type SequenceModifier and TypeMethodDescriptionvoid
Table.addSequence
(Sequence sequence) Add a sequence to this table.final void
Table.removeSequence
(Sequence sequence) Remove a sequence from the table.private void
InformationSchemaTable.sequences
(SessionLocal session, ArrayList<Row> rows, String catalog, Sequence sequence, String sequenceName) void
Column.setSequence
(Sequence sequence, boolean generatedAlways) Set the sequence to generate the value.