org.objectweb.medor.eval.lib
Class BasicEvaluationMetaData
java.lang.Object
org.objectweb.medor.eval.lib.BasicEvaluationMetaData
- EvaluationMetaData
public class BasicEvaluationMetaData
extends java.lang.Object
- Sebastien Chassande-Barrioz
int | getLimitedRangeSize() - Gets the maximum number of tuples to be returned by the evaluation in
the case of a range-limited evaluation.
|
int | getLimitedRangeStartAt() - Gets the value for the rank of the first tuple to be returned by the
evaluation in the case of a range-limited evaluation.
|
boolean | isCache() - Get the value of the boolean indicating whether cache is used for
materialization of intermediate results at evaluation time.
|
boolean | isLimitedRange() - Gets the value of the boolean indicating whether a limited range of
evaluation is performed.
|
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 | setLimitedRangeSize(int number) - Sets the maximum number of tuples to be returned by the evaluation in
the case of a range-limited evaluation.
|
void | setLimitedRangeStartAt(int start) - Sets the value for the rank of the first tuple to be returned by the
evaluation in the case of a range-limited evaluation.
|
void | setParallel(boolean isParallel) - Set a boolean for declaring parallel evaluation of sub-QueryTrees.
|
getLimitedRangeSize
public int getLimitedRangeSize()
Gets the maximum number of tuples to be returned by the evaluation in
the case of a range-limited evaluation.
- getLimitedRangeSize in interface EvaluationMetaData
- the maximum number of tuples to be returned by the evaluation.
getLimitedRangeStartAt
public int getLimitedRangeStartAt()
Gets the value for the rank of the first tuple to be returned by the
evaluation in the case of a range-limited evaluation.
- getLimitedRangeStartAt in interface EvaluationMetaData
- the value for the first tuple to be returned by the evaluation,
starting at 0.
isCache
public boolean isCache()
Get the value of the boolean indicating whether cache is used for
materialization of intermediate results at evaluation time.
- isCache in interface EvaluationMetaData
- the boolean indicating whether the cache is used for
materialization of intermediate results.
isLimitedRange
public boolean isLimitedRange()
Gets the value of the boolean indicating whether a limited range of
evaluation is performed.
If true, there should be a value for the first tuple index and a
value for the maximum number of tuples to be returned by
the evaluation.
- isLimitedRange in interface EvaluationMetaData
- true if limited range evaluation is to be performed.
isParallel
public boolean isParallel()
Get the value of the boolean indicating whether parallel evaluation
of sub-QueryTrees is performed.
- isParallel in interface EvaluationMetaData
- the boolean indicating parallel evaluation of sub-QueryTrees is
performed.
setCache
public void setCache(boolean isCache)
Set a boolean for declaring the use of a cache for intermediate
materialization of results at evaluation time.
- setCache in interface EvaluationMetaData
setLimitedRangeSize
public void setLimitedRangeSize(int number)
Sets the maximum number of tuples to be returned by the evaluation in
the case of a range-limited evaluation.
- setLimitedRangeSize in interface EvaluationMetaData
number
- the maximum number of tuples to be returned by the
evaluation
setLimitedRangeStartAt
public void setLimitedRangeStartAt(int start)
Sets the value for the rank of the first tuple to be returned by the
evaluation in the case of a range-limited evaluation.
- setLimitedRangeStartAt in interface EvaluationMetaData
start
- the index of the first tuple to be returned by the
evaluation, stating at 0.
setParallel
public void setParallel(boolean isParallel)
Set a boolean for declaring parallel evaluation of sub-QueryTrees.
- setParallel in interface EvaluationMetaData