org.objectweb.medor.query.api
Interface OptimizationMetaData

All Known Implementing Classes:
BasicOptimizationMetaData

public interface OptimizationMetaData

This interface is used for QueryTrees which can be optimized.


Method Summary
 boolean isCache()
          Get the value of the boolean indicating whether cache is used for materialization of intermediate results at evaluation time.
 boolean isParallel()
          Get the value of the boolean indicating whether parallel evaluation of sub-QueryTrees is performed.
 void setCache(boolean isCache)
          Set a boolean for declaring the use of a cache for intermediate materialization of results at evaluation time.
 void setParallel(boolean isTupleLoader)
          Set a boolean for declaring parallel evaluation of sub-QueryTrees.
 

Method Detail

setCache

public void setCache(boolean isCache)
Set a boolean for declaring the use of a cache for intermediate materialization of results at evaluation time.


isCache

public boolean isCache()
Get the value of the boolean indicating whether cache is used for materialization of intermediate results at evaluation time.

Returns:
the boolean indicating whether the cache is used for materialization of intermediate results.

setParallel

public void setParallel(boolean isTupleLoader)
Set a boolean for declaring parallel evaluation of sub-QueryTrees.


isParallel

public boolean isParallel()
Get the value of the boolean indicating whether parallel evaluation of sub-QueryTrees is performed.

Returns:
the boolean indicating parallel evaluation of sub-QueryTrees is performed.