|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.DepthFirstSearch
public class DepthFirstSearch
The DepthFirstSearch class performs a depth-first search on a SQLDatabase, treating it as a graph where the SQLTable objects are the vertices and SQLRelationships are the edges that connect them.
| Constructor Summary | |
|---|---|
DepthFirstSearch(java.util.List<SQLTable> tables)
|
|
DepthFirstSearch(SQLDatabase db)
|
|
| Method Summary | |
|---|---|
java.util.List<SQLTable> |
getFinishOrder()
Gives back the order in which the vertices of these graphs were finished (coloured black) by the DFS. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DepthFirstSearch(SQLDatabase db)
throws ArchitectException
ArchitectException
public DepthFirstSearch(java.util.List<SQLTable> tables)
throws ArchitectException
ArchitectException| Method Detail |
|---|
public java.util.List<SQLTable> getFinishOrder()
See finishOrder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||