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 |
---|---|
DocumentPatchBuilder |
DocumentPatchBuilder.delete(String selectPath)
Specifies an operation to delete an existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.delete(String selectPath,
DocumentMetadataPatchBuilder.Cardinality cardinality)
Specifies an operation to delete an existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.insertFragment(String contextPath,
DocumentPatchBuilder.Position position,
DocumentMetadataPatchBuilder.Cardinality cardinality,
Object fragment)
Specifies an operation to insert a new JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.insertFragment(String contextPath,
DocumentPatchBuilder.Position position,
Object fragment)
Specifies an operation to insert a new JSON or XML fragment.
|
DocumentPatchBuilder |
XMLDocumentManager.newPatchBuilder()
Creates a builder for specifying changes to the content and metadata
of an XML document.
|
DocumentPatchBuilder |
JSONDocumentManager.newPatchBuilder()
Creates a builder for specifying changes to the content and metadata
of a JSON document.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceApply(String selectPath,
DocumentMetadataPatchBuilder.Call call)
Specifies a replacement operation by applying a function to
an existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceApply(String selectPath,
DocumentMetadataPatchBuilder.Cardinality cardinality,
DocumentMetadataPatchBuilder.Call call)
Specifies a replacement operation by applying a function to
an existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceFragment(String selectPath,
DocumentMetadataPatchBuilder.Cardinality cardinality,
Object fragment)
Specifies a fragment to replace an existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceFragment(String selectPath,
Object fragment)
Specifies a fragment to replace an existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceInsertFragment(String selectPath,
String contextPath,
DocumentPatchBuilder.Position position,
DocumentMetadataPatchBuilder.Cardinality cardinality,
Object fragment)
Specifies a fragment to replace an existing JSON or XML fragment
or (if the existing fragment doesn't exist) to insert relative
to a different existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceInsertFragment(String selectPath,
String contextPath,
DocumentPatchBuilder.Position position,
Object fragment)
Specifies a fragment to replace an existing JSON or XML fragment
or (if the existing fragment doesn't exist) to insert relative
to a different existing JSON or XML fragment.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceValue(String selectPath,
DocumentMetadataPatchBuilder.Cardinality cardinality,
Object value)
Specifies a value to replace the existing value of a JSON or XML node.
|
DocumentPatchBuilder |
DocumentPatchBuilder.replaceValue(String selectPath,
Object value)
Specifies a value to replace the existing value of a JSON or XML node.
|
Copyright © 2013-2015 MarkLogic Corporation.