|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ajax.exec.AjaxImpl
Field Summary | |
static java.util.List |
functionsToSQL
list of functions that need to be called from within an SQL statement |
static java.lang.String |
programSummary
To initialize the summary of program execution |
static java.lang.String |
programSummaryMessage
|
Constructor Summary | |
AjaxImpl()
Starts the Ajax system. |
Method Summary | |
void |
clean()
Starts the cleaning program by invoking the scheduler. |
void |
customize(TransformationExecutionObserver obs,
int nbTuples,
boolean blocking)
Parameterize Ajax Partially implemented for the moment. |
void |
deleteTuple(java.lang.String transformation,
int tupleId)
Deletes one output tuple of a transformation |
ExecutionSummary |
execute(java.lang.String transformationName)
Executes a transformation |
java.lang.String |
executeAll()
Executes all the transformations |
java.lang.String |
getAllSummary()
Returns a String representing the summary of program execution in HTML format |
java.util.List |
getExecutionTree()
Gets the graph of transformations and data flows that compose the cleaning program. |
GraphParameter |
getGraphParameter()
Prepares and returns the parameter object that should be used as by the applet for displaying the graph. |
ExecutionSummary |
getSummary(java.lang.String transformationName)
|
Table |
getTable(java.lang.String tableName)
Returns the table object associated to this table name. |
java.lang.String |
getTransformationCode(java.lang.String transformation)
Gets the transformation code. |
java.lang.String |
getTransformationHtmlCode(java.lang.String transformation)
Gets the transformation code into html format |
java.util.List |
getTransformations()
Returns a list of ajax.gui.graph.TransformationInfo objects which represent the list of the transformations applied. |
long |
getTupleCount(java.lang.String tableName)
Returns the number of tuples from a TABLE (working with RDBMS only) |
java.util.Enumeration |
listTablesNames()
|
java.util.List |
listTransformationsNames()
|
void |
load(java.lang.String location)
Loads the cleaning specification program, parses and optimizes it. |
static void |
main(java.lang.String[] args)
Starts the Ajax system |
void |
modifyTransformationCode(java.lang.String transformation,
java.lang.String newCode)
Modifies the transformation code. |
void |
resetJDBCConnection()
To reset the connection to the RDBMS |
void |
resume()
Resumes the cleaning process after handling the Exceptions of one transformation |
void |
saveWeaveFiles()
Saves generated Weave specification files |
void |
setWeaveRunTimePolicies(java.io.BufferedWriter bfw)
Generates and writes the specification runtime policy file, needed by Weave to implement the Explainer. |
void |
setWeaveSchemas(java.io.BufferedWriter bfw)
Generates and writes the specification schemas file, needed by Weave to implement the Explainer. |
void |
undo(java.lang.String transformation)
Undo the transformation actions |
void |
updateTuple(java.lang.String transformation,
int tupleId)
Update one output tuple of a transformation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.util.List functionsToSQL
public static java.lang.String programSummary
public static java.lang.String programSummaryMessage
Constructor Detail |
public AjaxImpl()
Method Detail |
public void load(java.lang.String location) throws AjaxException
load
in interface AjaxAPI
public void customize(TransformationExecutionObserver obs, int nbTuples, boolean blocking) throws AjaxException
customize
in interface AjaxAPI
public void clean() throws AjaxException
clean
in interface AjaxAPI
public ExecutionSummary execute(java.lang.String transformationName) throws AjaxException
execute
in interface AjaxAPI
public java.lang.String executeAll() throws AjaxException
public java.util.List listTransformationsNames()
listTransformationsNames
in interface AjaxAPI
public java.util.Enumeration listTablesNames()
listTablesNames
in interface AjaxAPI
public java.util.List getExecutionTree() throws AjaxException
getExecutionTree
in interface AjaxAPI
public void modifyTransformationCode(java.lang.String transformation, java.lang.String newCode) throws AjaxException
modifyTransformationCode
in interface AjaxAPI
public java.lang.String getTransformationCode(java.lang.String transformation)
getTransformationCode
in interface AjaxAPI
public java.lang.String getTransformationHtmlCode(java.lang.String transformation)
public void resume() throws AjaxException
resume
in interface AjaxAPI
public void undo(java.lang.String transformation) throws AjaxException
undo
in interface AjaxAPI
public void updateTuple(java.lang.String transformation, int tupleId) throws AjaxException
updateTuple
in interface AjaxAPI
public void deleteTuple(java.lang.String transformation, int tupleId) throws AjaxException
deleteTuple
in interface AjaxAPI
public GraphParameter getGraphParameter() throws AjaxException
getGraphParameter
in interface AjaxAPI
public java.util.List getTransformations() throws AjaxException
getTransformations
in interface AjaxAPI
public ExecutionSummary getSummary(java.lang.String transformationName)
public java.lang.String getAllSummary()
public void setWeaveSchemas(java.io.BufferedWriter bfw) throws CatalogException, java.io.IOException
bfw
- a BufferedWriter object where to write
the generated sch codepublic void setWeaveRunTimePolicies(java.io.BufferedWriter bfw) throws CatalogException, java.io.IOException
bfw
- a BufferedWriter object where to write
the generated rtp codepublic void saveWeaveFiles() throws CatalogException, java.io.IOException
public long getTupleCount(java.lang.String tableName)
public Table getTable(java.lang.String tableName)
name
- the name of the tablepublic void resetJDBCConnection()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |