public abstract class AbstractBaseTable extends BaseTableModificationPublisher implements Table
Table, code common between TransactableTableImpl
and BaseTableREGULAR_TABLE_TYPE, SYSTEM_TABLE_TYPE| Constructor and Description |
|---|
AbstractBaseTable() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkConstraints(RowEvent event,
boolean deferred,
RowDecorator dec) |
protected void |
checkConstraints(RowEvent event,
RowDecorator dec) |
protected void |
checkConstraints(RowIterator oldRows,
RowIterator newRows) |
RowIterator |
getMatchingRows(java.util.List selectables,
java.util.List values,
boolean readOnly)
Obtain an
iteratorover my Rows where each
Selectablein the selectable list
evaluatesto the corresponding value in the value
list. |
protected boolean |
hasDeferredConstraint() |
protected boolean |
isDeferAll() |
void |
migrate()
Migrate from older version to newer version for this table
|
addTableModificationListener, getTableModificationListeners, publishEvent, removeTableModificationListener, setDeferAllConstraintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddColumn, addConstraint, addIndex, addRow, addTableModificationListener, applyDeletes, applyInserts, applyUpdates, checkpoint, deleteRow, drop, freeRowId, getColumn, getColumn, getColumnCount, getColumnIdentifiers, getColumnIndex, getConstraint, getConstraints, getIndexedRows, getIndexedRows, getIndexForColumn, getIndices, getName, getNextRowId, getRowCount, getRowIterator, getSequence, getTableModificationListeners, getType, hasColumn, hasIndex, isColumnIndexed, isPrimaryKeyConstraintExists, isUniqueConstraintExists, makeRowDecorator, makeTransactableTable, populateIndex, remount, removeConstraint, removeIndex, removeTableModificationListener, rename, setDeferAllConstraints, setSequence, shutdown, truncate, updateRowpublic RowIterator getMatchingRows(java.util.List selectables, java.util.List values, boolean readOnly) throws AxionException
Tableiteratorover my Rows where each
Selectablein the selectable list
evaluatesto the corresponding value in the value
list.
This is functionally similiar to executing a SELECT over this table where selectable[i] = value[i] for each value of i . The return RowIterator is not modifiable.
getMatchingRows in interface TableAxionExceptionpublic void migrate()
throws AxionException
Tablemigrate in interface TableAxionExceptionprotected void checkConstraints(RowEvent event, RowDecorator dec) throws AxionException
AxionExceptionprotected void checkConstraints(RowEvent event, boolean deferred, RowDecorator dec) throws AxionException
AxionExceptionprotected void checkConstraints(RowIterator oldRows, RowIterator newRows) throws AxionException
AxionExceptionprotected boolean hasDeferredConstraint()
protected boolean isDeferAll()