kodo.jdbc.sql
Class RowManagerImpl
java.lang.Object
|
+--kodo.jdbc.sql.RowManagerImpl
- All Implemented Interfaces:
- RowManager
- public synchronized class RowManagerImpl
- extends Object
- implements RowManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowManagerImpl
public RowManagerImpl()
hasAutoIncrementConstraints
public boolean hasAutoIncrementConstraints()
getInserts
public Collection getInserts()
getUpdates
public Collection getUpdates()
getDeletes
public Collection getDeletes()
getSecondaryUpdates
public Collection getSecondaryUpdates()
getSecondaryDeletes
public Collection getSecondaryDeletes()
getAllRowUpdates
public Collection getAllRowUpdates()
getAllRowDeletes
public Collection getAllRowDeletes()
getSecondaryRow
public Row getSecondaryRow(Table,
int)
- Description copied from interface:
RowManager
- Return a row for the given secondary table.
The action must be one of
Row.ACTION_INSERT,
Row.ACTION_UPDATE, Row.ACTION_DELETE.
Note that secondary rows are not considered when creating the foreign
key dependency graph, with can cause constraint violations when using
the UPDATE action. Only use this action if the secondary
row does not have restrict-action foreign keys. Otherwise use both
a delete and then an insert to perform the update.
- Specified by:
getSecondaryRow in interface RowManager
flushSecondaryRow
public void flushSecondaryRow(Row)
throws SQLException
- Description copied from interface:
RowManager
- Flush the secondary row; after flushing the row is available for reuse.
It will retain all previously set values.
- Specified by:
flushSecondaryRow in interface RowManager
getAllRows
public Row getAllRows(Table,
int)
- Description copied from interface:
RowManager
- Return a logical row representing an update that should be made to
all rows of the given table. The action must be one of
Row.ACTION_UPDATE, Row.ACTION_DELETE.
- Specified by:
getAllRows in interface RowManager
flushAllRows
public void flushAllRows(Row)
- Description copied from interface:
RowManager
- Flush the logical row.
- Specified by:
flushAllRows in interface RowManager
getRow
public Row getRow(Table,
int,
KodoStateManager,
boolean)
- Description copied from interface:
RowManager
- Return the row for the given table and owner object, or null if
create is false and the row has not already been created.
The action must be one of Row.ACTION_INSERT,
Row.ACTION_UPDATE, Row.ACTION_DELETE.
- Specified by:
getRow in interface RowManager
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.