public class IndexDocumentsBatch<T> extends IndexBatchBase<T>
Constructor and Description |
---|
IndexDocumentsBatch()
Constructor
|
Modifier and Type | Method and Description |
---|---|
IndexDocumentsBatch<T> |
actions(List<IndexAction<T>> actions)
Set the actions property: The actions in the batch.
|
IndexDocumentsBatch<T> |
addDeleteActions(Iterable<T> documents)
Adds Delete IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addDeleteActions(String keyName,
Iterable<String> keyValues)
Adds Delete IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addDeleteActions(String keyName,
String... keyValues)
Adds Delete IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addDeleteActions(T... documents)
Adds a Delete IndexAction to the IndexAction chain for a document.
|
IndexDocumentsBatch<T> |
addMergeActions(Iterable<T> documents)
Adds Merge IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addMergeActions(T... documents)
Adds a Merge IndexAction to the IndexAction chain for a document.
|
IndexDocumentsBatch<T> |
addMergeOrUploadActions(Iterable<T> documents)
Adds Merge or Upload IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addMergeOrUploadActions(T... documents)
Adds a Merge or Upload IndexAction to the IndexAction chain for a document.
|
IndexDocumentsBatch<T> |
addUploadActions(Iterable<T> documents)
Adds Upload IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addUploadActions(T... documents)
Adds an Upload IndexAction to the IndexAction chain for a document.
|
getActions, setActions
public IndexDocumentsBatch<T> actions(List<IndexAction<T>> actions)
actions
- the actions value to set.public IndexDocumentsBatch<T> addUploadActions(T... documents)
documents
- The documents to be uploaded.public IndexDocumentsBatch<T> addUploadActions(Iterable<T> documents)
documents
- The document collection to be uploaded.public IndexDocumentsBatch<T> addDeleteActions(T... documents)
documents
- The documents to be deleted.public IndexDocumentsBatch<T> addDeleteActions(Iterable<T> documents)
documents
- The document collection to be deleted.public IndexDocumentsBatch<T> addDeleteActions(String keyName, Iterable<String> keyValues)
keyName
- The name of the key field that uniquely identifies documents in the index.keyValues
- The keys of the documents to delete.public IndexDocumentsBatch<T> addDeleteActions(String keyName, String... keyValues)
keyName
- The name of the key field that uniquely identifies documents in the index.keyValues
- The keys of the documents to delete.public IndexDocumentsBatch<T> addMergeActions(T... documents)
documents
- The documents to be merged.public IndexDocumentsBatch<T> addMergeActions(Iterable<T> documents)
documents
- The document collection to be merged.public IndexDocumentsBatch<T> addMergeOrUploadActions(T... documents)
documents
- The documents to be merged or uploaded.public IndexDocumentsBatch<T> addMergeOrUploadActions(Iterable<T> documents)
documents
- The document collection to be merged or uploaded.Copyright © 2020 Microsoft Corporation. All rights reserved.