org.objectweb.medor.query.lib
Class BasicOptimizationMetaData

java.lang.Object
  extended byorg.objectweb.medor.query.lib.BasicOptimizationMetaData
All Implemented Interfaces:
OptimizationMetaData

public class BasicOptimizationMetaData
extends java.lang.Object
implements OptimizationMetaData

Author:
Sebastien Chassande-Barrioz

Constructor Summary
BasicOptimizationMetaData()
           
 
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 isParallel)
          Set a boolean for declaring parallel evaluation of sub-QueryTrees.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicOptimizationMetaData

public BasicOptimizationMetaData()
Method Detail

setCache

public void setCache(boolean isCache)
Description copied from interface: OptimizationMetaData
Set a boolean for declaring the use of a cache for intermediate materialization of results at evaluation time.

Specified by:
setCache in interface OptimizationMetaData

isCache

public boolean isCache()
Description copied from interface: OptimizationMetaData
Get the value of the boolean indicating whether cache is used for materialization of intermediate results at evaluation time.

Specified by:
isCache in interface OptimizationMetaData
Returns:
the boolean indicating whether the cache is used for materialization of intermediate results.

setParallel

public void setParallel(boolean isParallel)
Description copied from interface: OptimizationMetaData
Set a boolean for declaring parallel evaluation of sub-QueryTrees.

Specified by:
setParallel in interface OptimizationMetaData

isParallel

public boolean isParallel()
Description copied from interface: OptimizationMetaData
Get the value of the boolean indicating whether parallel evaluation of sub-QueryTrees is performed.

Specified by:
isParallel in interface OptimizationMetaData
Returns:
the boolean indicating parallel evaluation of sub-QueryTrees is performed.