public interface IDatabaseCommands extends IHoldProfilingInformation
Modifier and Type | Method and Description |
---|---|
BatchResult[] |
batch(java.util.List<ICommandData> commandDatas)
Executed the specified commands as a single batch
|
void |
delete(java.lang.String key,
Etag etag)
Deletes the document with the specified key
|
void |
deleteAttachment(java.lang.String key,
Etag etag)
Deprecated.
|
Operation |
deleteByIndex(java.lang.String indexName,
IndexQuery queryToDelete)
Perform a set based deletes using the specified index, not allowing the operation
if the index is stale
|
Operation |
deleteByIndex(java.lang.String indexName,
IndexQuery queryToDelete,
BulkOperationOptions options)
Perform a set based deletes using the specified index.
|
void |
deleteIndex(java.lang.String name)
Delete index
|
void |
deleteTransformer(java.lang.String name)
Deletes the specified transformer
|
java.lang.AutoCloseable |
disableAllCaching()
Disable all caching within the given scope
|
java.lang.AutoCloseable |
forceReadFromMaster()
Force the database commands to read directly from the master, unless there has been a failover.
|
IDatabaseCommands |
forDatabase(java.lang.String database)
Create a new instance of
IDatabaseCommands that will interacts with the specified database |
IDatabaseCommands |
forSystemDatabase()
Creates a new instance of
IDatabaseCommands that will interacts with the default database. |
JsonDocument |
get(java.lang.String key)
Retrieves the document for the specified key
|
MultiLoadResult |
get(java.lang.String[] ids,
java.lang.String[] includes)
Gets the results for the specified ids.
|
MultiLoadResult |
get(java.lang.String[] ids,
java.lang.String[] includes,
java.lang.String transformer)
Gets the results for the specified ids.
|
MultiLoadResult |
get(java.lang.String[] ids,
java.lang.String[] includes,
java.lang.String transformer,
java.util.Map<java.lang.String,RavenJToken> transformerParameters)
Gets the results for the specified ids.
|
MultiLoadResult |
get(java.lang.String[] ids,
java.lang.String[] includes,
java.lang.String transformer,
java.util.Map<java.lang.String,RavenJToken> transformerParameters,
boolean metadataOnly) |
IAdminDatabaseCommands |
getAdmin() |
Attachment |
getAttachment(java.lang.String key)
Deprecated.
|
java.util.List<Attachment> |
getAttachmentHeadersStartingWith(java.lang.String idPrefix,
int start,
int pageSize)
Deprecated.
|
AttachmentInformation[] |
getAttachments(int start,
Etag startEtag,
int pageSize)
Deprecated.
|
ILowLevelBulkInsertOperation |
getBulkInsertOperation(BulkInsertOptions options,
IDatabaseChanges changes) |
java.util.List<JsonDocument> |
getDocuments(int start,
int pageSize)
Get documents from server
|
java.util.List<JsonDocument> |
getDocuments(int start,
int pageSize,
boolean metadataOnly)
Get documents from server
|
FacetResults |
getFacets(java.lang.String index,
IndexQuery query,
java.util.List<Facet> facets)
Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
|
FacetResults |
getFacets(java.lang.String index,
IndexQuery query,
java.util.List<Facet> facets,
int start)
Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
|
FacetResults |
getFacets(java.lang.String index,
IndexQuery query,
java.util.List<Facet> facets,
int start,
java.lang.Integer pageSize)
Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
|
FacetResults |
getFacets(java.lang.String index,
IndexQuery query,
java.lang.String facetSetupDoc)
Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
|
FacetResults |
getFacets(java.lang.String index,
IndexQuery query,
java.lang.String facetSetupDoc,
int start)
Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
|
FacetResults |
getFacets(java.lang.String index,
IndexQuery query,
java.lang.String facetSetupDoc,
int start,
java.lang.Integer pageSize)
Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
|
IGlobalAdminDatabaseCommands |
getGlobalAdmin()
Admin operations performed against system database, like create/delete database
|
IndexDefinition |
getIndex(java.lang.String name)
Gets the index definition for the specified name
|
java.util.Collection<IndexDefinition> |
getIndexes(int start,
int pageSize)
Returns
IndexDefinition s |
IndexMergeResults |
getIndexMergeSuggestions() |
java.util.Collection<java.lang.String> |
getIndexNames(int start,
int pageSize)
Gets the index names from the server
|
FacetResults[] |
getMultiFacets(FacetQuery[] facetedQueries)
Sends a multiple faceted queries in a single request and calculates the facet results for each of them
|
java.util.Map<java.lang.String,java.lang.String> |
getOperationsHeaders() |
OperationCredentials |
getPrimaryCredentials() |
DatabaseStatistics |
getStatistics()
Returns server statistics
|
java.util.List<java.lang.String> |
getTerms(java.lang.String index,
java.lang.String field,
java.lang.String fromValue,
int pageSize)
Get the all terms stored in the index for the specified field
You can page through the results by use fromValue parameter as the
starting point for the next query
|
TransformerDefinition |
getTransformer(java.lang.String name)
Gets the transformer definition for the specified name
|
java.util.List<TransformerDefinition> |
getTransformers(int start,
int pageSize)
Gets the transformers from the server
|
JsonDocumentMetadata |
head(java.lang.String key)
Checks if the document exists for the specified key
|
Attachment |
headAttachment(java.lang.String key)
Deprecated.
|
boolean |
indexHasChanged(java.lang.String name,
IndexDefinition indexDef)
Checks if passed index definition matches version stored on server.
|
MultiLoadResult |
moreLikeThis(MoreLikeThisQuery query)
Return a list of documents that based on the MoreLikeThisQuery.
|
GetResponse[] |
multiGet(GetRequest[] requests)
Perform a single POST request containing multiple nested GET requests
|
java.lang.Long |
nextIdentityFor(java.lang.String name)
Generate the next identity value from the server
|
RavenJObject |
patch(java.lang.String key,
PatchRequest[] patches)
Sends a patch request for a specific document, ignoring document's Etag and if it is missing
|
RavenJObject |
patch(java.lang.String key,
PatchRequest[] patches,
boolean ignoreMissing)
Sends a patch request for a specific document, ignoring the document's Etag
|
RavenJObject |
patch(java.lang.String key,
PatchRequest[] patches,
Etag etag)
Sends a patch request for a specific document
|
RavenJObject |
patch(java.lang.String key,
PatchRequest[] patchesToExisting,
PatchRequest[] patchesToDefault,
RavenJObject defaultMetadata)
Sends a patch request for a specific document which may or may not currently exist
|
RavenJObject |
patch(java.lang.String key,
ScriptedPatchRequest patch)
Sends a patch request for a specific document, ignoring the document's Etag and if the document is missing
|
RavenJObject |
patch(java.lang.String key,
ScriptedPatchRequest patch,
boolean ignoreMissing)
Sends a patch request for a specific document, ignoring the document's Etag
|
RavenJObject |
patch(java.lang.String key,
ScriptedPatchRequest patch,
Etag etag)
Sends a patch request for a specific document
|
RavenJObject |
patch(java.lang.String key,
ScriptedPatchRequest patchExisting,
ScriptedPatchRequest patchDefault,
RavenJObject defaultMetadata)
Sends a patch request for a specific document which may or may not currently exist
|
PutResult |
put(java.lang.String key,
Etag guid,
RavenJObject document,
RavenJObject metadata)
Puts the document in the database with the specified key
|
void |
putAttachment(java.lang.String key,
Etag etag,
java.io.InputStream data,
RavenJObject metadata)
Deprecated.
|
java.lang.String |
putIndex(java.lang.String name,
IndexDefinition definition)
Puts index with given definition
|
java.lang.String |
putIndex(java.lang.String name,
IndexDefinition definition,
boolean overwrite)
Puts the index.
|
java.lang.String |
putIndex(java.lang.String name,
IndexDefinitionBuilder indexDef)
Creates an index with the specified name, based on an index definition
|
java.lang.String |
putIndex(java.lang.String name,
IndexDefinitionBuilder indexDef,
boolean overwrite)
Creates an index with the specified name, based on an index definition
|
java.lang.String |
putTransformer(java.lang.String name,
TransformerDefinition transformerDef)
Creates a transformer with the specified name, based on an transformer definition
|
QueryResult |
query(java.lang.String index,
IndexQuery query)
Performs index query
|
QueryResult |
query(java.lang.String index,
IndexQuery query,
java.lang.String[] includes)
Performs index query
|
QueryResult |
query(java.lang.String index,
IndexQuery query,
java.lang.String[] includes,
boolean metadataOnly)
Performs index query
|
QueryResult |
query(java.lang.String index,
IndexQuery query,
java.lang.String[] includes,
boolean metadataOnly,
boolean indexEntriesOnly)
Performs index query
|
void |
resetIndex(java.lang.String name)
Resets the specified index
|
long |
seedIdentityFor(java.lang.String name,
long value)
Seeds the next identity value on the server
|
void |
setOperationsHeaders(java.util.Map<java.lang.String,java.lang.String> operationsHeaders)
Sets the operations headers
|
java.util.List<JsonDocument> |
startsWith(java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize)
Retrieves documents for the specified key prefix
|
java.util.List<JsonDocument> |
startsWith(java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
boolean metadataOnly)
Retrieves documents for the specified key prefix
|
java.util.List<JsonDocument> |
startsWith(java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
boolean metadataOnly,
java.lang.String exclude)
Retrieves documents for the specified key prefix
|
java.util.List<JsonDocument> |
startsWith(java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
boolean metadataOnly,
java.lang.String exclude,
RavenPagingInformation pagingInformation)
Retrieves documents for the specified key prefix
|
java.util.List<JsonDocument> |
startsWith(java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
boolean metadataOnly,
java.lang.String exclude,
RavenPagingInformation pagingInformation,
java.lang.String transformer,
java.util.Map<java.lang.String,RavenJToken> transformerParameters) |
java.util.List<JsonDocument> |
startsWith(java.lang.String keyPrefix,
java.lang.String matches,
int start,
int pageSize,
boolean metadataOnly,
java.lang.String exclude,
RavenPagingInformation pagingInformation,
java.lang.String transformer,
java.util.Map<java.lang.String,RavenJToken> transformerParameters,
java.lang.String skipAfter) |
CloseableIterator<RavenJObject> |
streamDocs()
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
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.
|
CloseableIterator<RavenJObject> |
streamQuery(java.lang.String index,
IndexQuery query,
Reference<QueryHeaderInformation> queryHeaderInfo)
Queries the specified index in the Raven flavored Lucene query syntax.
|
SuggestionQueryResult |
suggest(java.lang.String index,
SuggestionQuery suggestionQuery)
Returns a list of suggestions based on the specified suggestion query
|
java.lang.Boolean |
tryResolveConflictByUsingRegisteredListeners(java.lang.String key,
Etag etag,
java.lang.String[] conflictedIds,
OperationMetadata opUrl)
Tries to resolve conflict using registered listeners
|
void |
updateAttachmentMetadata(java.lang.String key,
Etag etag,
RavenJObject metadata)
Deprecated.
|
Operation |
updateByIndex(java.lang.String indexName,
IndexQuery queryToUpdate,
PatchRequest[] patchRequests)
Perform a set based update using the specified index, not allowing the operation
if the index is stale
|
Operation |
updateByIndex(java.lang.String indexName,
IndexQuery queryToUpdate,
PatchRequest[] patchRequests,
BulkOperationOptions options)
Perform a set based update using the specified index, not allowing the operation
if the index is stale
|
Operation |
updateByIndex(java.lang.String indexName,
IndexQuery queryToUpdate,
ScriptedPatchRequest patch)
Perform a set based update using the specified index, not allowing the operation
if the index is stale
|
Operation |
updateByIndex(java.lang.String indexName,
IndexQuery queryToUpdate,
ScriptedPatchRequest patch,
BulkOperationOptions options)
Perform a set based update using the specified index, not allowing the operation
if the index is stale
|
java.lang.String |
urlFor(java.lang.String documentKey)
Get the full URL for the given document key
|
getProfilingInformation, isExpect100Continue
java.util.Map<java.lang.String,java.lang.String> getOperationsHeaders()
void setOperationsHeaders(java.util.Map<java.lang.String,java.lang.String> operationsHeaders)
operationsHeaders
- IGlobalAdminDatabaseCommands getGlobalAdmin()
OperationCredentials getPrimaryCredentials()
IAdminDatabaseCommands getAdmin()
JsonDocument get(java.lang.String key) throws ServerClientException
key
- The keyServerClientException
MultiLoadResult get(java.lang.String[] ids, java.lang.String[] includes)
ids
- includes
- MultiLoadResult get(java.lang.String[] ids, java.lang.String[] includes, java.lang.String transformer)
ids
- includes
- transformer
- MultiLoadResult get(java.lang.String[] ids, java.lang.String[] includes, java.lang.String transformer, java.util.Map<java.lang.String,RavenJToken> transformerParameters)
ids
- includes
- transformer
- transformerParameters
- MultiLoadResult get(java.lang.String[] ids, java.lang.String[] includes, java.lang.String transformer, java.util.Map<java.lang.String,RavenJToken> transformerParameters, boolean metadataOnly)
ids
- includes
- transformer
- transformerParameters
- metadataOnly
- java.util.List<JsonDocument> getDocuments(int start, int pageSize)
start
- pageSize
- java.util.List<JsonDocument> getDocuments(int start, int pageSize, boolean metadataOnly)
start
- Paging startpageSize
- Size of the page.metadataOnly
- Load just the document metadataQueryResult query(java.lang.String index, IndexQuery query)
index
- query
- QueryResult query(java.lang.String index, IndexQuery query, java.lang.String[] includes)
index
- query
- includes
- QueryResult query(java.lang.String index, IndexQuery query, java.lang.String[] includes, boolean metadataOnly)
index
- query
- includes
- metadataOnly
- QueryResult query(java.lang.String index, IndexQuery query, java.lang.String[] includes, boolean metadataOnly, boolean indexEntriesOnly)
index
- query
- includes
- metadataOnly
- indexEntriesOnly
- BatchResult[] batch(java.util.List<ICommandData> commandDatas)
commandDatas
- SuggestionQueryResult suggest(java.lang.String index, SuggestionQuery suggestionQuery)
index
- suggestionQuery
- java.util.Collection<java.lang.String> getIndexNames(int start, int pageSize)
start
- pageSize
- java.util.Collection<IndexDefinition> getIndexes(int start, int pageSize)
IndexDefinition
sstart
- pageSize
- java.util.List<TransformerDefinition> getTransformers(int start, int pageSize)
start
- pageSize
- void resetIndex(java.lang.String name)
name
- IndexDefinition getIndex(java.lang.String name)
name
- TransformerDefinition getTransformer(java.lang.String name)
name
- java.lang.String putIndex(java.lang.String name, IndexDefinition definition)
name
- definition
- java.lang.String putTransformer(java.lang.String name, TransformerDefinition transformerDef)
name
- transformerDef
- java.lang.String putIndex(java.lang.String name, IndexDefinition definition, boolean overwrite)
name
- definition
- overwrite
- java.lang.String putIndex(java.lang.String name, IndexDefinitionBuilder indexDef)
name
- indexDef
- java.lang.String putIndex(java.lang.String name, IndexDefinitionBuilder indexDef, boolean overwrite)
name
- indexDef
- overwrite
- boolean indexHasChanged(java.lang.String name, IndexDefinition indexDef)
name
- indexDef
- void deleteIndex(java.lang.String name)
name
- Operation deleteByIndex(java.lang.String indexName, IndexQuery queryToDelete, BulkOperationOptions options)
indexName
- queryToDelete
- options
- Operation deleteByIndex(java.lang.String indexName, IndexQuery queryToDelete)
indexName
- queryToDelete
- void deleteTransformer(java.lang.String name)
name
- PutResult put(java.lang.String key, Etag guid, RavenJObject document, RavenJObject metadata)
key
- The key.guid
- The etag.document
- The document.metadata
- The metadata.RavenJObject patch(java.lang.String key, PatchRequest[] patches)
key
- Key of the document to patchpatches
- Array of patch requestsRavenJObject patch(java.lang.String key, PatchRequest[] patches, boolean ignoreMissing)
key
- Key of the document to patchpatches
- Array of patch requestsignoreMissing
- true if the patch request should ignore a missing document, false to throw DocumentDoesNotExistExceptionRavenJObject patch(java.lang.String key, ScriptedPatchRequest patch)
key
- Key of the document to patchpatch
- The patch request to use (using JavaScript)RavenJObject patch(java.lang.String key, ScriptedPatchRequest patch, boolean ignoreMissing)
key
- Key of the document to patchpatch
- The patch request to use (using JavaScript)ignoreMissing
- true if the patch request should ignore a missing document, false to throw DocumentDoesNotExistExceptionRavenJObject patch(java.lang.String key, PatchRequest[] patches, Etag etag)
key
- Key of the document to patchpatches
- Array of patch requestsetag
- Require specific Etag [null to ignore]RavenJObject patch(java.lang.String key, PatchRequest[] patchesToExisting, PatchRequest[] patchesToDefault, RavenJObject defaultMetadata)
key
- Id of the document to patchpatchesToExisting
- Array of patch requests to apply to an existing documentpatchesToDefault
- Array of patch requests to apply to a default document when the document is missingdefaultMetadata
- The metadata for the default document when the document is missingRavenJObject patch(java.lang.String key, ScriptedPatchRequest patch, Etag etag)
key
- Key of the document to patchpatch
- The patch request to use (using JavaScript)etag
- Require specific Etag [null to ignore]RavenJObject patch(java.lang.String key, ScriptedPatchRequest patchExisting, ScriptedPatchRequest patchDefault, RavenJObject defaultMetadata)
key
- Id of the document to patchpatchExisting
- The patch request to use (using JavaScript) to an existing documentpatchDefault
- The patch request to use (using JavaScript) to a default document when the document is missingdefaultMetadata
- The metadata for the default document when the document is missingIDatabaseCommands forDatabase(java.lang.String database)
IDatabaseCommands
that will interacts with the specified databasedatabase
- IDatabaseCommands forSystemDatabase()
IDatabaseCommands
that will interacts with the default database.DatabaseStatistics getStatistics()
@Deprecated Attachment getAttachment(java.lang.String key)
key
- @Deprecated AttachmentInformation[] getAttachments(int start, Etag startEtag, int pageSize)
@Deprecated Attachment headAttachment(java.lang.String key)
key
- @Deprecated void deleteAttachment(java.lang.String key, Etag etag)
key
- The key.etag
- The etag.java.util.List<java.lang.String> getTerms(java.lang.String index, java.lang.String field, java.lang.String fromValue, int pageSize)
index
- field
- fromValue
- pageSize
- java.lang.AutoCloseable disableAllCaching()
GetResponse[] multiGet(GetRequest[] requests)
requests
- Operation updateByIndex(java.lang.String indexName, IndexQuery queryToUpdate, PatchRequest[] patchRequests)
indexName
- queryToUpdate
- patchRequests
- Operation updateByIndex(java.lang.String indexName, IndexQuery queryToUpdate, ScriptedPatchRequest patch)
indexName
- queryToUpdate
- patch
- Operation updateByIndex(java.lang.String indexName, IndexQuery queryToUpdate, PatchRequest[] patchRequests, BulkOperationOptions options)
indexName
- queryToUpdate
- patchRequests
- options
- Operation updateByIndex(java.lang.String indexName, IndexQuery queryToUpdate, ScriptedPatchRequest patch, BulkOperationOptions options)
indexName
- queryToUpdate
- patch
- options
- FacetResults getFacets(java.lang.String index, IndexQuery query, java.lang.String facetSetupDoc)
index
- query
- facetSetupDoc
- FacetResults getFacets(java.lang.String index, IndexQuery query, java.lang.String facetSetupDoc, int start)
index
- query
- facetSetupDoc
- start
- FacetResults getFacets(java.lang.String index, IndexQuery query, java.lang.String facetSetupDoc, int start, java.lang.Integer pageSize)
index
- query
- facetSetupDoc
- start
- pageSize
- FacetResults getFacets(java.lang.String index, IndexQuery query, java.util.List<Facet> facets)
index
- query
- facets
- FacetResults getFacets(java.lang.String index, IndexQuery query, java.util.List<Facet> facets, int start)
index
- query
- facets
- start
- FacetResults getFacets(java.lang.String index, IndexQuery query, java.util.List<Facet> facets, int start, java.lang.Integer pageSize)
index
- query
- facets
- start
- pageSize
- java.util.List<JsonDocument> startsWith(java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize) throws ServerClientException
keyPrefix
- matches
- start
- pageSize
- ServerClientException
java.util.List<JsonDocument> startsWith(java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, boolean metadataOnly)
keyPrefix
- matches
- start
- pageSize
- metadataOnly
- java.util.List<JsonDocument> startsWith(java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, boolean metadataOnly, java.lang.String exclude)
keyPrefix
- matches
- start
- pageSize
- metadataOnly
- java.util.List<JsonDocument> startsWith(java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, boolean metadataOnly, java.lang.String exclude, RavenPagingInformation pagingInformation)
keyPrefix
- matches
- start
- pageSize
- metadataOnly
- java.util.List<JsonDocument> startsWith(java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, boolean metadataOnly, java.lang.String exclude, RavenPagingInformation pagingInformation, java.lang.String transformer, java.util.Map<java.lang.String,RavenJToken> transformerParameters)
java.util.List<JsonDocument> startsWith(java.lang.String keyPrefix, java.lang.String matches, int start, int pageSize, boolean metadataOnly, java.lang.String exclude, RavenPagingInformation pagingInformation, java.lang.String transformer, java.util.Map<java.lang.String,RavenJToken> transformerParameters, java.lang.String skipAfter)
long seedIdentityFor(java.lang.String name, long value)
name
- value
- void delete(java.lang.String key, Etag etag)
key
- The key.etag
- The etag.@Deprecated void putAttachment(java.lang.String key, Etag etag, java.io.InputStream data, RavenJObject metadata)
key
- The key.etag
- The etag.data
- The data.metadata
- The metadata.@Deprecated void updateAttachmentMetadata(java.lang.String key, Etag etag, RavenJObject metadata)
key
- The key.etag
- The etag.metadata
- The metadata.@Deprecated java.util.List<Attachment> getAttachmentHeadersStartingWith(java.lang.String idPrefix, int start, int pageSize)
idPrefix
- start
- pageSize
- CloseableIterator<RavenJObject> streamQuery(java.lang.String index, IndexQuery query, Reference<QueryHeaderInformation> queryHeaderInfo)
index
- query
- queryHeaderInfo
- CloseableIterator<RavenJObject> streamDocs()
CloseableIterator<RavenJObject> streamDocs(Etag fromEtag)
fromEtag
- CloseableIterator<RavenJObject> streamDocs(Etag fromEtag, java.lang.String startsWith)
fromEtag
- startsWith
- CloseableIterator<RavenJObject> streamDocs(Etag fromEtag, java.lang.String startsWith, java.lang.String matches)
fromEtag
- startsWith
- matches
- CloseableIterator<RavenJObject> streamDocs(Etag fromEtag, java.lang.String startsWith, java.lang.String matches, int start)
fromEtag
- startsWith
- matches
- start
- CloseableIterator<RavenJObject> streamDocs(Etag fromEtag, java.lang.String startsWith, java.lang.String matches, int start, int pageSize)
fromEtag
- startsWith
- matches
- start
- pageSize
- CloseableIterator<RavenJObject> streamDocs(Etag fromEtag, java.lang.String startsWith, java.lang.String matches, int start, int pageSize, java.lang.String exclude)
fromEtag
- startsWith
- matches
- start
- pageSize
- CloseableIterator<RavenJObject> streamDocs(Etag fromEtag, java.lang.String startsWith, java.lang.String matches, int start, int pageSize, java.lang.String exclude, RavenPagingInformation pagingInformation)
fromEtag
- startsWith
- matches
- start
- pageSize
- pagingInformation
- CloseableIterator<RavenJObject> 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)
fromEtag
- startsWith
- matches
- start
- pageSize
- pagingInformation
- skipAfter
- MultiLoadResult moreLikeThis(MoreLikeThisQuery query)
query
- FacetResults[] getMultiFacets(FacetQuery[] facetedQueries)
facetedQueries
- JsonDocumentMetadata head(java.lang.String key)
key
- The key.java.lang.Long nextIdentityFor(java.lang.String name)
name
- java.lang.String urlFor(java.lang.String documentKey)
documentKey
- java.lang.AutoCloseable forceReadFromMaster()
ILowLevelBulkInsertOperation getBulkInsertOperation(BulkInsertOptions options, IDatabaseChanges changes)
IndexMergeResults getIndexMergeSuggestions()
java.lang.Boolean tryResolveConflictByUsingRegisteredListeners(java.lang.String key, Etag etag, java.lang.String[] conflictedIds, OperationMetadata opUrl)
key
- etag
- conflictedIds
- opUrl
- Copyright © 2014. All Rights Reserved.