Package | Description |
---|---|
org.h2.constraint | |
org.h2.engine | |
org.h2.index | |
org.h2.result | |
org.h2.schema | |
org.h2.store | |
org.h2.table |
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 |
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 |
ViewCursor.get() |
Row |
TreeCursor.get() |
Row |
SingleRowCursor.get() |
Row |
ScanCursor.get() |
Row |
PageBtreeCursor.get() |
Row |
NonUniqueHashCursor.get() |
Row |
MultiVersionCursor.get() |
Row |
MetaCursor.get() |
Row |
LinkedCursor.get() |
Row |
IndexCursor.get() |
Row |
FunctionCursorResultSet.get() |
Row |
FunctionCursor.get() |
Row |
Cursor.get()
Get the complete current row.
|
Row |
ScanIndex.getRow(Session session,
long key) |
Row |
PageDataIndex.getRow(Session session,
long key) |
Row |
PageBtreeIndex.getRow(Session session,
long key)
Get a row from the main index.
|
Row |
MultiVersionIndex.getRow(Session session,
long key) |
Row |
Index.getRow(Session session,
long key)
Get the row with the given key.
|
Row |
BaseIndex.getRow(Session session,
long key) |
Row |
PageDataIndex.getRowWithKey(long key)
Get the row with the given key.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewIndex.add(Session session,
Row row) |
void |
TreeIndex.add(Session session,
Row row) |
void |
ScanIndex.add(Session session,
Row row) |
void |
RangeIndex.add(Session session,
Row row) |
void |
PageDelegateIndex.add(Session session,
Row row) |
void |
PageDataIndex.add(Session session,
Row row) |
void |
PageBtreeIndex.add(Session session,
Row row) |
void |
NonUniqueHashIndex.add(Session session,
Row row) |
void |
MultiVersionIndex.add(Session session,
Row row) |
void |
MetaIndex.add(Session session,
Row row) |
void |
LinkedIndex.add(Session session,
Row row) |
void |
Index.add(Session session,
Row row)
Add a row to the index.
|
void |
HashIndex.add(Session session,
Row row) |
void |
FunctionIndex.add(Session session,
Row row) |
void |
ScanIndex.commit(int operation,
Row row) |
void |
PageDataIndex.commit(int operation,
Row row) |
void |
MultiVersionIndex.commit(int operation,
Row row) |
void |
Index.commit(int operation,
Row row)
Commit the operation for a row.
|
void |
BaseIndex.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 |
ViewIndex.remove(Session session,
Row row) |
void |
TreeIndex.remove(Session session,
Row row) |
void |
ScanIndex.remove(Session session,
Row row) |
void |
RangeIndex.remove(Session session,
Row row) |
void |
PageDelegateIndex.remove(Session session,
Row row) |
void |
PageDataIndex.remove(Session session,
Row row) |
void |
PageBtreeIndex.remove(Session session,
Row row) |
void |
NonUniqueHashIndex.remove(Session session,
Row row) |
void |
MultiVersionIndex.remove(Session session,
Row row) |
void |
MetaIndex.remove(Session session,
Row row) |
void |
LinkedIndex.remove(Session session,
Row row) |
void |
Index.remove(Session session,
Row row)
Remove a row from the index.
|
void |
HashIndex.remove(Session session,
Row row) |
void |
FunctionIndex.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 | Field and Description |
---|---|
static Row[] |
Row.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
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(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 |
---|---|
static Row |
RegularTable.createRow(Value[] data)
Create a row from the values.
|
Row |
TableFilter.get()
Get the current row.
|
Row |
RegularTable.getRow(Session session,
long key)
Read the given row.
|
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 |
TableView.addRow(Session session,
Row row) |
void |
TableLink.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 |
MetaTable.addRow(Session session,
Row row) |
void |
FunctionTable.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 |
TableView.removeRow(Session session,
Row row) |
void |
TableLink.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 |
MetaTable.removeRow(Session session,
Row row) |
void |
FunctionTable.removeRow(Session session,
Row row) |
void |
TableFilter.set(Row current)
Set the current row.
|
void |
TableLink.validateConvertUpdateSequence(Session session,
Row row)
Convert the values if required.
|
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.
|
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 © 2012 JBoss by Red Hat. All Rights Reserved.