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 | Interface and Description |
---|---|
interface |
DocumentPatchBuilder
A DocumentPatchBuilder specifies changes to the metadata, content,
or both of a database document.
|
Modifier and Type | Method and Description |
---|---|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.addCollection(String... collections)
Adds the specified collections.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.addPermission(String role,
DocumentMetadataHandle.Capability... capabilities)
Adds a role with the specified capabilities
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.addPropertyValue(QName name,
Object value)
Adds a new metadata property with a namespaced name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.addPropertyValue(String name,
Object value)
Adds a new metadata property with a simple name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.deleteCollection(String... collections)
Deletes the specified collections.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.deletePermission(String... roles)
Deletes the specified roles.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.deleteProperty(QName... names)
Deletes the specified metadata properties with namespaced names.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.deleteProperty(String... names)
Deletes the specified metadata properties with simple names.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.library(String ns,
String at)
Specifies an XQuery library installed on the server
that supplies functions for modifying existing fragments.
|
DocumentMetadataPatchBuilder |
DocumentManager.newPatchBuilder(Format pathFormat)
Creates a builder for specifying changes to the metadata of a document.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replaceCollection(String oldCollection,
String newCollection)
Replaces the specified collection.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePermission(String role,
DocumentMetadataHandle.Capability... newCapabilities)
Replaces the existing capabilities of a role.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePermission(String oldRole,
String newRole,
DocumentMetadataHandle.Capability... newCapabilities)
Replaces an existing role with a new role.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePropertyApply(QName name,
DocumentMetadataPatchBuilder.Call call)
Specifies a replacement operation by applying a function
to a metadata property having a namespaced name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePropertyApply(String name,
DocumentMetadataPatchBuilder.Call call)
Specifies a replacement operation by applying a function
to a metadata property having a simple name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePropertyValue(QName name,
Object newValue)
Replaces the existing value of a metadata property having a namespaced name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePropertyValue(QName oldName,
QName newName,
Object newValue)
Replaces an existing metadata property with a new property having a namespaced name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePropertyValue(String name,
Object newValue)
Replaces the existing value of a metadata property having a simple name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.replacePropertyValue(String oldName,
String newName,
Object newValue)
Replaces an existing metadata property with a new property having a simple name.
|
DocumentMetadataPatchBuilder |
DocumentMetadataPatchBuilder.setQuality(int quality)
Sets the search quality of the document.
|
Copyright © 2013-2015 MarkLogic Corporation.