| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | FKEnforcer.
Shared state used by all FKEnforcers for a given Database. |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private static final ColumnMatcher | |
| private List | |
| private List | |
| private List | |
| private List | |
| private List | |
| private List | |
| private final TableImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private boolean | |
| private static boolean | |
| private static boolean | |
| public void | |
| private boolean | |
| private void | |
| private void | |
| pack-priv static FKEnforcer. | |
| private static void | |
| private static void | |
| private static void | |
| pack-priv void | |
| public void | |
| private static void |
| cols | back to summary |
|---|---|
| private List<ColumnImpl> cols | |
| MATCHER | back to summary |
|---|---|
| private static final ColumnMatcher MATCHER | |
| primaryJoinersChkDel | back to summary |
|---|---|
| private List<Joiner> primaryJoinersChkDel | |
| primaryJoinersChkUp | back to summary |
|---|---|
| private List<Joiner> primaryJoinersChkUp | |
| primaryJoinersDoDel | back to summary |
|---|---|
| private List<Joiner> primaryJoinersDoDel | |
| primaryJoinersDoNull | back to summary |
|---|---|
| private List<Joiner> primaryJoinersDoNull | |
| primaryJoinersDoUp | back to summary |
|---|---|
| private List<Joiner> primaryJoinersDoUp | |
| secondaryJoiners | back to summary |
|---|---|
| private List<Joiner> secondaryJoiners | |
| table | back to summary |
|---|---|
| private final TableImpl table | |
| FKEnforcer | back to summary |
|---|---|
| pack-priv FKEnforcer(TableImpl table) | |
| addRow | back to summary |
|---|---|
| public void addRow(Object[] row) throws IOException Handles foregn-key constraints when adding a row.
| |
| anyUpdates | back to summary |
|---|---|
| private boolean anyUpdates(Object[] oldRow, Object[] newRow) | |
| anyUpdates | back to summary |
|---|---|
| private static boolean anyUpdates(Joiner joiner, Object[] oldRow, Object[] newRow) | |
| areNull | back to summary |
|---|---|
| private static boolean areNull(Joiner joiner, Object[] row) | |
| deleteRow | back to summary |
|---|---|
| public void deleteRow(Object[] row) throws IOException Handles foregn-key constraints when deleting a row.
| |
| enforcing | back to summary |
|---|---|
| private boolean enforcing() | |
| initColumns | back to summary |
|---|---|
| private void initColumns() | |
| initialize | back to summary |
|---|---|
| private void initialize() throws IOException Does secondary initialization, if necessary. | |
| initSharedState | back to summary |
|---|---|
| pack-priv static FKEnforcer. | |
| nullSecondaryValues | back to summary |
|---|---|
| private static void nullSecondaryValues(Joiner joiner, Object[] oldFromRow) throws IOException | |
| requireNoSecondaryValues | back to summary |
|---|---|
| private static void requireNoSecondaryValues(Joiner joiner, Object[] row) throws IOException | |
| requirePrimaryValues | back to summary |
|---|---|
| private static void requirePrimaryValues(Joiner joiner, Object[] row) throws IOException | |
| reset | back to summary |
|---|---|
| pack-priv void reset() Resets the internals of this FKEnforcer (for post-table modification) | |
| updateRow | back to summary |
|---|---|
| public void updateRow(Object[] oldRow, Object[] newRow) throws IOException Handles foregn-key constraints when updating a row. | |
| updateSecondaryValues | back to summary |
|---|---|
| private static void updateSecondaryValues(Joiner joiner, Object[] oldFromRow, Object[] newFromRow) throws IOException | |