| 程序包 | 说明 |
|---|---|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected ArrayList<Sequence> |
CommandWithColumns.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.
|
protected ArrayList<Sequence> |
CommandWithColumns.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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
SequenceOptions.getMaxValue(Sequence sequence,
SessionLocal session)
Gets max value.
|
Long |
SequenceOptions.getMaxValue(Sequence sequence,
SessionLocal session)
Gets max value.
|
Long |
SequenceOptions.getMinValue(Sequence sequence,
SessionLocal session)
Gets min value.
|
Long |
SequenceOptions.getMinValue(Sequence sequence,
SessionLocal session)
Gets min value.
|
| 构造器和说明 |
|---|
SequenceOptions(Sequence oldSequence,
TypeInfo dataType)
Creates new instance of sequence options.
|
SequenceOptions(Sequence oldSequence,
TypeInfo dataType)
Creates new instance of sequence options.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Value |
SessionLocal.getCurrentValueFor(Sequence sequence)
Returns the current value of the sequence in this session.
|
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.
|
Value |
SessionLocal.getNextValueFor(Sequence sequence,
Prepared prepared)
Returns the next value of the sequence in this session.
|
| 构造器和说明 |
|---|
SequenceValue(Sequence sequence)
Creates new instance of CURRENT VALUE FOR expression.
|
SequenceValue(Sequence sequence)
Creates new instance of CURRENT VALUE FOR expression.
|
SequenceValue(Sequence sequence,
Prepared prepared)
Creates new instance of NEXT VALUE FOR expression.
|
SequenceValue(Sequence sequence,
Prepared prepared)
Creates new instance of NEXT VALUE FOR expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Sequence |
Schema.findSequence(String sequenceName)
Try to find a sequence with this name.
|
Sequence |
Schema.findSequence(String sequenceName)
Try to find a sequence with this name.
|
Sequence |
Schema.getSequence(String sequenceName)
Get the sequence with the given name.
|
Sequence |
Schema.getSequence(String sequenceName)
Get the sequence with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<Sequence> |
Schema.getAllSequences() |
Collection<Sequence> |
Schema.getAllSequences() |
| 限定符和类型 | 方法和说明 |
|---|---|
Sequence |
Column.getSequence() |
Sequence |
Column.getSequence() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Table.addSequence(Sequence sequence)
Add a sequence to this table.
|
void |
Table.addSequence(Sequence sequence)
Add a sequence to this table.
|
void |
Table.removeSequence(Sequence sequence)
Remove a sequence from the table.
|
void |
Table.removeSequence(Sequence sequence)
Remove a sequence from the table.
|
void |
Column.setSequence(Sequence sequence,
boolean generatedAlways)
Set the sequence to generate the value.
|
void |
Column.setSequence(Sequence sequence,
boolean generatedAlways)
Set the sequence to generate the value.
|
Copyright © 2022. All rights reserved.