org.objectweb.medor.optim.lib

Class SourceCodeGeneratorCompiler

Implemented Interfaces:
ExecPlanGenerator, QueryTransformer

public class SourceCodeGeneratorCompiler
extends java.lang.Object
implements ExecPlanGenerator

Package definition.

Constructor Summary

SourceCodeGeneratorCompiler(String outputSourceDirectory, String outputClassdirectory, String[] libraryPaths)

Method Summary

void
addLibraryPath(String classpath)
void
buildFilterSources(QueryTree query)
void
buildTupleLoader(QueryTree query)
String[]
getOutPutDirectoryName()
Iterator
getPathsIterator()
QueryTree
getQueryTree()
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

Constructor Details

SourceCodeGeneratorCompiler

public SourceCodeGeneratorCompiler(String outputSourceDirectory,
                                   String outputClassdirectory,
                                   String[] libraryPaths)
            throws MedorException

Method Details

addLibraryPath

public void addLibraryPath(String classpath)
            throws MedorException


buildFilterSources

public void buildFilterSources(QueryTree query)
            throws MedorException


buildTupleLoader

public void buildTupleLoader(QueryTree query)
            throws MedorException


getOutPutDirectoryName

public String[] getOutPutDirectoryName()


getPathsIterator

public Iterator getPathsIterator()


getQueryTree

public QueryTree getQueryTree()


getSourceFileIterator

public 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