agentland.resource.connect
Class SQLGraph
java.lang.Object
|
+--util.graph.Graph
|
+--util.graph.PermGraph
|
+--agentland.resource.connect.SQLGraph
- public class SQLGraph
- extends PermGraph
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
queryDB
protected ResultSet queryDB(String qry)
openTable
public void openTable(String table)
- Description copied from class: PermGraph
- Open the table for read/write to save/load graph.
- Overrides:
- openTable in class PermGraph
saveEdge
public void saveEdge(String from,
String outPort,
String to,
String inPort)
saveEdge
protected void saveEdge(Edge e)
- Description copied from class: PermGraph
- Save an edge to the table.
- Overrides:
- saveEdge in class PermGraph
loadEdge
protected Edge loadEdge()
- Description copied from class: PermGraph
- Return the next edge in a table. Return null
if no edges remaining, otherwise return an Edge object.
- Overrides:
- loadEdge in class PermGraph
execSQL
protected int execSQL(String s)
execSQL
protected int execSQL(String s,
boolean loud)