Package | Description |
---|---|
com.marklogic.client.bitemporal | |
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 |
---|---|
void |
TemporalDocumentManager.write(DocumentWriteSet writeSet,
ServerTransform transform,
Transaction transaction,
java.lang.String temporalCollection)
Just like
write but create document in a temporalCollection, which will enforce all the rules of
bitemporal data management. |
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,
AbstractWriteHandle contentHandle,
java.lang.String temporalDocumentURI)
Adds to this write set a document with the given uri template, temporalDocumentURI 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(DocumentDescriptor desc,
DocumentMetadataWriteHandle metadataHandle,
AbstractWriteHandle contentHandle,
java.lang.String temporalDocumentURI)
Adds to this write set a document with the given uri template, metadata, temporalDocumentURI
and contents provided by the handle
|
DocumentWriteSet |
DocumentWriteSet.add(java.lang.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(java.lang.String docId,
AbstractWriteHandle contentHandle,
java.lang.String temporalDocumentURI)
Adds to this write set a document with the given docId (server uri),
temporalDocumentURI and contents provided by the handle
|
DocumentWriteSet |
DocumentWriteSet.add(java.lang.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.add(java.lang.String docId,
DocumentMetadataWriteHandle metadataHandle,
AbstractWriteHandle contentHandle,
java.lang.String temporalDocumentURI)
Adds to this write set a document with the given docId (server uri),
metadata, temporalDocumentURI and contents provided by the handle
|
DocumentWriteSet |
DocumentWriteSet.addAs(java.lang.String docId,
DocumentMetadataWriteHandle metadataHandle,
java.lang.Object content)
Adds to this write set a document with the given docId (server uri),
metadata, and contents.
|
DocumentWriteSet |
DocumentWriteSet.addAs(java.lang.String docId,
DocumentMetadataWriteHandle metadataHandle,
java.lang.Object content,
java.lang.String temporalDocumentURI)
Adds to this write set a document with the given docId (server uri),
metadata, temporalDocumentURI and contents.
|
DocumentWriteSet |
DocumentWriteSet.addAs(java.lang.String docId,
java.lang.Object content)
Adds to this write set a document with the given docId (server uri)
and contents.
|
DocumentWriteSet |
DocumentWriteSet.addAs(java.lang.String docId,
java.lang.Object content,
java.lang.String temporalDocumentURI)
Adds to this write set a document with the given docId (server uri),
temporalDocumentURI and contents.
|
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-2021 MarkLogic Corporation.