Modifier and Type | Method and Description |
---|---|
Etag |
PatchCommandData.getEtag() |
Etag |
PutCommandData.getEtag() |
Etag |
DeleteCommandData.getEtag() |
Etag |
ScriptedPatchCommandData.getEtag() |
Etag |
ICommandData.getEtag() |
Modifier and Type | Method and Description |
---|---|
void |
PatchCommandData.setEtag(Etag etag) |
void |
PutCommandData.setEtag(Etag etag) |
void |
DeleteCommandData.setEtag(Etag etag) |
void |
ScriptedPatchCommandData.setEtag(Etag etag) |
Constructor and Description |
---|
DeleteCommandData(java.lang.String key,
Etag etag) |
PutCommandData(java.lang.String key,
Etag etag,
RavenJObject document,
RavenJObject metadata) |
Modifier and Type | Method and Description |
---|---|
Etag |
Etag.clone() |
static Etag |
Etag.empty() |
Etag |
IndexQuery.getCutoffEtag()
Cutoff etag is used to check if the index has already process a document with the given
etag.
|
Etag |
JsonDocumentMetadata.getEtag() |
Etag |
Attachment.getEtag()
Deprecated.
|
Etag |
BatchResult.getEtag() |
Etag |
IndexChangeNotification.getEtag() |
Etag |
PutResult.getEtag() |
Etag |
DocumentChangeNotification.getEtag() |
Etag |
JsonDocument.getEtag() |
Etag |
StreamResult.getEtag() |
Etag |
IJsonDocumentMetadata.getEtag() |
Etag |
ReplicationConflictNotification.getEtag() |
Etag |
AttachmentInformation.getEtag()
Deprecated.
|
Etag |
QueryResult.getIndexEtag() |
Etag |
QueryHeaderInformation.getIndexEtag() |
Etag |
DatabaseStatistics.getLastAttachmentEtag()
Deprecated.
|
Etag |
DatabaseStatistics.getLastDocEtag() |
Etag |
IndexStats.getLastIndexedEtag() |
Etag |
IndexStats.getLastReducedEtag() |
Etag |
QueryResult.getResultEtag() |
Etag |
QueryHeaderInformation.getResultEtag() |
Etag |
Etag.incrementBy(int amount) |
static Etag |
Etag.invalidEtag() |
static Etag |
Etag.parse(byte[] bytes) |
static Etag |
Etag.parse(java.lang.String str) |
static Etag |
Etag.random() |
Etag |
Etag.setup(UuidType type,
long restartsNum) |
Modifier and Type | Method and Description |
---|---|
int |
Etag.compareTo(Etag other) |
void |
IndexQuery.setCutoffEtag(Etag cutoffEtag) |
void |
JsonDocumentMetadata.setEtag(Etag etag) |
void |
Attachment.setEtag(Etag etag)
Deprecated.
|
void |
BatchResult.setEtag(Etag etag) |
void |
IndexChangeNotification.setEtag(Etag etag) |
void |
PutResult.setEtag(Etag etag) |
void |
DocumentChangeNotification.setEtag(Etag etag) |
void |
JsonDocument.setEtag(Etag etag) |
void |
StreamResult.setEtag(Etag etag) |
void |
IJsonDocumentMetadata.setEtag(Etag etag) |
void |
ReplicationConflictNotification.setEtag(Etag etag) |
void |
AttachmentInformation.setEtag(Etag etag)
Deprecated.
|
void |
QueryResult.setIndexEtag(Etag indexEtag) |
void |
QueryHeaderInformation.setIndexEtag(Etag indexEtag) |
void |
DatabaseStatistics.setLastAttachmentEtag(Etag lastAttachmentEtag)
Deprecated.
|
void |
DatabaseStatistics.setLastDocEtag(Etag lastDocEtag) |
void |
IndexStats.setLastIndexedEtag(Etag lastIndexedEtag) |
void |
IndexStats.setLastReducedEtag(Etag lastReducedEtag) |
void |
QueryResult.setResultEtag(Etag resultEtag) |
void |
QueryHeaderInformation.setResultEtag(Etag resultEtag) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Etag.tryParse(java.lang.String str,
Reference<Etag> etag) |
Constructor and Description |
---|
Attachment(boolean canGetData,
byte[] data,
int size,
RavenJObject metadata,
Etag etag,
java.lang.String key)
Deprecated.
|
JsonDocument(RavenJObject dataAsJson,
RavenJObject metadata,
java.lang.String key,
java.lang.Boolean nonAuthoritativeInformation,
Etag etag,
java.util.Date lastModified) |
PutResult(java.lang.String key,
Etag etag) |
Modifier and Type | Method and Description |
---|---|
Etag |
ConcurrencyException.getActualEtag() |
Etag |
ConcurrencyException.getExpectedEtag() |
Constructor and Description |
---|
ConcurrencyException(Etag expectedEtag,
Etag actualEtag,
java.lang.String error,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
protected Etag |
JsonExtensions.EtagDeserializer._deserialize(java.lang.String value,
org.codehaus.jackson.map.DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
Etag |
ReplicatedEtagInfo.getAttachmentEtag() |
Etag |
ReplicatedEtagInfo.getDocumentEtag() |
Etag |
ReplicationStatistics.DestinationStats.getLastEtagCheckedForReplication() |
Etag |
ReplicationStatistics.DestinationStats.getLastReplicatedEtag() |
Etag |
ReplicationStatistics.getMostRecentAttachmentEtag()
Deprecated.
|
Etag |
ReplicationStatistics.getMostRecentDocumentEtag() |
Modifier and Type | Method and Description |
---|---|
void |
ReplicatedEtagInfo.setAttachmentEtag(Etag attachmentEtag) |
void |
ReplicatedEtagInfo.setDocumentEtag(Etag documentEtag) |
void |
ReplicationStatistics.DestinationStats.setLastEtagCheckedForReplication(Etag lastEtagCheckedForReplication) |
void |
ReplicationStatistics.DestinationStats.setLastReplicatedEtag(Etag lastReplicatedEtag) |
void |
ReplicationStatistics.setMostRecentAttachmentEtag(Etag mostRecentAttachmentEtag)
Deprecated.
|
void |
ReplicationStatistics.setMostRecentDocumentEtag(Etag mostRecentDocumentEtag) |
Modifier and Type | Method and Description |
---|---|
<T> Etag |
IAdvancedDocumentSessionOperations.getEtagFor(T instance)
Gets the ETag for the specified entity.
|
Etag |
RavenQueryStatistics.getIndexEtag() |
Etag |
DocumentStoreBase.getLastWrittenEtag()
Gets the etag of the last document written by any session belonging to this
document store
|
Etag |
IDocumentStore.getLastWrittenEtag()
Gets the etag of the last document written by any session belonging to this
document store
|
Modifier and Type | Method and Description |
---|---|
void |
RavenQueryStatistics.setIndexEtag(Etag indexEtag)
The etag of the queried index
|
void |
IDocumentSession.store(java.lang.Object entity,
Etag etag)
Stores the specified entity with the specified etag
|
void |
IDocumentSession.store(java.lang.Object entity,
Etag etag,
java.lang.String id)
Stores the specified entity with the specified etag, under the specified id
|
<T> CloseableIterator<StreamResult<T>> |
ISyncAdvancedSessionOperation.stream(java.lang.Class<T> entityClass,
Etag fromEtag)
Stream the results on the query to the client, converting them to
Java types along the way.
|
<T> CloseableIterator<StreamResult<T>> |
ISyncAdvancedSessionOperation.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith)
Stream the results on the query to the client, converting them to
Java types along the way.
|
<T> CloseableIterator<StreamResult<T>> |
ISyncAdvancedSessionOperation.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches)
Stream the results on the query to the client, converting them to
Java types along the way.
|
<T> CloseableIterator<StreamResult<T>> |
ISyncAdvancedSessionOperation.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start)
Stream the results on the query to the client, converting them to
Java types along the way.
|
<T> CloseableIterator<StreamResult<T>> |
ISyncAdvancedSessionOperation.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize)
Stream the results on the query to the client, converting them to
Java types along the way.
|
<T> CloseableIterator<StreamResult<T>> |
ISyncAdvancedSessionOperation.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
RavenPagingInformation pagingInformation)
Stream the results on the query to the client, converting them to
Java types along the way.
|
<T> CloseableIterator<StreamResult<T>> |
ISyncAdvancedSessionOperation.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
RavenPagingInformation pagingInformation,
java.lang.String skipAfter)
Stream the results on the query to the client, converting them to
Java types along the way.
|
IDocumentQueryCustomization |
IDocumentQueryCustomization.waitForNonStaleResultsAsOf(Etag cutOffEtag)
Instructs the query to wait for non stale results as of the cutoff etag.
|
TSelf |
IDocumentQueryBase.waitForNonStaleResultsAsOf(Etag cutOffEtag)
Instructs the query to wait for non stale results as of the cutoff etag.
|
IDocumentQueryCustomization |
IDocumentQueryCustomization.waitForNonStaleResultsAsOf(Etag cutOffEtag,
long waitTimeout)
Instructs the query to wait for non stale results as of the cutoff etag for the specified timeout.
|
TSelf |
IDocumentQueryBase.waitForNonStaleResultsAsOf(Etag cutOffEtag,
long waitTimeout)
Instructs the query to wait for non stale results as of the cutoff etag for the specified timeout.
|
Constructor and Description |
---|
RemoteDatabaseChanges(java.lang.String url,
java.lang.String apiKey,
HttpJsonRequestFactory jsonRequestFactory,
DocumentConvention conventions,
IDocumentStoreReplicationInformer replicationInformer,
Action0 onDispose,
Function4<java.lang.String,Etag,java.lang.String[],OperationMetadata,java.lang.Boolean> tryResolveConflictByUsingRegisteredConflictListeners) |
Modifier and Type | Method and Description |
---|---|
static Etag |
HttpExtensions.etagHeaderToEtag(java.lang.String responseHeader) |
static Etag |
HttpExtensions.getEtagHeader(GetResponse response) |
static Etag |
HttpExtensions.getEtagHeader(HttpJsonRequest request) |
static Etag |
HttpExtensions.getEtagHeader(org.apache.http.HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
void |
IDatabaseCommands.delete(java.lang.String key,
Etag etag)
Deletes the document with the specified key
|
void |
ServerClient.delete(java.lang.String key,
Etag etag) |
void |
IDatabaseCommands.deleteAttachment(java.lang.String key,
Etag etag)
Deprecated.
|
void |
ServerClient.deleteAttachment(java.lang.String key,
Etag etag)
Deprecated.
|
protected void |
ServerClient.directDelete(OperationMetadata operationMetadata,
java.lang.String key,
Etag etag) |
protected void |
ServerClient.directDeleteAttachment(java.lang.String key,
Etag etag,
OperationMetadata operationMetadata)
Deprecated.
|
protected AttachmentInformation[] |
ServerClient.directGetAttachments(int start,
Etag startEtag,
int pageSize,
OperationMetadata operationMetadata)
Deprecated.
|
protected PutResult |
ServerClient.directPut(RavenJObject metadata,
java.lang.String key,
Etag etag,
RavenJObject document,
OperationMetadata operationMetadata) |
protected void |
ServerClient.directPutAttachment(java.lang.String key,
RavenJObject metadata,
Etag etag,
java.io.InputStream data,
OperationMetadata operationMetadata)
Deprecated.
|
protected void |
ServerClient.directUpdateAttachmentMetadata(java.lang.String key,
RavenJObject metadata,
Etag etag,
OperationMetadata operationMetadata)
Deprecated.
|
AttachmentInformation[] |
IDatabaseCommands.getAttachments(int start,
Etag startEtag,
int pageSize)
Deprecated.
|
AttachmentInformation[] |
ServerClient.getAttachments(int start,
Etag startEtag,
int pageSize)
Deprecated.
|
RavenJObject |
IDatabaseCommands.patch(java.lang.String key,
PatchRequest[] patches,
Etag etag)
Sends a patch request for a specific document
|
RavenJObject |
ServerClient.patch(java.lang.String key,
PatchRequest[] patches,
Etag etag)
Sends a patch request for a specific document
|
RavenJObject |
IDatabaseCommands.patch(java.lang.String key,
ScriptedPatchRequest patch,
Etag etag)
Sends a patch request for a specific document
|
RavenJObject |
ServerClient.patch(java.lang.String key,
ScriptedPatchRequest patch,
Etag etag)
Sends a patch request for a specific document, ignoring the document's Etag
|
PutResult |
IDatabaseCommands.put(java.lang.String key,
Etag guid,
RavenJObject document,
RavenJObject metadata)
Puts the document in the database with the specified key
|
PutResult |
ServerClient.put(java.lang.String key,
Etag etag,
RavenJObject document,
RavenJObject metadata) |
void |
IDatabaseCommands.putAttachment(java.lang.String key,
Etag etag,
java.io.InputStream data,
RavenJObject metadata)
Deprecated.
|
void |
ServerClient.putAttachment(java.lang.String key,
Etag etag,
java.io.InputStream data,
RavenJObject metadata)
Deprecated.
|
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag) |
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag,
java.lang.String startsWith)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag,
java.lang.String startsWith) |
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches) |
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start) |
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize) |
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude) |
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude,
RavenPagingInformation pagingInformation)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude,
RavenPagingInformation pagingInformation) |
CloseableIterator<RavenJObject> |
IDatabaseCommands.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude,
RavenPagingInformation pagingInformation,
java.lang.String skipAfter)
Streams the documents by etag OR starts with the prefix and match the matches
Will return *all* results, regardless of the number of items that might be returned.
|
RavenJObjectIterator |
ServerClient.streamDocs(Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
java.lang.String exclude,
RavenPagingInformation pagingInformation,
java.lang.String skipAfter) |
static QueryResult |
SerializationHelper.toQueryResult(RavenJObject json,
Etag etagHeader,
java.lang.String tempRequestTime,
long numberOfCharactersRead) |
java.lang.Boolean |
IDatabaseCommands.tryResolveConflictByUsingRegisteredListeners(java.lang.String key,
Etag etag,
java.lang.String[] conflictedIds,
OperationMetadata opUrl)
Tries to resolve conflict using registered listeners
|
java.lang.Boolean |
ServerClient.tryResolveConflictByUsingRegisteredListeners(java.lang.String key,
Etag etag,
java.lang.String[] conflictedIds,
OperationMetadata operationMetadata) |
void |
IDatabaseCommands.updateAttachmentMetadata(java.lang.String key,
Etag etag,
RavenJObject metadata)
Deprecated.
|
void |
ServerClient.updateAttachmentMetadata(java.lang.String key,
Etag etag,
RavenJObject metadata)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiGetOperation.tryResolveConflictOrCreateConcurrencyException(GetResponse[] responses,
Function3<java.lang.String,RavenJObject,Etag,ConflictException> tryResolveConflictOrCreateConcurrencyException) |
Modifier and Type | Field and Description |
---|---|
protected Etag |
AbstractDocumentQuery.cutoffEtag |
Modifier and Type | Method and Description |
---|---|
Etag |
DocumentMetadata.getEtag() |
<T> Etag |
InMemoryDocumentSessionOperations.getEtagFor(T instance)
Gets the ETag for the specified entity.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentMetadata.setEtag(Etag etag) |
void |
InMemoryDocumentSessionOperations.store(java.lang.Object entity,
Etag etag)
Stores the specified entity in the session.
|
void |
InMemoryDocumentSessionOperations.store(java.lang.Object entity,
Etag etag,
java.lang.String id)
Stores the specified entity in the session, explicitly specifying its Id.
|
protected void |
InMemoryDocumentSessionOperations.storeEntityInUnitOfWork(java.lang.String id,
java.lang.Object entity,
Etag etag,
RavenJObject metadata,
boolean forceConcurrencyCheck) |
<T> CloseableIterator<StreamResult<T>> |
DocumentSession.stream(java.lang.Class<T> entityClass,
Etag fromEtag) |
<T> CloseableIterator<StreamResult<T>> |
DocumentSession.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith) |
<T> CloseableIterator<StreamResult<T>> |
DocumentSession.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches) |
<T> CloseableIterator<StreamResult<T>> |
DocumentSession.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start) |
<T> CloseableIterator<StreamResult<T>> |
DocumentSession.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize) |
<T> CloseableIterator<StreamResult<T>> |
DocumentSession.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
RavenPagingInformation pagingInformation) |
<T> CloseableIterator<StreamResult<T>> |
DocumentSession.stream(java.lang.Class<T> entityClass,
Etag fromEtag,
java.lang.String startsWith,
java.lang.String matches,
int start,
int pageSize,
RavenPagingInformation pagingInformation,
java.lang.String skipAfter) |
IDocumentQueryCustomization |
DocumentQueryCustomization.waitForNonStaleResultsAsOf(Etag cutOffEtag) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOf(Etag cutOffEtag)
Instructs the query to wait for non stale results as of the cutoff etag.
|
IDocumentQuery<T> |
AbstractDocumentQuery.waitForNonStaleResultsAsOf(Etag cutOffEtag)
Instructs the query to wait for non stale results as of the cutoff etag.
|
IDocumentQueryCustomization |
DocumentQueryCustomization.waitForNonStaleResultsAsOf(Etag cutOffEtag,
long waitTimeout) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOf(Etag cutOffEtag,
long waitTimeout)
Instructs the query to wait for non stale results as of the cutoff etag for the specified timeout.
|
IDocumentQuery<T> |
AbstractDocumentQuery.waitForNonStaleResultsAsOf(Etag cutOffEtag,
long waitTimeout)
Instructs the query to wait for non stale results as of the cutoff etag.
|
protected void |
ReplicationBehavior.waitForReplicationFromServer(java.lang.String url,
java.lang.String database,
Etag etag,
CancellationTokenSource.CancellationToken cancellationToken) |
int |
ReplicationBehavior.waitSync(Etag etag,
java.lang.Long timeout,
java.lang.String database,
int replicas) |
Modifier and Type | Method and Description |
---|---|
Etag |
ConflictException.getEtag() |
Modifier and Type | Method and Description |
---|---|
void |
ConflictException.setEtag(Etag etag) |
Modifier and Type | Method and Description |
---|---|
Etag |
GlobalLastEtagHolder.getLastWrittenEtag() |
Etag |
ILastEtagHolder.getLastWrittenEtag() |
Modifier and Type | Method and Description |
---|---|
void |
GlobalLastEtagHolder.updateLastWrittenEtag(Etag etag) |
void |
ILastEtagHolder.updateLastWrittenEtag(Etag etag) |
Copyright © 2014. All Rights Reserved.