|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.sql.transaction.delete.TableGraph
class TableGraph
Represents a delete operation on the relational (table) level. Contains explicit information on all table rows to be removed from the database and their foreign key references.
FeatureGraph| Constructor Summary | |
|---|---|
TableGraph(FeatureGraph featureGraph,
DeleteHandler handler)
Creates a new DeleteGraph instance from the given FeatureGraph. |
|
| Method Summary | |
|---|---|
(package private) TableNode |
findNode(FeatureId fid)
Returns the TableNode that represents the specified feature instance. |
(package private) TableNode |
findNode(TableNode newNode)
Returns the TableNode that represents the specified feature instance (given as a TableNode). |
(package private) int |
getDeletableRootFeatureCount()
Returns the number of deletable root features. |
(package private) java.util.List<TableNode> |
getDeletionOrder()
Returns the nodes of the graph in topological order, i.e. they may be deleted in that order without violating any foreign key constraints. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
TableGraph(FeatureGraph featureGraph,
DeleteHandler handler)
throws DatastoreException
DeleteGraph instance from the given FeatureGraph.
featureGraph - handler -
DatastoreException| Method Detail |
|---|
int getDeletableRootFeatureCount()
TableNode findNode(FeatureId fid)
TableNode that represents the specified feature instance.
fid - FeatureId of the feature instance
TableNode findNode(TableNode newNode)
TableNode that represents the specified feature instance (given as a TableNode).
newNode - feature to look up
java.util.List<TableNode> getDeletionOrder()
NOTE: If the foreign key constraints constitute a cycle, no topological order is possible and the initial order (arbitrary) is returned.
public java.lang.String toString()
toString in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org