uk.ac.bbk.dcs.automed.qproc.functions.internal
Class CallToWrapper
java.lang.Object
uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
uk.ac.bbk.dcs.automed.qproc.functions.internal.CallToWrapper
- Direct Known Subclasses:
- Call2Wrapper
public class CallToWrapper
- extends BuiltInFunction
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cacheOn
protected boolean cacheOn
totalWrapperCalls
public static int totalWrapperCalls
realWrapperCalls
public static int realWrapperCalls
totalTimeSpent
public static long totalTimeSpent
cacheTimeSpent
public static long cacheTimeSpent
dsTimeSpent
public static long dsTimeSpent
copyTimeSpent
public static long copyTimeSpent
totalStart
protected long totalStart
totalEnd
protected long totalEnd
cacheStart
protected long cacheStart
cacheEnd
protected long cacheEnd
dsStart
protected long dsStart
dsEnd
protected long dsEnd
copyStart
protected long copyStart
copyEnd
protected long copyEnd
CallToWrapper
public CallToWrapper()
throws ParseException
- Throws:
ParseException
initialisePerfVars
public static void initialisePerfVars()
perform
public Cell perform(Cell[] args,
Evaluator e)
throws TypeException,
QProcException
- Specified by:
perform in class BuiltInFunction
- Returns:
- a Cell object that is the root of a graph that represents the result of applying the built-in function to the arguments args. Uses
the Evaluator e to evaluate any sub-queries that need to be evaluated.
- Throws:
TypeException
QProcException
readFile
protected Cell readFile(java.lang.Object o,
Evaluator e,
ASG q,
java.util.Map cache)
cacheResult
protected boolean cacheResult(ASG g,
ASG q,
Cell result,
java.util.Map cache)