org.objectweb.medor.optim.lib

Class MedorSourceTypeCompiler

Implemented Interfaces:
ExecPlanGenerator, QueryTransformer

public class MedorSourceTypeCompiler
extends java.lang.Object
implements ExecPlanGenerator

Package definition.

Constructor Summary

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

Method Summary

void
addLibraryPath(String classpath)
void
builtFilterSources(QueryTree query)
void
builtTCTypeSources(QueryTree query)
void
generateTCTypeClass()
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

MedorSourceTypeCompiler

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

Method Details

addLibraryPath

public void addLibraryPath(String classpath)
            throws MedorException


builtFilterSources

public void builtFilterSources(QueryTree query)
            throws MedorException


builtTCTypeSources

public void builtTCTypeSources(QueryTree query)
            throws MedorException


generateTCTypeClass

public void generateTCTypeClass()
            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