|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecJob
Abstraction on a job that the execution engine runs. It allows the front-end to retrieve information on job status and manage a running job.
Nested Class Summary | |
---|---|
static class |
ExecJob.JOB_STATUS
|
Field Summary | |
---|---|
static String |
PROGRESS_KEY
|
Method Summary | |
---|---|
void |
completionNotification(Object cookie)
hook for asynchronous notification of job completion pushed from the back-end |
Properties |
getContiguration()
Get configuration information |
void |
getLogs(OutputStream log)
Collecting various forms of outputs |
Iterator<Tuple> |
getResults()
if query has executed successfully we want to retrieve the results via iterating over them. |
Map<String,Object> |
getStatistics()
Can be information about the state (not submitted, e.g. |
ExecJob.JOB_STATUS |
getStatus()
|
void |
getSTDError(OutputStream error)
|
void |
getSTDOut(OutputStream out)
|
boolean |
hasCompleted()
true is the physical plan has executed successfully and results are ready to be retrieved |
void |
kill()
Kills current job. |
Field Detail |
---|
static final String PROGRESS_KEY
Method Detail |
---|
ExecJob.JOB_STATUS getStatus()
boolean hasCompleted() throws ExecException
ExecException
Iterator<Tuple> getResults() throws ExecException
ExecException
Properties getContiguration()
Map<String,Object> getStatistics()
void completionNotification(Object cookie)
void kill() throws ExecException
ExecException
void getLogs(OutputStream log) throws ExecException
ExecException
void getSTDOut(OutputStream out) throws ExecException
ExecException
void getSTDError(OutputStream error) throws ExecException
ExecException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |