Package org.dellroad.stuff.schema
Class SchemaUpdateEdgeLister<T>
java.lang.Object
org.dellroad.stuff.schema.SchemaUpdateEdgeLister<T>
- Type Parameters:
T
- database transaction type
- All Implemented Interfaces:
TopologicalSorter.EdgeLister<SchemaUpdate<T>>
public class SchemaUpdateEdgeLister<T>
extends Object
implements TopologicalSorter.EdgeLister<SchemaUpdate<T>>
TopologicalSorter.EdgeLister
implementation reflecting SchemaUpdate
predecessor constraints.
Graph edges will exist from each update to its predecessors. Note, this is the reverse of the actual desired ordering of the updates.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<SchemaUpdate<T>>
getOutEdges
(SchemaUpdate<T> update) Get the set of all nodes X for which there is an edge fromnode
to X.
-
Constructor Details
-
SchemaUpdateEdgeLister
public SchemaUpdateEdgeLister()
-
-
Method Details
-
getOutEdges
Description copied from interface:TopologicalSorter.EdgeLister
Get the set of all nodes X for which there is an edge fromnode
to X.- Specified by:
getOutEdges
in interfaceTopologicalSorter.EdgeLister<T>
- Parameters:
update
- node in question- Returns:
- set of outgoing edges from
node
-