public class BatchResult extends Object
Constructor and Description |
---|
BatchResult() |
Modifier and Type | Method and Description |
---|---|
RavenJObject |
getAdditionalData()
Additional operation data.
|
Boolean |
getDeleted()
Indicates if the document was deleted (null if not DELETE operation)
Value:
- true - if the document was deleted
- false - if it did not exist.
|
Etag |
getEtag()
Etag generated by the operation (null if not applicable).
|
String |
getKey()
Key of a document.
|
RavenJObject |
getMetadata()
Updated metadata of a document.
|
String |
getMethod()
Method used by the operation (PUT,DELETE,PATCH).
|
PatchResult |
getPatchResult()
Result of a PATCH operation.
|
void |
setAdditionalData(RavenJObject additionalData)
Additional operation data.
|
void |
setDeleted(Boolean deleted)
Indicates if the document was deleted (null if not DELETE operation)
Value:
- true - if the document was deleted
- false - if it did not exist.
|
void |
setEtag(Etag etag)
Etag generated by the operation (null if not applicable).
|
void |
setKey(String key)
Key of a document.
|
void |
setMetadata(RavenJObject metadata)
Updated metadata of a document.
|
void |
setMethod(String method)
Method used by the operation (PUT,DELETE,PATCH).
|
void |
setPatchResult(PatchResult patchResult)
Result of a PATCH operation.
|
public RavenJObject getAdditionalData()
public Boolean getDeleted()
public Etag getEtag()
public String getKey()
public RavenJObject getMetadata()
public String getMethod()
public PatchResult getPatchResult()
public void setAdditionalData(RavenJObject additionalData)
additionalData
- public void setDeleted(Boolean deleted)
true
- if the document was deleted, false if it did not exist.public void setEtag(Etag etag)
etag
- public void setKey(String key)
key
- public void setMetadata(RavenJObject metadata)
metadata
- public void setMethod(String method)
method
- public void setPatchResult(PatchResult patchResult)
patchResult
- Copyright © 2016. All Rights Reserved.