All Implemented Interfaces:
QueryEvent ,
Serializable
An exception which occurred when attempting to
retrieve a batch of matches to a query.
See Also:
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
The DatabaseClient used to retrieve this batch
(if it's a job based on a QueryDefinition).
The forest queried for this event if this job is
based on a QueryDefinition.
long
Within the context of this forest within the
job, the numeric position of this batch.
long
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
Within the context of the job, the numeric
position of this batch.
long
Within the context of the job, the number of
uris processed including the uris in this event if this is a
QueryBatch.
Within the context of this forest within the
job, the last uri processed including the uris in this event if
this is a QueryBatch.
Methods
inherited from class java.lang.Throwable
addSuppressed , fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , getSuppressed , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString
Constructor Details
Method Details
getBatcher
Specified by:
getBatcher in
interface QueryEvent
Returns:
the QueryBatcher that created this event
getClient
The DatabaseClient used to retrieve this batch
(if it's a job based on a QueryDefinition). This is useful for
performing additional operations on the same host. If this job is
based on an Iterator this is just the DatabaseClient for the next
host in the round-robin rotation.
Specified by:
getClient in
interface QueryEvent
Returns:
the DatabaseClient for this batch
getJobBatchNumber
public long getJobBatchNumber ()
Within the context of the job, the numeric
position of this batch.
Specified by:
getJobBatchNumber in
interface QueryEvent
Returns:
the batch number in this job
getJobResultsSoFar
public long getJobResultsSoFar ()
Within the context of the job, the number of
uris processed including the uris in this event if this is a
QueryBatch.
Specified by:
getJobResultsSoFar in
interface QueryEvent
Returns:
the number of results in this job up to the point of this
event
getForestBatchNumber
public long getForestBatchNumber ()
Within the context of this forest within the
job, the numeric position of this batch.
Specified by:
getForestBatchNumber in
interface QueryEvent
Returns:
the batch number in this forest
getForestResultsSoFar
public 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.
Specified by:
getForestResultsSoFar in
interface QueryEvent
Returns:
the number of results in this job in this forest up to the
point of this event
getLastUriForForest
public 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.
Specified by:
getLastUriForForest in
interface QueryEvent
Returns:
the last uri in this job in this forest up to the point of this
event
getForest
The forest queried for this event if this job is
based on a QueryDefinition. Returns null if this job is based on an
Iterator.
Specified by:
getForest in
interface QueryEvent
Returns:
the Forest with which this event is associated
getJobTicket
The ticket for this job. This can be useful for
getting a snapshot
getJobReport or for calling
stopJob if needed.
Specified by:
getJobTicket in
interface QueryEvent
Returns:
the JobTicket for this job
Copyright (c) 2010-2025 Progress
Software Corporation and/or its subsidiaries or affiliates. All
Rights Reserved.