QueryEventpublic class QueryBatchException extends java.lang.Exception implements QueryEvent
| Constructor | Description |
|---|---|
QueryBatchException(QueryEvent queryEvent,
java.lang.Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
QueryBatcher |
getBatcher() |
The QueryBatcher assocated with this event--useful for modifying the
ForestConfiguration
or calling DataMovementManager.stopJob(Batcher) if needed. |
DatabaseClient |
getClient() |
The DatabaseClient used to retrieve this batch (if it's a job based on a
QueryDefinition).
|
Forest |
getForest() |
The forest queried for this event if this job is based on a
QueryDefinition.
|
long |
getForestBatchNumber() |
Within the context of this forest within the job, the numeric position of
this batch.
|
long |
getForestResultsSoFar() |
Within the context of this forest within the job, the number of uris
processed including the uris in this event if this is a QueryBatch.
|
long |
getJobBatchNumber() |
Within the context of the job, the numeric position of this batch.
|
long |
getJobResultsSoFar() |
Within the context of the job, the number of uris processed including the
uris in this event if this is a QueryBatch.
|
JobTicket |
getJobTicket() |
The ticket for this job.
|
java.lang.String |
getLastUriForForest() |
Within the context of this forest within the job, the last uri
processed including the uris in this event if this is a QueryBatch.
|
public QueryBatchException(QueryEvent queryEvent, java.lang.Throwable cause)
public QueryBatcher getBatcher()
ForestConfiguration
or calling DataMovementManager.stopJob(Batcher) if needed.getBatcher in interface QueryEventpublic DatabaseClient getClient()
getClient in interface QueryEventpublic long getJobBatchNumber()
getJobBatchNumber in interface QueryEventpublic long getJobResultsSoFar()
getJobResultsSoFar in interface QueryEventpublic long getForestBatchNumber()
getForestBatchNumber in interface QueryEventpublic long getForestResultsSoFar()
getForestResultsSoFar in interface QueryEventpublic java.lang.String getLastUriForForest()
getLastUriForForest in interface QueryEventpublic Forest getForest()
getForest in interface QueryEventpublic JobTicket getJobTicket()
getJobReport or for calling
stopJob if needed.getJobTicket in interface QueryEventCopyright © 2013-2021 MarkLogic Corporation.