ajax.catalog
Class Clustering
java.lang.Object
|
+--ajax.catalog.Transformation
|
+--ajax.catalog.Clustering
- All Implemented Interfaces:
- CatalogObject
- public class Clustering
- 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 |
void |
init(java.lang.String name,
java.util.LinkedList output,
java.util.List from,
Expression algo,
java.util.LinkedList let,
Expression where)
Fills the components of the clustering transformation |
java.lang.String |
toHtml()
Converts the matching into a human read-able object. |
void |
toJava()
Converts into Java |
protected void |
toJavaBody(java.io.Writer outStream,
Table[] matTable)
Generates code for executing the body of the transformation |
void |
toSQL()
Converts into SQL
Not possible for a Clustering operation |
java.lang.String |
toString()
Converts the matching into a human read-able object. |
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, toJavaFromInput, toJavaQuery, toTableQuery, updateAuxiliaryFunctions, whereToJava, whereToSQL, writeCollection, writeHtmlCollection, writeTailClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Clustering
public Clustering()
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 the components of the clustering transformation
- Overrides:
init
in class Transformation
toSQL
public void toSQL()
throws ajax.catalog.TransfException
- Converts into SQL
Not possible for a Clustering operation
- Overrides:
toSQL
in class Transformation
toJava
public void toJava()
throws CatalogException,
java.io.IOException,
ExpressionException,
AjaxTypeException
- Converts into Java
- Overrides:
toJava
in class Transformation
toJavaBody
protected void toJavaBody(java.io.Writer outStream,
Table[] matTable)
throws java.io.IOException,
CatalogException
- Generates code for executing the body of the transformation
- Overrides:
toJavaBody
in class Transformation
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 a human read-able object.
- Overrides:
toHtml
in class Transformation