public interface ExecJob
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExecJob.JOB_STATUS |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROGRESS_KEY |
| Modifier and Type | Method and Description |
|---|---|
void |
completionNotification(java.lang.Object cookie)
hook for asynchronous notification of job completion pushed from the back-end
|
java.lang.String |
getAlias()
Returns the alias of relation generated by this job
|
java.util.Properties |
getConfiguration()
Get configuration information
|
java.lang.Exception |
getException()
Get exceptions that happened during execution
|
void |
getLogs(java.io.OutputStream log)
Collecting various forms of outputs
|
POStore |
getPOStore() |
java.util.Iterator<Tuple> |
getResults()
if query has executed successfully we want to retrieve the results
via iterating over them.
|
PigStats |
getStatistics()
Can be information about the state (not submitted, e.g.
|
ExecJob.JOB_STATUS |
getStatus() |
void |
getSTDError(java.io.OutputStream error) |
void |
getSTDOut(java.io.OutputStream out) |
boolean |
hasCompleted()
true is the physical plan has executed successfully and results are ready
to be retrieved
|
void |
kill()
Kills current job.
|
static final java.lang.String PROGRESS_KEY
ExecJob.JOB_STATUS getStatus()
boolean hasCompleted()
throws ExecException
ExecExceptionjava.util.Iterator<Tuple> getResults() throws ExecException
ExecExceptionjava.lang.String getAlias()
throws ExecException
ExecExceptionjava.util.Properties getConfiguration()
PigStats getStatistics()
void completionNotification(java.lang.Object cookie)
void kill() throws ExecException
ExecExceptionvoid getLogs(java.io.OutputStream log)
throws ExecException
ExecExceptionvoid getSTDOut(java.io.OutputStream out)
throws ExecException
ExecExceptionvoid getSTDError(java.io.OutputStream error)
throws ExecException
ExecExceptionjava.lang.Exception getException()
Copyright © 2007-2025 The Apache Software Foundation