|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SyrupConnection | |
org.syrup.sql | The concrete RDMS/JDBC implementation of Syrup. |
Uses of SyrupConnection in org.syrup.sql |
Methods in org.syrup.sql that return SyrupConnection | |
protected SyrupConnection |
SQLWorkSpace.syrupConnection()
Return the SyrupConnection that is used to optimize SQL commands. |
protected SyrupConnection |
SQLWorkSpace.readConnection()
Returns the read-only SyrupConnection that is used internally. |
protected SyrupConnection |
SQLWorkSpace.writeConnection()
Returns the read-write SyrupConnection that is used internally. |
Methods in org.syrup.sql with parameters of type SyrupConnection | |
protected java.lang.String |
CreationFunctions.newTask(Task t,
PTask parent,
SyrupConnection con)
Creates a new Task by executing SQL statements over a Connection. |
protected void |
CreationFunctions.newLink(Link l,
java.util.Hashtable map,
SyrupConnection con)
Creates a new Link by executing SQL statements over a Connection. |
void |
CreationFunctions.reset(SyrupConnection con)
Empties the Workspace by executing SQL statements over a Connection. |
void |
CreationFunctions.createTables(SyrupConnection con)
Creates an initial Workspace by executing SQL statements over a Connection. |
protected Context |
ExecutionFunctions.start(PTask pt,
java.lang.String w,
SyrupConnection con)
Starts the execution of a PTask by executing SQL statements over a Connection. |
protected PTask |
ExecutionFunctions.commit_result(Result r,
SyrupConnection con)
Commits the Result of an execution by executing SQL statements over a Connection. |
void |
GenericFunctions.set_in_1(Data data,
SyrupConnection con)
Sets the first input by executing SQL statements over a Connection.. |
void |
GenericFunctions.set_in_2(Data data,
SyrupConnection con)
Sets the second input by executing SQL statements over a Connection.. |
Data |
GenericFunctions.get_out_1(SyrupConnection con)
Returns the first output by executing SQL statements over a Connection.. |
Data |
GenericFunctions.get_out_2(SyrupConnection con)
Returns the second output by executing SQL statements over a Connection.. |
PTask[] |
GenericFunctions.match(PTaskTemplate template,
SyrupConnection con)
Get PTasks matching the PTaskTemplate. |
LogEntry[] |
GenericFunctions.match(LogEntryTemplate template,
SyrupConnection con)
Get LogEntries matching the LogEntryTemplate. |
Context[] |
GenericFunctions.get(PTaskTemplate t,
SyrupConnection con)
Get the Contexts of PTasks that match the PTaskTemplate. |
void |
GenericFunctions.reset(SyrupConnection con)
Resets the WorkSpace to the initial state. |
PTask |
GenericFunctions.stop(PTask task,
SyrupConnection con)
Stop non-progressing executions of a PTask. |
void |
GenericFunctions.close(SyrupConnection con)
Utility method that closes the Connection. |
protected void |
LoggingFunctions.log(java.lang.String key,
int event,
SyrupConnection con)
Logs important Syrup Events by executing SQL statements over a Connection. |
protected boolean |
QueryFunctions.checkDone(java.lang.String key,
SyrupConnection con)
Returns true if a PTask is done by executing SQL statements over a Connection. |
protected boolean |
QueryFunctions.checkInDone(java.lang.String key,
boolean port,
SyrupConnection con)
Returns true if the input Port of a PTask is done by executing SQL statements over a Connection. |
protected boolean |
QueryFunctions.checkOutDone(java.lang.String key,
boolean port,
SyrupConnection con)
|
protected boolean |
QueryFunctions.checkOrType(java.lang.String key,
SyrupConnection con)
Returns true if a PTask is of type OR by executing SQL statements over a Connection. |
protected boolean |
QueryFunctions.checkOutLinkFull(java.lang.String key,
boolean port,
SyrupConnection con)
Returns true if the out Link of a PTask is full by executing SQL statements over a Connection. |
protected boolean |
QueryFunctions.checkInLinkFull(java.lang.String key,
boolean port,
SyrupConnection con)
Returns true if the input Link of a PTask is done by executing SQL statements over a Connection. |
protected boolean |
QueryFunctions.checkTargetLink(java.lang.String statement,
java.lang.String key,
boolean port,
SyrupConnection con)
Returns true if the input Link of a PTask is done by executing SQL statements over a Connection. |
protected EndPoint |
QueryFunctions.readOutEndPoint(java.lang.String key,
boolean port,
SyrupConnection con)
Returns the out EndPoint of a PTask by executing SQL statements over a Connection. |
protected EndPoint |
QueryFunctions.readInEndPoint(java.lang.String key,
boolean port,
SyrupConnection con)
Returns the in EndPoint of a PTask by executing SQL statements over a Connection. |
protected EndPoint |
QueryFunctions.readTargetEndPoint(java.lang.String st,
java.lang.String key,
boolean port,
SyrupConnection con)
Returns the in/out EndPoint of a PTask by executing SQL statements over a Connection. |
protected java.lang.String |
QueryFunctions.readOutTask(java.lang.String key,
boolean port,
SyrupConnection con)
Returns the out PTask identifier of a PTask by executing SQL statements over a Connection. |
protected java.lang.String |
QueryFunctions.readInTask(java.lang.String key,
boolean port,
SyrupConnection con)
Returns the in PTask identifier of a PTask by executing SQL statements over a Connection. |
protected java.lang.String |
QueryFunctions.readTargetLinkTask(java.lang.String st,
java.lang.String key,
boolean port,
SyrupConnection con)
Returns the in/out PTask identifier of a PTask by executing SQL statements over a Connection. |
protected Context |
QueryFunctions.readContext(PTask p,
SyrupConnection con)
Returns the Context of a PTask by executing SQL statements over a Connection. |
protected PTask |
QueryFunctions.readPTask(java.lang.String key,
SyrupConnection con)
Returns the PTask, given an identifier, by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.updateOutLink(java.lang.String from,
boolean from_port,
Data data,
SyrupConnection con)
Updates the outgoing Link of an PTask with Data by executing SQL statements over a SyrupConnection. |
protected void |
UpdateFunctions.updateInLink(java.lang.String to,
boolean to_port,
Data data,
SyrupConnection con)
Updates the ingoing Link of an PTask with Data by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.updateLink(java.lang.String statement,
java.lang.String task,
boolean port,
Data data,
SyrupConnection con)
Utility function that updates the Link of an PTask with Data by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.checkAndUpdateInExecutable(java.lang.String to,
boolean to_port,
SyrupConnection con)
Checks and updates the execution state of an ingoing PTask by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.checkAndUpdateOutExecutable(java.lang.String from,
boolean from_port,
SyrupConnection con)
Checks and updates the execution state of an outgoing PTask by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.checkAndUpdateTargetExecutable(java.lang.String statement,
java.lang.String key,
boolean port,
SyrupConnection con)
Checks and updates the execution state of an ingoing/outgoing PTask by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.checkAndUpdateDone(java.lang.String key,
SyrupConnection con)
Checks and updates the done state of a PTask by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.checkAndUpdateTargetExecutable(java.lang.String key,
SyrupConnection con)
Checks and updates the execution state of a PTask by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.rewireInLink(java.lang.String old_task,
boolean old_port,
InPort ip,
java.util.Hashtable map,
SyrupConnection con)
Rewires the input Link from one PTask to another by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.rewireOutLink(java.lang.String old_task,
boolean old_port,
OutPort op,
java.util.Hashtable map,
SyrupConnection con)
Rewires the output Link from one PTask to another by executing SQL statements over a Connection. |
protected void |
UpdateFunctions.rewireLink(java.lang.String statement,
java.lang.String old_task,
boolean old_port,
Port p,
java.util.Hashtable map,
SyrupConnection con)
Rewires the input/output Link from one PTask to another PTask by executing SQL statements over a Connection. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |