|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionEngine
TODO: provide a manner to generate/collect logging information for DBG purposes TODO: add keys for properties/statistics
Method Summary | |
---|---|
Collection<String> |
activeScopes()
List scopes that are active in the back-end |
void |
close()
Clean-up and releasing of resources. |
ExecPhysicalPlan |
compile(ExecLogicalPlan[] plans,
Properties properties)
|
ExecPhysicalPlan |
compile(ExecLogicalPlan plan,
Properties properties)
Compiles a logical plan into a physical plan, given a set of configuration properties that apply at the plan-level. |
ExecJob |
execute(ExecPhysicalPlan plan)
Execute the physical plan in blocking mode. |
Properties |
getConfiguration()
Provides configuration information about the execution engine itself. |
DataStorage |
getDataStorage()
|
Map<String,Object> |
getStatistics()
Provides statistics on the Execution Engine: number of nodes, node failure rates, average load, average job wait time... |
void |
init()
Place holder for possible initialization activities. |
void |
reclaimScope(String scope)
A mechanism to communicate to the back-end that a set of logical plans go out of scope |
Collection<ExecJob> |
runningJobs(Properties properties)
Return currently running jobs (can be useful for admin purposes) |
ExecJob |
submit(ExecPhysicalPlan plan)
Execute the physical plan in non-blocking mode |
void |
updateConfiguration(Properties newConfiguration)
Provides a way to dynamically change configuration parameters at the Execution Engine level. |
Method Detail |
---|
void init() throws ExecException
ExecException
void close() throws ExecException
ExecException
DataStorage getDataStorage()
Properties getConfiguration() throws ExecException
ExecException
void updateConfiguration(Properties newConfiguration) throws ExecException
newConfiguration
- - the new configuration settings
when
- configuration conflicts are detected
ExecException
Map<String,Object> getStatistics() throws ExecException
ExecException
ExecPhysicalPlan compile(ExecLogicalPlan plan, Properties properties) throws ExecException
logical
- planproperties
-
ExecException
ExecPhysicalPlan compile(ExecLogicalPlan[] plans, Properties properties) throws ExecException
ExecException
ExecJob execute(ExecPhysicalPlan plan) throws ExecException
ExecException
ExecJob submit(ExecPhysicalPlan plan) throws ExecException
ExecException
Collection<ExecJob> runningJobs(Properties properties) throws ExecException
ExecException
Collection<String> activeScopes() throws ExecException
ExecException
void reclaimScope(String scope) throws ExecException
scope
-
ExecException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |