| 程序包 | 说明 |
|---|---|
| org.h2.constraint |
Database constraints such as check constraints, unique constraints, and referential constraints.
|
| org.h2.index |
Various table index implementations, as well as cursors to navigate in an index.
|
| org.h2.mode |
Utility classes for compatibility with other database, for example MySQL.
|
| org.h2.mvstore.db |
Helper classes to use the MVStore in the H2 database.
|
| org.h2.result |
Implementation of row and internal result sets.
|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
Constraint.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow)
Check if this row fulfils the constraint.
|
void |
ConstraintCheck.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintDomain.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintReferential.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintUnique.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintUnique.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintReferential.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintDomain.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintCheck.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow) |
abstract void |
Constraint.checkRow(SessionLocal session,
Table t,
Row oldRow,
Row newRow)
Check if this row fulfils the constraint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Row |
Cursor.get()
Get the complete current row.
|
Row |
IndexCursor.get() |
Row |
LinkedCursor.get() |
Row |
MetaCursor.get() |
Row |
QueryExpressionCursor.get() |
Row |
SingleRowCursor.get() |
Row |
SingleRowCursor.get() |
Row |
QueryExpressionCursor.get() |
Row |
MetaCursor.get() |
Row |
LinkedCursor.get() |
Row |
IndexCursor.get() |
Row |
Cursor.get()
Get the complete current row.
|
Row |
Index.getRow(SessionLocal session,
long key)
Get the row with the given key.
|
Row |
Index.getRow(SessionLocal session,
long key)
Get the row with the given key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
Index.add(SessionLocal session,
Row row)
Add a row to the index.
|
void |
LinkedIndex.add(SessionLocal session,
Row row) |
void |
MetaIndex.add(SessionLocal session,
Row row) |
void |
QueryExpressionIndex.add(SessionLocal session,
Row row) |
void |
VirtualTableIndex.add(SessionLocal session,
Row row) |
void |
VirtualTableIndex.add(SessionLocal session,
Row row) |
void |
QueryExpressionIndex.add(SessionLocal session,
Row row) |
void |
MetaIndex.add(SessionLocal session,
Row row) |
void |
LinkedIndex.add(SessionLocal session,
Row row) |
abstract void |
Index.add(SessionLocal session,
Row row)
Add a row to the index.
|
abstract void |
Index.remove(SessionLocal session,
Row row)
Remove a row from the index.
|
void |
LinkedIndex.remove(SessionLocal session,
Row row) |
void |
MetaIndex.remove(SessionLocal session,
Row row) |
void |
QueryExpressionIndex.remove(SessionLocal session,
Row row) |
void |
VirtualTableIndex.remove(SessionLocal session,
Row row) |
void |
VirtualTableIndex.remove(SessionLocal session,
Row row) |
void |
QueryExpressionIndex.remove(SessionLocal session,
Row row) |
void |
MetaIndex.remove(SessionLocal session,
Row row) |
void |
LinkedIndex.remove(SessionLocal session,
Row row) |
abstract void |
Index.remove(SessionLocal session,
Row row)
Remove a row from the index.
|
void |
LinkedIndex.update(Row oldRow,
Row newRow,
SessionLocal session)
Update a row using a UPDATE statement.
|
void |
LinkedIndex.update(Row oldRow,
Row newRow,
SessionLocal session)
Update a row using a UPDATE statement.
|
void |
Index.update(SessionLocal session,
Row oldRow,
Row newRow)
Update index after row change.
|
void |
Index.update(SessionLocal session,
Row oldRow,
Row newRow)
Update index after row change.
|
| 构造器和说明 |
|---|
SingleRowCursor(Row row)
Create a new cursor.
|
SingleRowCursor(Row row)
Create a new cursor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<Row> |
PgCatalogTable.generateRows(SessionLocal session,
SearchRow first,
SearchRow last) |
ArrayList<Row> |
PgCatalogTable.generateRows(SessionLocal session,
SearchRow first,
SearchRow last) |
| 限定符和类型 | 方法和说明 |
|---|---|
Row |
MVDelegateIndex.getRow(SessionLocal session,
long key) |
Row |
MVPrimaryIndex.getRow(SessionLocal session,
long key) |
Row |
MVTable.getRow(SessionLocal session,
long key) |
Row |
MVTable.getRow(SessionLocal session,
long key) |
Row |
MVPrimaryIndex.getRow(SessionLocal session,
long key) |
Row |
MVDelegateIndex.getRow(SessionLocal session,
long key) |
Row |
MVTable.lockRow(SessionLocal session,
Row row) |
Row |
MVTable.lockRow(SessionLocal session,
Row row) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MVDelegateIndex.add(SessionLocal session,
Row row) |
void |
MVPrimaryIndex.add(SessionLocal session,
Row row) |
void |
MVSecondaryIndex.add(SessionLocal session,
Row row) |
void |
MVSpatialIndex.add(SessionLocal session,
Row row) |
void |
MVSpatialIndex.add(SessionLocal session,
Row row) |
void |
MVSecondaryIndex.add(SessionLocal session,
Row row) |
void |
MVPrimaryIndex.add(SessionLocal session,
Row row) |
void |
MVDelegateIndex.add(SessionLocal session,
Row row) |
void |
MVTable.addRow(SessionLocal session,
Row row) |
void |
MVTable.addRow(SessionLocal session,
Row row) |
Row |
MVTable.lockRow(SessionLocal session,
Row row) |
Row |
MVTable.lockRow(SessionLocal session,
Row row) |
void |
MVDelegateIndex.remove(SessionLocal session,
Row row) |
void |
MVPrimaryIndex.remove(SessionLocal session,
Row row) |
void |
MVSecondaryIndex.remove(SessionLocal session,
Row row) |
void |
MVSpatialIndex.remove(SessionLocal session,
Row row) |
void |
MVSpatialIndex.remove(SessionLocal session,
Row row) |
void |
MVSecondaryIndex.remove(SessionLocal session,
Row row) |
void |
MVPrimaryIndex.remove(SessionLocal session,
Row row) |
void |
MVDelegateIndex.remove(SessionLocal session,
Row row) |
void |
MVTable.removeRow(SessionLocal session,
Row row) |
void |
MVTable.removeRow(SessionLocal session,
Row row) |
void |
MVDelegateIndex.update(SessionLocal session,
Row oldRow,
Row newRow) |
void |
MVPrimaryIndex.update(SessionLocal session,
Row oldRow,
Row newRow) |
void |
MVSecondaryIndex.update(SessionLocal session,
Row oldRow,
Row newRow) |
void |
MVSecondaryIndex.update(SessionLocal session,
Row oldRow,
Row newRow) |
void |
MVPrimaryIndex.update(SessionLocal session,
Row oldRow,
Row newRow) |
void |
MVDelegateIndex.update(SessionLocal session,
Row oldRow,
Row newRow) |
void |
MVTable.updateRow(SessionLocal session,
Row oldRow,
Row newRow) |
void |
MVTable.updateRow(SessionLocal session,
Row oldRow,
Row newRow) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MVDelegateIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
abstract void |
MVIndex.addRowsToBuffer(List<Row> rows,
String bufferName)
Add the rows to a temporary storage (not to the index yet).
|
void |
MVPrimaryIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVSecondaryIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVSpatialIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVSpatialIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVSecondaryIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVPrimaryIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
abstract void |
MVIndex.addRowsToBuffer(List<Row> rows,
String bufferName)
Add the rows to a temporary storage (not to the index yet).
|
void |
MVDelegateIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultRow
The default implementation of a row in a table.
|
class |
Sparse
Class Sparse.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Row |
RowFactory.createRow(Value[] data,
int memory)
Create a new row.
|
Row |
RowFactory.DefaultRowFactory.createRow(Value[] data,
int memory) |
abstract Row |
RowFactory.createRow(Value[] data,
int memory)
Create a new row.
|
Row |
RowFactory.DefaultRowFactory.createRow(Value[] data,
int memory) |
Row |
LocalResult.currentRowForTable()
Retrieve the current row
|
Row |
LocalResult.currentRowForTable()
Retrieve the current row
|
static Row |
Row.get(Value[] data,
int memory)
Creates a new row.
|
static Row |
Row.get(Value[] data,
int memory)
Creates a new row.
|
static Row |
Row.get(Value[] data,
int memory,
long key)
Creates a new row with the specified key.
|
static Row |
Row.get(Value[] data,
int memory,
long key)
Creates a new row with the specified key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LocalResult.addRowForTable(Row row)
Add a row for a table.
|
void |
LocalResult.addRowForTable(Row row)
Add a row for a table.
|
boolean |
Row.hasSameValues(Row other)
Check whether values of this row are equal to values of other row.
|
boolean |
Row.hasSameValues(Row other)
Check whether values of this row are equal to values of other row.
|
boolean |
DefaultRow.hasSharedData(Row other) |
boolean |
Row.hasSharedData(Row other)
Check whether this row and the specified row share the same underlying
data with values.
|
boolean |
Row.hasSharedData(Row other)
Check whether this row and the specified row share the same underlying
data with values.
|
boolean |
DefaultRow.hasSharedData(Row other) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
TriggerObject.fireRow(SessionLocal session,
Table table,
Row oldRow,
Row newRow,
boolean beforeAction,
boolean rollback)
Call the fire method of the user-defined trigger class if required.
|
boolean |
TriggerObject.fireRow(SessionLocal session,
Table table,
Row oldRow,
Row newRow,
boolean beforeAction,
boolean rollback)
Call the fire method of the user-defined trigger class if required.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Row |
Table.createRow(Value[] data,
int memory)
Create a new row for this table.
|
Row |
Table.createRow(Value[] data,
int memory)
Create a new row for this table.
|
Row |
TableFilter.get()
Get the current row.
|
Row |
TableFilter.get()
Get the current row.
|
Row |
Table.getNullRow() |
Row |
Table.getNullRow() |
Row |
Table.getRow(SessionLocal session,
long key)
Get the given row.
|
Row |
Table.getRow(SessionLocal session,
long key)
Get the given row.
|
Row |
Table.getTemplateRow() |
Row |
Table.getTemplateRow() |
Row |
Table.lockRow(SessionLocal session,
Row row)
Locks row, preventing any updated to it, except from the session specified.
|
Row |
Table.lockRow(SessionLocal session,
Row row)
Locks row, preventing any updated to it, except from the session specified.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<Row> |
InformationSchemaTable.generateRows(SessionLocal session,
SearchRow first,
SearchRow last) |
ArrayList<Row> |
InformationSchemaTableLegacy.generateRows(SessionLocal session,
SearchRow first,
SearchRow last) |
abstract ArrayList<Row> |
MetaTable.generateRows(SessionLocal session,
SearchRow first,
SearchRow last)
Generate the data for the given metadata table using the given first and
last row filters.
|
abstract ArrayList<Row> |
MetaTable.generateRows(SessionLocal session,
SearchRow first,
SearchRow last)
Generate the data for the given metadata table using the given first and
last row filters.
|
ArrayList<Row> |
InformationSchemaTableLegacy.generateRows(SessionLocal session,
SearchRow first,
SearchRow last) |
ArrayList<Row> |
InformationSchemaTable.generateRows(SessionLocal session,
SearchRow first,
SearchRow last) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MetaTable.addRow(SessionLocal session,
Row row) |
void |
QueryExpressionTable.addRow(SessionLocal session,
Row row) |
abstract void |
Table.addRow(SessionLocal session,
Row row)
Add a row to the table and all indexes.
|
void |
TableLink.addRow(SessionLocal session,
Row row) |
void |
VirtualTable.addRow(SessionLocal session,
Row row) |
void |
VirtualTable.addRow(SessionLocal session,
Row row) |
void |
TableLink.addRow(SessionLocal session,
Row row) |
abstract void |
Table.addRow(SessionLocal session,
Row row)
Add a row to the table and all indexes.
|
void |
QueryExpressionTable.addRow(SessionLocal session,
Row row) |
void |
MetaTable.addRow(SessionLocal session,
Row row) |
static void |
DataChangeDeltaTable.collectInsertedFinalRow(SessionLocal session,
Table table,
ResultTarget deltaChangeCollector,
DataChangeDeltaTable.ResultOption deltaChangeCollectionMode,
Row newRow)
Collects final row for INSERT operations.
|
static void |
DataChangeDeltaTable.collectInsertedFinalRow(SessionLocal session,
Table table,
ResultTarget deltaChangeCollector,
DataChangeDeltaTable.ResultOption deltaChangeCollectionMode,
Row newRow)
Collects final row for INSERT operations.
|
void |
Table.convertInsertRow(SessionLocal session,
Row row,
Boolean overridingSystem)
Prepares the specified row for INSERT operation.
|
void |
TableLink.convertInsertRow(SessionLocal session,
Row row,
Boolean overridingSystem) |
void |
TableLink.convertInsertRow(SessionLocal session,
Row row,
Boolean overridingSystem) |
void |
Table.convertInsertRow(SessionLocal session,
Row row,
Boolean overridingSystem)
Prepares the specified row for INSERT operation.
|
void |
Table.convertUpdateRow(SessionLocal session,
Row row,
boolean fromTrigger)
Prepares the specified row for UPDATE operation.
|
void |
TableLink.convertUpdateRow(SessionLocal session,
Row row,
boolean fromTrigger) |
void |
TableLink.convertUpdateRow(SessionLocal session,
Row row,
boolean fromTrigger) |
void |
Table.convertUpdateRow(SessionLocal session,
Row row,
boolean fromTrigger)
Prepares the specified row for UPDATE operation.
|
void |
Table.fireAfterRow(SessionLocal session,
Row oldRow,
Row newRow,
boolean rollback)
Fire all triggers that need to be called after a row is updated.
|
void |
Table.fireAfterRow(SessionLocal session,
Row oldRow,
Row newRow,
boolean rollback)
Fire all triggers that need to be called after a row is updated.
|
boolean |
Table.fireBeforeRow(SessionLocal session,
Row oldRow,
Row newRow)
Fire all triggers that need to be called before a row is updated.
|
boolean |
Table.fireBeforeRow(SessionLocal session,
Row oldRow,
Row newRow)
Fire all triggers that need to be called before a row is updated.
|
Row |
Table.lockRow(SessionLocal session,
Row row)
Locks row, preventing any updated to it, except from the session specified.
|
Row |
Table.lockRow(SessionLocal session,
Row row)
Locks row, preventing any updated to it, except from the session specified.
|
void |
MetaTable.removeRow(SessionLocal session,
Row row) |
void |
QueryExpressionTable.removeRow(SessionLocal session,
Row row) |
abstract void |
Table.removeRow(SessionLocal session,
Row row)
Remove a row from the table and all indexes.
|
void |
TableLink.removeRow(SessionLocal session,
Row row) |
void |
VirtualTable.removeRow(SessionLocal session,
Row row) |
void |
VirtualTable.removeRow(SessionLocal session,
Row row) |
void |
TableLink.removeRow(SessionLocal session,
Row row) |
abstract void |
Table.removeRow(SessionLocal session,
Row row)
Remove a row from the table and all indexes.
|
void |
QueryExpressionTable.removeRow(SessionLocal session,
Row row) |
void |
MetaTable.removeRow(SessionLocal session,
Row row) |
void |
TableFilter.set(Row current)
Set the current row.
|
void |
TableFilter.set(Row current)
Set the current row.
|
void |
Table.updateRow(SessionLocal session,
Row oldRow,
Row newRow)
Update a row to the table and all indexes.
|
void |
Table.updateRow(SessionLocal session,
Row oldRow,
Row newRow)
Update a row to the table and all indexes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
MetaTable.add(SessionLocal session,
ArrayList<Row> rows,
Object... stringsOrValues)
Add a row to a list.
|
protected void |
MetaTable.add(SessionLocal session,
ArrayList<Row> rows,
Object... stringsOrValues)
Add a row to a list.
|
Copyright © 2022. All rights reserved.