Package | Description |
---|---|
net.ravendb.abstractions.commands | |
net.ravendb.abstractions.data | |
net.ravendb.client.connection |
Modifier and Type | Method and Description |
---|---|
PatchRequest[] |
PatchCommandData.getPatches()
Array of patches that will be applied to the document
|
PatchRequest[] |
PatchCommandData.getPatchesIfMissing()
Array of patches to apply to a default document if the document is missing
|
Modifier and Type | Method and Description |
---|---|
void |
PatchCommandData.setPatches(PatchRequest[] patches)
Array of patches that will be applied to the document
|
void |
PatchCommandData.setPatchesIfMissing(PatchRequest[] patchesIfMissing)
Array of patches to apply to a default document if the document is missing
|
Modifier and Type | Method and Description |
---|---|
static PatchRequest |
PatchRequest.fromJson(RavenJObject patchRequestJson)
Create an instance from a json object
|
PatchRequest[] |
PatchRequest.getNested()
Gets the nested operations to perform.
|
Modifier and Type | Method and Description |
---|---|
void |
PatchRequest.setNested(PatchRequest[] nested)
Sets the nested operations to perform.
|
Modifier and Type | Method and Description |
---|---|
RavenJObject |
IDatabaseCommands.patch(String key,
PatchRequest[] patches)
Sends a patch request for a specific document, ignoring the document's Etag and if the document is missing
|
RavenJObject |
ServerClient.patch(String key,
PatchRequest[] patches) |
RavenJObject |
IDatabaseCommands.patch(String key,
PatchRequest[] patches,
boolean ignoreMissing)
Sends a patch request for a specific document, ignoring the document's Etag
|
RavenJObject |
ServerClient.patch(String key,
PatchRequest[] patches,
boolean ignoreMissing) |
RavenJObject |
IDatabaseCommands.patch(String key,
PatchRequest[] patches,
Etag etag)
Sends a patch request for a specific document
|
RavenJObject |
ServerClient.patch(String key,
PatchRequest[] patches,
Etag etag) |
RavenJObject |
IDatabaseCommands.patch(String key,
PatchRequest[] patchesToExisting,
PatchRequest[] patchesToDefault,
RavenJObject defaultMetadata)
Sends a patch request for a specific document which may or may not currently exist
|
RavenJObject |
IDatabaseCommands.patch(String key,
PatchRequest[] patchesToExisting,
PatchRequest[] patchesToDefault,
RavenJObject defaultMetadata)
Sends a patch request for a specific document which may or may not currently exist
|
RavenJObject |
ServerClient.patch(String key,
PatchRequest[] patchesToExisting,
PatchRequest[] patchesToDefault,
RavenJObject defaultMetadata) |
RavenJObject |
ServerClient.patch(String key,
PatchRequest[] patchesToExisting,
PatchRequest[] patchesToDefault,
RavenJObject defaultMetadata) |
Operation |
IDatabaseCommands.updateByIndex(String indexName,
IndexQuery queryToUpdate,
PatchRequest[] patchRequests)
Perform a set based update using the specified index
|
Operation |
ServerClient.updateByIndex(String indexName,
IndexQuery queryToUpdate,
PatchRequest[] patchRequests) |
Operation |
IDatabaseCommands.updateByIndex(String indexName,
IndexQuery queryToUpdate,
PatchRequest[] patchRequests,
BulkOperationOptions options)
Perform a set based update using the specified index
|
Operation |
ServerClient.updateByIndex(String indexName,
IndexQuery queryToUpdate,
PatchRequest[] patchRequests,
BulkOperationOptions options) |
Copyright © 2016. All Rights Reserved.