| Package | Description |
|---|---|
| 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 |
|---|---|
DocumentWriteSet |
DocumentWriteSet.add(DocumentDescriptor desc,
AbstractWriteHandle contentHandle)
Adds to this write set a document with the given uri template, and
contents provided by the handle
|
DocumentWriteSet |
DocumentWriteSet.add(DocumentDescriptor desc,
DocumentMetadataWriteHandle metadataHandle,
AbstractWriteHandle contentHandle)
Adds to this write set a document with the given uri template, metadata,
and contents provided by the handle
|
DocumentWriteSet |
DocumentWriteSet.add(String docId,
AbstractWriteHandle contentHandle)
Adds to this write set a document with the given docId (server uri)
and contents provided by the handle
|
DocumentWriteSet |
DocumentWriteSet.add(String docId,
DocumentMetadataWriteHandle metadataHandle,
AbstractWriteHandle contentHandle)
Adds to this write set a document with the given docId (server uri),
metadata, and contents provided by the handle
|
DocumentWriteSet |
DocumentWriteSet.addDefault(DocumentMetadataWriteHandle metadataHandle)
Sets the default metadata for this write set for all documents added after this call
|
DocumentWriteSet |
DocumentWriteSet.disableDefault()
Removes the default metadata for this write set for all documents added after this call
|
DocumentWriteSet |
DocumentManager.newWriteSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
DocumentManager.write(DocumentWriteSet writeSet)
Write a set of documents and metadata to the server via REST API bulk capabilities.
|
void |
DocumentManager.write(DocumentWriteSet writeSet,
ServerTransform transform)
Write a set of documents and metadata to the server via REST API bulk capabilities.
|
void |
DocumentManager.write(DocumentWriteSet writeSet,
ServerTransform transform,
Transaction transaction)
Write a set of documents and metadata to the server via REST API bulk capabilities.
|
void |
DocumentManager.write(DocumentWriteSet writeSet,
Transaction transaction)
Write a set of documents and metadata to the server via REST API bulk capabilities.
|
Copyright © 2013-2015 MarkLogic Corporation.