Package | Description |
---|---|
org.h2.constraint |
Database constraints such as check constraints, unique constraints, and referential constraints.
|
org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
org.h2.index |
Various table index implementations, as well as cursors to navigate in an index.
|
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.store |
Storage abstractions, such as a file with a cache, or a class to convert values to a byte array and vice versa.
|
org.h2.table |
Classes related to a table and table meta data.
|
Modifier and Type | Method and Description |
---|---|
void |
ConstraintUnique.checkRow(Session session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintReferential.checkRow(Session session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintCheck.checkRow(Session session,
Table t,
Row oldRow,
Row newRow) |
abstract void |
Constraint.checkRow(Session session,
Table t,
Row oldRow,
Row newRow)
Check if this row fulfils the constraint.
|
Modifier and Type | Method and Description |
---|---|
Row |
Database.createRow(Value[] data,
int memory)
Create a new row for a table.
|
Row |
Session.createRow(Value[] data,
int memory)
Create a new row for a table.
|
Row |
UndoLogRecord.getRow()
Get the row that was deleted or inserted.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.log(Table table,
short operation,
Row row)
Add an undo log entry to this session.
|
Modifier and Type | Method and Description |
---|---|
Row |
IndexCursor.get() |
Row |
Cursor.get()
Get the complete current row.
|
Row |
TreeCursor.get() |
Row |
MetaCursor.get() |
Row |
LinkedCursor.get() |
Row |
MultiVersionCursor.get() |
Row |
ScanCursor.get() |
Row |
FunctionCursor.get() |
Row |
PageBtreeCursor.get() |
Row |
FunctionCursorResultSet.get() |
Row |
SingleRowCursor.get() |
Row |
NonUniqueHashCursor.get() |
Row |
ViewCursor.get() |
Row |
PageBtreeIndex.getRow(Session session,
long key)
Get a row from the main index.
|
Row |
BaseIndex.getRow(Session session,
long key) |
Row |
ScanIndex.getRow(Session session,
long key) |
Row |
PageDataIndex.getRow(Session session,
long key) |
Row |
Index.getRow(Session session,
long key)
Get the row with the given key.
|
Row |
MultiVersionIndex.getRow(Session session,
long key) |
Row |
PageDataIndex.getRowWithKey(long key)
Get the row with the given key.
|
Modifier and Type | Method and Description |
---|---|
void |
PageBtreeIndex.add(Session session,
Row row) |
void |
FunctionIndex.add(Session session,
Row row) |
void |
SpatialTreeIndex.add(Session session,
Row row) |
void |
RangeIndex.add(Session session,
Row row) |
void |
ScanIndex.add(Session session,
Row row) |
void |
PageDataIndex.add(Session session,
Row row) |
void |
TreeIndex.add(Session session,
Row row) |
void |
HashIndex.add(Session session,
Row row) |
void |
PageDelegateIndex.add(Session session,
Row row) |
void |
LinkedIndex.add(Session session,
Row row) |
void |
NonUniqueHashIndex.add(Session session,
Row row) |
void |
MetaIndex.add(Session session,
Row row) |
void |
ViewIndex.add(Session session,
Row row) |
void |
Index.add(Session session,
Row row)
Add a row to the index.
|
void |
MultiVersionIndex.add(Session session,
Row row) |
void |
BaseIndex.commit(int operation,
Row row) |
void |
ScanIndex.commit(int operation,
Row row) |
void |
PageDataIndex.commit(int operation,
Row row) |
void |
Index.commit(int operation,
Row row)
Commit the operation for a row.
|
void |
MultiVersionIndex.commit(int operation,
Row row) |
boolean |
MultiVersionIndex.isUncommittedFromOtherSession(Session session,
Row row)
Check if there is an uncommitted row with the given key
within a different session.
|
void |
PageBtreeIndex.remove(Session session,
Row row) |
void |
FunctionIndex.remove(Session session,
Row row) |
void |
SpatialTreeIndex.remove(Session session,
Row row) |
void |
RangeIndex.remove(Session session,
Row row) |
void |
ScanIndex.remove(Session session,
Row row) |
void |
PageDataIndex.remove(Session session,
Row row) |
void |
TreeIndex.remove(Session session,
Row row) |
void |
HashIndex.remove(Session session,
Row row) |
void |
PageDelegateIndex.remove(Session session,
Row row) |
void |
LinkedIndex.remove(Session session,
Row row) |
void |
NonUniqueHashIndex.remove(Session session,
Row row) |
void |
MetaIndex.remove(Session session,
Row row) |
void |
ViewIndex.remove(Session session,
Row row) |
void |
Index.remove(Session session,
Row row)
Remove a row from the index.
|
void |
MultiVersionIndex.remove(Session session,
Row row) |
void |
LinkedIndex.update(Row oldRow,
Row newRow)
Update a row using a UPDATE statement.
|
Constructor and Description |
---|
SingleRowCursor(Row row)
Create a new cursor.
|
Modifier and Type | Method and Description |
---|---|
Row |
MVTable.getRow(Session session,
long key) |
Row |
MVPrimaryIndex.getRow(Session session,
long key) |
Modifier and Type | Method and Description |
---|---|
void |
MVSpatialIndex.add(Session session,
Row row) |
void |
MVDelegateIndex.add(Session session,
Row row) |
void |
MVSecondaryIndex.add(Session session,
Row row) |
void |
MVPrimaryIndex.add(Session session,
Row row) |
void |
MVTable.addRow(Session session,
Row row) |
void |
MVSpatialIndex.remove(Session session,
Row row) |
void |
MVDelegateIndex.remove(Session session,
Row row) |
void |
MVSecondaryIndex.remove(Session session,
Row row) |
void |
MVPrimaryIndex.remove(Session session,
Row row) |
void |
MVTable.removeRow(Session session,
Row row) |
Modifier and Type | Method and Description |
---|---|
void |
MVSpatialIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVDelegateIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVSecondaryIndex.addRowsToBuffer(List<Row> rows,
String bufferName) |
void |
MVIndex.addRowsToBuffer(List<Row> rows,
String bufferName)
Add the rows to a temporary storage (not to the index yet).
|
Modifier and Type | Class and Description |
---|---|
class |
RowImpl
Default row implementation.
|
Modifier and Type | Field and Description |
---|---|
static Row[] |
Row.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
abstract Row |
RowFactory.createRow(Value[] data,
int memory)
Create new row.
|
Row |
RowImpl.getCopy()
Get a copy of the row that is distinct from (not equal to) this row.
|
Row |
Row.getCopy()
Get a copy of the row that is distinct from (not equal to) this row.
|
Row |
RowList.next()
Get the next row from the list.
|
Modifier and Type | Method and Description |
---|---|
void |
RowList.add(Row r)
Add a row to the list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TriggerObject.fireRow(Session session,
Row oldRow,
Row newRow,
boolean beforeAction,
boolean rollback)
Call the fire method of the user-defined trigger class if required.
|
Modifier and Type | Method and Description |
---|---|
static Row |
PageLog.readRow(RowFactory rowFactory,
DataReader in,
Data data)
Read a row from an input stream.
|
Modifier and Type | Method and Description |
---|---|
void |
PageStore.logAddOrRemoveRow(Session session,
int tableId,
Row row,
boolean add)
A record is added to a table, or removed from a table.
|
Modifier and Type | Method and Description |
---|---|
Row |
TableFilter.get()
Get the current row.
|
Row |
Table.getRow(Session session,
long key)
Get the given row.
|
Row |
RegularTable.getRow(Session session,
long key) |
Row |
Table.getTemplateRow() |
Modifier and Type | Method and Description |
---|---|
ArrayList<Row> |
MetaTable.generateRows(Session session,
SearchRow first,
SearchRow last)
Generate the data for the given metadata table using the given first and
last row filters.
|
Modifier and Type | Method and Description |
---|---|
void |
MetaTable.addRow(Session session,
Row row) |
void |
FunctionTable.addRow(Session session,
Row row) |
abstract void |
Table.addRow(Session session,
Row row)
Add a row to the table and all indexes.
|
void |
RegularTable.addRow(Session session,
Row row) |
void |
RangeTable.addRow(Session session,
Row row) |
void |
TableView.addRow(Session session,
Row row) |
void |
TableLink.addRow(Session session,
Row row) |
void |
Table.commit(short operation,
Row row)
Commit an operation (when using multi-version concurrency).
|
void |
RegularTable.commit(short operation,
Row row) |
void |
Table.fireAfterRow(Session session,
Row oldRow,
Row newRow,
boolean rollback)
Fire all triggers that need to be called after a row is updated.
|
boolean |
Table.fireBeforeRow(Session session,
Row oldRow,
Row newRow)
Fire all triggers that need to be called before a row is updated.
|
void |
MetaTable.removeRow(Session session,
Row row) |
void |
FunctionTable.removeRow(Session session,
Row row) |
abstract void |
Table.removeRow(Session session,
Row row)
Remove a row from the table and all indexes.
|
void |
RegularTable.removeRow(Session session,
Row row) |
void |
RangeTable.removeRow(Session session,
Row row) |
void |
TableView.removeRow(Session session,
Row row) |
void |
TableLink.removeRow(Session session,
Row row) |
void |
TableFilter.set(Row current)
Set the current row.
|
void |
Table.validateConvertUpdateSequence(Session session,
Row row)
Validate all values in this row, convert the values if required, and
update the sequence values if required.
|
void |
TableLink.validateConvertUpdateSequence(Session session,
Row row)
Convert the values if required.
|
Modifier and Type | Method and Description |
---|---|
void |
TableFilter.lockRowAdd(ArrayList<Row> rows)
Add the current row to the array, if there is a current row.
|
void |
TableFilter.lockRows(ArrayList<Row> forUpdateRows)
Lock the given rows.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.