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 |
ExportToWriterListener
An extension of ExportListener which facilitates writing all documents to a
single Writer output stream.
|
Modifier and Type | Method and Description |
---|---|
ExportListener |
ExportListener.onBatchFailure(BatchFailureListener<Batch<java.lang.String>> listener)
Deprecated.
|
ExportListener |
ExportListener.onDocumentReady(java.util.function.Consumer<DocumentRecord> listener)
Adds a listener to process each retrieved document, which is the way users
of ExportListener can provide custom code to export documents.
|
ExportListener |
ExportListener.onFailure(BatchFailureListener<QueryBatch> listener)
When a batch fails or a callback throws an Exception, run this listener
code.
|
ExportListener |
ExportListener.withConsistentSnapshot()
Specifies that documents should be retrieved as they were when this QueryBatcher job started.
|
ExportListener |
ExportListener.withMetadataCategory(DocumentManager.Metadata category)
Adds a metadata category to retrieve and make available from
DocumentRecord.getMetadata to listeners
registered with onDocumentReady. |
ExportListener |
ExportListener.withNonDocumentFormat(Format nonDocumentFormat)
Sets the format for metadata available from
DocumentRecord.getMetadata to listeners registered with
onDocumentReady (assuming withMetadataCategory has been called to request specific metdata). |
ExportListener |
ExportListener.withTransform(ServerTransform transform)
Sets the server tranform to modify the document contents.
|
Copyright © 2013-2018 MarkLogic Corporation.