| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.syrup.sql.Functions
org.syrup.sql.SQLStatements
org.syrup.sql.mysql.MySQLStatements
Utility class that provides all the MySQL statements needed for the creation, updating and deletion of Syrup objects.
| Constructor Summary | |
MySQLStatements(SQLImpl impl)
Constructor for the MySQLStatements object  | 
|
| Method Summary | |
 java.lang.String | 
createLinkTableStatement()
Returns create table link(from_task varchar(255), from_port SMALLINT, to_task varchar(255), to_port SMALLINT, data BLOB, index(from_task), index(to_task), index(from_task, from_port), index(to_task, to_port)) ENGINE=InnoDB  | 
 java.lang.String | 
createLogTableStatement()
Returns create table syrup_log(creation_time BIGINT not null, key_ varchar(255) not null, event INT not null, worker varchar(255) not null, index(creation_time), index(key_), index(event), index(worker)) ENGINE=InnoDB  | 
 java.lang.String | 
createTaskTableStatement()
Returns create table task(key_ varchar(255) not null, parent_key varchar(255) not null, function_class varchar(255) not null, name varchar(255), description varchar(255), parameter varchar(255), environment varchar(255), or_type SMALLINT not null, worker varchar(255) not null, executable SMALLINT not null, done SMALLINT not null, creation_time BIGINT not null, modification_time BIGINT not null, modifications BIGINT not null, is_parent SMALLINT not null, index(key_), index(parent_key), index(function_class), index(name), index(description), index(environment), index(or_type), index(worker), index(executable), index(done), index(creation_time), index(modification_time), index(modifications), index(is_parent), index(executable, worker, creation_time, modification_time, modifications)) ENGINE=InnoDB  | 
| Methods inherited from class org.syrup.sql.Functions | 
sqlImpl | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public MySQLStatements(SQLImpl impl)
impl - Description of the Parameter| Method Detail | 
public java.lang.String createLogTableStatement()
createLogTableStatement in class SQLStatementspublic java.lang.String createTaskTableStatement()
createTaskTableStatement in class SQLStatementspublic java.lang.String createLinkTableStatement()
createLinkTableStatement in class SQLStatements
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||