public class QueryBatchException extends java.lang.Exception implements QueryEvent
Constructor and Description |
---|
QueryBatchException(QueryEvent queryEvent,
java.lang.Throwable cause) |
Modifier and Type | Method and 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 QueryEvent
public DatabaseClient getClient()
getClient
in interface QueryEvent
public long getJobBatchNumber()
getJobBatchNumber
in interface QueryEvent
public long getJobResultsSoFar()
getJobResultsSoFar
in interface QueryEvent
public long getForestBatchNumber()
getForestBatchNumber
in
interface QueryEvent
public long getForestResultsSoFar()
getForestResultsSoFar
in
interface QueryEvent
public java.lang.String getLastUriForForest()
getLastUriForForest
in
interface QueryEvent
public Forest getForest()
getForest
in interface QueryEvent
public JobTicket getJobTicket()
getJobReport
or for calling
stopJob
if needed.
getJobTicket
in interface QueryEvent
Copyright © 2024 MarkLogic Corporation. All Rights Reserved.