Uses of Class
org.h2.schema.Sequence
-
Packages that use Sequence Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.table Classes related to a table and table meta data. -
-
Uses of Sequence in org.h2.command
Methods in org.h2.command that return Sequence Modifier and Type Method Description private Sequence
Parser. findSequence(java.lang.String schema, java.lang.String sequenceName)
private Sequence
Parser. readSequence()
-
Uses of Sequence in org.h2.command.ddl
Fields in org.h2.command.ddl declared as Sequence Modifier and Type Field Description private Sequence
SequenceOptions. oldSequence
private Sequence
AlterSequence. sequence
Methods in org.h2.command.ddl that return types with arguments of type Sequence Modifier and Type Method Description protected java.util.ArrayList<Sequence>
CommandWithColumns. generateSequences(java.util.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 Sequence Modifier and Type Method Description private long
SequenceOptions. getCurrentStart(Sequence sequence, SessionLocal session)
java.lang.Long
SequenceOptions. getMaxValue(Sequence sequence, SessionLocal session)
Gets max value.java.lang.Long
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 Sequence Modifier and Type Method Description private void
AlterTableAlterColumn. copyData(Table table, java.util.ArrayList<Sequence> sequences, boolean createConstraints)
Constructors in org.h2.command.ddl with parameters of type Sequence Constructor Description SequenceOptions(Sequence oldSequence, TypeInfo dataType)
Creates new instance of sequence options. -
Uses of Sequence in org.h2.engine
Fields in org.h2.engine declared as Sequence Modifier and Type Field Description private Sequence
SessionLocal.SequenceAndPrepared. sequence
Fields in org.h2.engine with type parameters of type Sequence Modifier and Type Field Description private java.util.WeakHashMap<Sequence,Value>
SessionLocal. currentValueFor
Methods in org.h2.engine with parameters of type Sequence Modifier and Type Method Description Value
SessionLocal. getCurrentValueFor(Sequence sequence)
Returns the current value of the sequence in this session.Value
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 Sequence Constructor Description SequenceAndPrepared(Sequence sequence, Prepared prepared)
-
Uses of Sequence in org.h2.expression
Fields in org.h2.expression declared as Sequence Modifier and Type Field Description private Sequence
SequenceValue. sequence
Constructors in org.h2.expression with parameters of type Sequence Constructor Description SequenceValue(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 Sequence Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.String,Sequence>
Schema. sequences
Methods in org.h2.schema that return Sequence Modifier and Type Method Description Sequence
Schema. findSequence(java.lang.String sequenceName)
Try to find a sequence with this name.Sequence
Schema. getSequence(java.lang.String sequenceName)
Get the sequence with the given name.Methods in org.h2.schema that return types with arguments of type Sequence Modifier and Type Method Description java.util.Collection<Sequence>
Schema. getAllSequences()
-
Uses of Sequence in org.h2.table
Fields in org.h2.table declared as Sequence Modifier and Type Field Description private Sequence
Column. sequence
Fields in org.h2.table with type parameters of type Sequence Modifier and Type Field Description private java.util.ArrayList<Sequence>
Table. sequences
Methods in org.h2.table that return Sequence Modifier and Type Method Description Sequence
Column. getSequence()
Methods in org.h2.table with parameters of type Sequence Modifier and Type Method Description void
Table. addSequence(Sequence sequence)
Add a sequence to this table.void
Table. removeSequence(Sequence sequence)
Remove a sequence from the table.private void
InformationSchemaTable. sequences(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Sequence sequence, java.lang.String sequenceName)
void
Column. setSequence(Sequence sequence, boolean generatedAlways)
Set the sequence to generate the value.
-