|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.medor.eval.lib.BasicEvaluationMetaData
Field Summary |
---|
Fields inherited from interface org.objectweb.medor.eval.api.EvaluationMetaData |
---|
ANNOTATION_IS_CACHE, ANNOTATION_IS_LIMITED_RANGE, ANNOTATION_IS_PARALLEL, ANNOTATION_LIMITED_RANGE_SIZE, ANNOTATION_LIMITED_RANGE_START_AT |
Constructor Summary | |
---|---|
BasicEvaluationMetaData()
|
Method Summary | |
---|---|
java.util.Map |
getAnnotations()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicEvaluationMetaData()
Method Detail |
public void setCache(boolean isCache)
EvaluationMetaData
setCache
in interface EvaluationMetaData
public boolean isCache()
EvaluationMetaData
isCache
in interface EvaluationMetaData
public void setParallel(boolean isParallel)
EvaluationMetaData
setParallel
in interface EvaluationMetaData
public boolean isParallel()
EvaluationMetaData
isParallel
in interface EvaluationMetaData
public boolean isLimitedRange()
EvaluationMetaData
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
public void setLimitedRangeStartAt(int start)
EvaluationMetaData
setLimitedRangeStartAt
in interface EvaluationMetaData
start
- the index of the first tuple to be returned by the
evaluation, stating at 0.public int getLimitedRangeStartAt()
EvaluationMetaData
getLimitedRangeStartAt
in interface EvaluationMetaData
public void setLimitedRangeSize(int number)
EvaluationMetaData
setLimitedRangeSize
in interface EvaluationMetaData
number
- the maximum number of tuples to be returned by the
evaluationpublic int getLimitedRangeSize()
EvaluationMetaData
getLimitedRangeSize
in interface EvaluationMetaData
public java.util.Map getAnnotations()
getAnnotations
in interface AnnotationsHolder
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |