Uses of Class
org.h2.schema.Sequence
Packages that use Sequence
Package
Description
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.ddl
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 TypeMethodDescriptionSequenceOptions.getMaxValue(Sequence sequence, SessionLocal session) Gets max value.SequenceOptions.getMinValue(Sequence sequence, SessionLocal session) Gets min value.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
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. -
Uses of Sequence in org.h2.expression
Constructors 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
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
Methods in org.h2.table that return SequenceMethods in org.h2.table with parameters of type SequenceModifier and TypeMethodDescriptionvoidTable.addSequence(Sequence sequence) Add a sequence to this table.final voidTable.removeSequence(Sequence sequence) Remove a sequence from the table.voidColumn.setSequence(Sequence sequence, boolean generatedAlways) Set the sequence to generate the value.