| Package | Description |
|---|---|
| com.marklogic.client.datamovement |
The MarkLogic Data Movement SDK supports long-running write, read, delete, or transform jobs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApplyTransformListener
Modifies documents in-place in the database by applying a
server-side transform. |
class |
DeleteListener
Sends a Java API bulk
delete request for all the documents from each batch. |
class |
ExportListener
Reads document contents (and optionally metadata) for each batch, then sends each document to any listeners registered with
onDocumentReady for further processing or writing to any target supported by Java. |
class |
ExportToWriterListener
An extension of ExportListener which facilitates writing all documents to a single Writer output stream.
|
class |
UrisToWriterListener
Facilitates writing uris to a file when necessary because setting merge timestamp and
withConsistentSnapshot is not an option, but you need to run DeleteListener or ApplyTransformListener. |
| Modifier and Type | Method and Description |
|---|---|
QueryBatchListener[] |
QueryBatcher.getQuerySuccessListeners()
Get the array of QueryBatchListener instances registered via onBatchSuccess.
|
| Modifier and Type | Method and Description |
|---|---|
ApplyTransformListener |
ApplyTransformListener.onSkipped(QueryBatchListener listener)
When documents were not found and therefore not transformed, run this listener code.
|
ApplyTransformListener |
ApplyTransformListener.onSuccess(QueryBatchListener listener)
When a batch has been successfully transformed, run this listener code.
|
QueryBatcher |
QueryBatcher.onUrisReady(QueryBatchListener listener)
Add a listener to run each time a batch of uris is ready.
|
void |
QueryBatcher.setUrisReadyListeners(QueryBatchListener... listeners)
Remove any existing QueryBatchListener instances registered via onBatchSuccess and replace them with the provided listeners.
|
Copyright © 2013-2017 MarkLogic Corporation.