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
iterator over my Row s where each
Selectable in the selectable list
evaluates to 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, setDeferAllConstraints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addColumn, 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, updateRow
public RowIterator getMatchingRows(java.util.List selectables, java.util.List values, boolean readOnly) throws AxionException
Table
iterator
over my Row
s where each
Selectable
in the selectable list
evaluates
to 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 Table
AxionException
public void migrate() throws AxionException
Table
migrate
in interface Table
AxionException
protected void checkConstraints(RowEvent event, RowDecorator dec) throws AxionException
AxionException
protected void checkConstraints(RowEvent event, boolean deferred, RowDecorator dec) throws AxionException
AxionException
protected void checkConstraints(RowIterator oldRows, RowIterator newRows) throws AxionException
AxionException
protected boolean hasDeferredConstraint()
protected boolean isDeferAll()