public interface ICallableRepository
Modifier and Type | Method and Description |
---|---|
IExecutionResult |
call(String name,
IExecutionContext ctxt)
Requests call to the
ICallable identified by its name inside the repository. |
CostInfo |
getEstimatedReadCost(String name,
ICompilationContext ctxt)
Computes an estimated cost of the whole callable execution, in order to be able to
optimize accurately.
|
boolean |
validate(String name)
Validates that the named
ICallable exists in this repository. |
boolean validate(String name)
ICallable
exists in this repository.name
- Name of the ICallable
to validateIExecutionResult call(String name, IExecutionContext ctxt) throws MExecutionException
ICallable
identified by its name inside the repository.name
- Name of the ICallable
to callctxt
- Execution contextMExecutionException
CostInfo getEstimatedReadCost(String name, ICompilationContext ctxt) throws MRuleValidationException
ctxt
- Compilation context.MRuleValidationException