org.objectweb.medor.optim.lib
Class SourceCodeGeneratorCompiler
java.lang.Object
org.objectweb.medor.optim.lib.SourceCodeGeneratorCompiler
- All Implemented Interfaces:
- ExecPlanGenerator, QueryTransformer
- public class SourceCodeGeneratorCompiler
- extends java.lang.Object
- implements ExecPlanGenerator
Constructor Summary |
SourceCodeGeneratorCompiler(java.lang.String outputSourceDirectory,
java.lang.String outputClassdirectory,
java.lang.String[] libraryPaths)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceCodeGeneratorCompiler
public SourceCodeGeneratorCompiler(java.lang.String outputSourceDirectory,
java.lang.String outputClassdirectory,
java.lang.String[] libraryPaths)
throws MedorException
buildFilterSources
public void buildFilterSources(QueryTree query)
throws MedorException
- Throws:
MedorException
buildTupleLoader
public void buildTupleLoader(QueryTree query)
throws MedorException
- Throws:
MedorException
getQueryTree
public QueryTree getQueryTree()
getOutPutDirectoryName
public java.lang.String[] getOutPutDirectoryName()
getSourceFileIterator
public java.util.Iterator getSourceFileIterator()
transform
public QueryTree transform(QueryTree query)
throws MedorException
- In this case we will load the query filters generated class into the vm
and reaffect them to the new QueryTree
- Specified by:
transform
in interface QueryTransformer
- Throws:
MedorException
addLibraryPath
public void addLibraryPath(java.lang.String classpath)
throws MedorException
- Throws:
MedorException
getPathsIterator
public java.util.Iterator getPathsIterator()