|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ajax.catalog.Transformation | +--ajax.catalog.EmbeddedQuery
Fields inherited from class ajax.catalog.Transformation |
CLUST, DBTransferStr, dirExec, dirFiles, dirFunctions, embeddedOutput, endEvaluateHeader, evaluateHeader, evaluateTail, exceptionOutput, FROM_FILE, FROM_TABLE, generatedCodeType, ifTail, importIOException, importList, importRunnableTransf, importSqlException, importSqlResultSet, importWrapperException, importWrapperManager, inputType, JAVA_CODE, MAPP, MATCH, MERG, newLine, outerOutput, outputType, SQL_CODE, tail, TO_FILE, TO_TABLE, transfType, VIEW, wrapperInitialization |
Constructor Summary | |
EmbeddedQuery(java.lang.String outputName,
Transformation context)
The ctor of this class. |
Method Summary | |
void |
asArrayToJava(java.io.Writer outStream,
Expression variable)
This method translates an EmbeddedQuery object into Java code when the EmbeddedQuery corresponds to a query whose result is assigned to a variable declared in the LET clause of the context transformation. |
void |
init(java.util.List outerFrom)
Fills in the components of a mapping transformation. |
void |
set(java.util.LinkedList output,
java.util.List from,
Expression where)
Set some attributes of this class. |
java.lang.String |
toHtml()
Converts the EmbeddedQuery to html format. |
void |
toJavaBody(java.io.Writer outStream)
functions that writes the body of this transformation using the Java language. |
protected void |
toJavaBody(java.io.Writer outStream,
Table[] matTable)
Generates code for executing the body of the transformation We are using the exception table of the context transformation to store possible exceptions that may arise in the execution of this transformation. |
java.lang.String |
toString()
Converts the EmbeddedQuery into a human read-able object. |
void |
toXML(java.lang.String XMLfileName)
Converts the transformation into an XML document |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EmbeddedQuery(java.lang.String outputName, Transformation context)
Method Detail |
public final void set(java.util.LinkedList output, java.util.List from, Expression where)
public void init(java.util.List outerFrom) throws CatalogException, AjaxTypeException
public final void toJavaBody(java.io.Writer outStream) throws CatalogException, java.io.IOException, ExpressionException, AjaxTypeException
protected void toJavaBody(java.io.Writer outStream, Table[] matTable) throws CatalogException, java.io.IOException, ExpressionException, AjaxTypeException
toJavaBody
in class Transformation
public void asArrayToJava(java.io.Writer outStream, Expression variable) throws CatalogException, java.io.IOException, ExpressionException, AjaxTypeException
variable
- is the variable which describe the expression that
contains the assignment of this embedded query.public void toXML(java.lang.String XMLfileName)
toXML
in class Transformation
public java.lang.String toString()
toString
in class Transformation
public java.lang.String toHtml()
toHtml
in class Transformation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |