File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
marklogic-client-api/src/main/java/com/marklogic/client/datamovement Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2525public interface JobReport {
2626 /**
2727 * {@link WriteBatcher} : gets the number of documents written to the database<br>
28- * {@link QueryBatcher} : gets the number of uris read from the database
28+ * {@link QueryBatcher} : gets the number of uris processed from the database
2929 * @return the number of events that succeeded
3030 */
3131 long getSuccessEventsCount ();
3232 /**
3333 * {@link WriteBatcher} : gets the number of documents that were sent but failed to write<br>
34- * {@link QueryBatcher} : gets the number of query attempts that failed (same as getFailureBatchesCount)
34+ * {@link QueryBatcher} : gets the number of batches that failed to process (same as getFailureBatchesCount)
3535 * @return the number of events that failed
3636 */
3737 long getFailureEventsCount ();
3838 /**
3939 * {@link WriteBatcher} : gets the number of batches written to the database<br>
40- * {@link QueryBatcher} : gets the number of batches of URIs read from the database
40+ * {@link QueryBatcher} : gets the number of batches processed from the database
4141 * @return the number of batches that succeeded
4242 */
4343 long getSuccessBatchesCount ();
4444 /**
4545 * {@link WriteBatcher} : gets the number of batches that the job failed to write<br>
46- * {@link QueryBatcher} : gets the number of query attempts that failed (same as getFailureEventsCount)
46+ * {@link QueryBatcher} : gets the number of batches that failed to process (same as getFailureEventsCount)
4747 * @return the number of batches that failed
4848 */
4949 long getFailureBatchesCount ();
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ public interface QueryBatchListener extends BatchListener<QueryBatch> {
3030 *
3131 * <pre>{@code
3232 * QueryBatcher qhb = dataMovementManager.newQueryBatcher(query)
33- * .withBatchSize(1000)
34- * .withThreadCount(20)
33+ * .withBatchSize(1000, 20)
3534 * .onUrisReady(batch -> {
3635 * for ( String uri : batch.getItems() ) {
3736 * if ( uri.endsWith(".txt") ) {
You can’t perform that action at this time.
0 commit comments