org.objectweb.medor.optim.lib
Class SourceCodeGeneratorCompiler

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 void addLibraryPath(java.lang.String classpath)
           
 void buildFilterSources(QueryTree query)
           
 void buildTupleLoader(QueryTree query)
           
 java.lang.String[] getOutPutDirectoryName()
           
 java.util.Iterator getPathsIterator()
           
 QueryTree getQueryTree()
           
 java.util.Iterator getSourceFileIterator()
           
 QueryTree transform(QueryTree query)
          In this case we will load the query filters generated class into the vm and reaffect them to the new QueryTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceCodeGeneratorCompiler

public SourceCodeGeneratorCompiler(java.lang.String outputSourceDirectory,
                                   java.lang.String outputClassdirectory,
                                   java.lang.String[] libraryPaths)
                            throws MedorException
Method Detail

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()