ajax.catalog
Class Matching
java.lang.Object
|
+--ajax.catalog.Transformation
|
+--ajax.catalog.Matching
- All Implemented Interfaces:
- CatalogObject
- public class Matching
- extends Transformation
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 |
Method Summary |
java.lang.String |
finalSelectToSQL(boolean toFile)
Builds the Select clause of a "pure" SQL execution of the matching |
void |
init(java.lang.String name,
java.util.LinkedList output,
java.util.List from,
Expression algo,
java.util.LinkedList let,
Expression where)
Fills in the components of the matching transformation |
java.lang.String |
selectToSQL(java.lang.String outputName)
Constructs the inner Select clause of a "pure" SQL execution of the matching |
java.lang.String |
toHtml()
Converts the matching into an Html read-able object. |
java.lang.String |
toString()
Converts the matching into a human read-able object. |
java.lang.String |
toTableQuery(java.lang.String outputName,
boolean toFile)
Converts the matching into an SQL statement |
void |
toXML(java.lang.String XMLfileName)
Converts the transformation into an XML document |
Methods inherited from class ajax.catalog.Transformation |
addAsList, addEmbeddedQuery, closeFile, closeOutputFiles, closeOutputJdbc, createOutputFiles, createOutputTables, declareTransfer, doOuterJoinInSQL, dump, dumpQuery, exceptionsToJava, fromToSQL, getAllOutputNames, getExceptionsLet, getExceptionTable, getFields, getFieldType, getFrom, getIndex, getIndexAttribute, getInputNames, getInputTable, getKey, getKeyAs, getLet, getMatTable, getName, getOutput, getOutput, getOutputException, getOutputNames, getOutputSize, getOutputTable, getTable, getTransfType, getWhere, hasNullConstraint, initialize, isClustering, isFromTable, isLetOptimizableDE, isLetToSQL, isMapping, isMatching, isMerging, isToSQL, isToTable, isTransformation, isView, KeyExceptionToJava, letToJava, load, main, openFile, outerOutputIter, selectToJava, selectToSQL, selectToSQLToTable, setExceptionOutput, setFromFile, setFromTable, setName, setOuterOutput, setToFile, setToJava, setToSQL, setToTable, setWeaveOutputsSchemas, setWeaveRunTimePolicies, toJava, toJavaBody, toJavaFromInput, toJavaQuery, toSQL, toTableQuery, updateAuxiliaryFunctions, whereToJava, whereToSQL, writeCollection, writeHtmlCollection, writeTailClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Matching
public Matching()
init
public void init(java.lang.String name,
java.util.LinkedList output,
java.util.List from,
Expression algo,
java.util.LinkedList let,
Expression where)
throws CatalogException,
AjaxTypeException
- Fills in the components of the matching transformation
- Overrides:
init
in class Transformation
toTableQuery
public java.lang.String toTableQuery(java.lang.String outputName,
boolean toFile)
throws ajax.catalog.TransfException
- Converts the matching into an SQL statement
finalSelectToSQL
public java.lang.String finalSelectToSQL(boolean toFile)
- Builds the Select clause of a "pure" SQL execution of the matching
selectToSQL
public java.lang.String selectToSQL(java.lang.String outputName)
- Constructs the inner Select clause of a "pure" SQL execution of the matching
toXML
public void toXML(java.lang.String XMLfileName)
- Converts the transformation into an XML document
- Overrides:
toXML
in class Transformation
toString
public java.lang.String toString()
- Converts the matching into a human read-able object.
- Overrides:
toString
in class Transformation
toHtml
public java.lang.String toHtml()
- Converts the matching into an Html read-able object.
- Overrides:
toHtml
in class Transformation