Package | Description |
---|---|
com.marklogic.client.datamovement |
The MarkLogic Data Movement SDK supports long-running write, read,
delete, or transform jobs.
|
com.marklogic.client.document |
The package provides classes for creating, retrieving, updating, and deleting
documents in the database for the REST server.
|
Modifier and Type | Method and Description |
---|---|
WriteBatcher |
WriteBatcher.add(DocumentWriteOperation writeOperation)
Add a document, by passing in a
DocumentWriteOperation ,
to be batched and then written to the server when a batch is full
or WriteBatcher.flushAsync() or WriteBatcher.flushAndWait() is called. |
Modifier and Type | Method and Description |
---|---|
void |
WriteBatcher.addAll(java.util.stream.Stream<? extends DocumentWriteOperation> operations)
Writes a document stream to the database.
|
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<DocumentWriteOperation> |
DocumentWriteOperation.from(java.util.stream.Stream<? extends AbstractWriteHandle> content,
DocumentWriteOperation.DocumentUriMaker uriMaker)
The from method prepares each content object for writing as a document including generating a URI by inserting a UUID.
|
Copyright © 2013-2018 MarkLogic Corporation.