public interface Batch<T>
A group of items (generally documents or uris) and context representing a completed action in a datamovement job.
| Modifier and Type | Method and Description |
|---|---|
DatabaseClient |
getClient()
The DatabaseClient used to send or retrieve this batch.
|
T[] |
getItems()
The documents read by WriteBatcher or the uris retrieved by QueryBatcher.
|
long |
getJobBatchNumber()
Within the context of the job, the numeric position of this batch.
|
JobTicket |
getJobTicket()
The ticket for this job.
|
Calendar |
getTimestamp()
The client-side timestamp when this batch completed writing or reading.
|
T[] getItems()
The documents read by WriteBatcher or the uris retrieved by QueryBatcher.
Calendar getTimestamp()
The client-side timestamp when this batch completed writing or reading.
long getJobBatchNumber()
Within the context of the job, the numeric position of this batch.
JobTicket getJobTicket()
The ticket for this job. This can be useful for getting a snapshot getJobReport or for calling stopJob if needed.
DatabaseClient getClient()
The DatabaseClient used to send or retrieve this batch. This is useful for performing additional operations on the same host.
Copyright © 2013-2017 MarkLogic Corporation.