public class IndexDocumentsBatch<T> extends IndexBatchBase<T>
| Constructor and Description |
|---|
IndexDocumentsBatch()
Constructor of
IndexDocumentsBatch. |
| Modifier and Type | Method and Description |
|---|---|
IndexDocumentsBatch<T> |
addActions(Iterable<IndexAction<T>> actions)
Adds document index actions to the batch.
|
IndexDocumentsBatch<T> |
addDeleteActions(Iterable<T> documents)
Adds document delete actions to the batch.
|
IndexDocumentsBatch<T> |
addDeleteActions(String keyName,
Iterable<String> keyValues)
Adds document delete actions based on key IDs to the batch.
|
IndexDocumentsBatch<T> |
addMergeActions(Iterable<T> documents)
Adds merge document actions to the batch..
|
IndexDocumentsBatch<T> |
addMergeOrUploadActions(Iterable<T> documents)
Adds merge or upload document actions to the batch.
|
IndexDocumentsBatch<T> |
addUploadActions(Iterable<T> documents)
Adds upload document actions to the batch.
|
getActionspublic IndexDocumentsBatch()
IndexDocumentsBatch.public IndexDocumentsBatch<T> addActions(Iterable<IndexAction<T>> actions)
actions - Index actions.public IndexDocumentsBatch<T> addUploadActions(Iterable<T> documents)
documents - Documents to be uploaded.public IndexDocumentsBatch<T> addDeleteActions(Iterable<T> documents)
documents - Document to be deleted.public IndexDocumentsBatch<T> addDeleteActions(String keyName, Iterable<String> keyValues)
keyName - The key field name.keyValues - Keys of the documents to delete.public IndexDocumentsBatch<T> addMergeActions(Iterable<T> documents)
documents - Documents to be merged.public IndexDocumentsBatch<T> addMergeOrUploadActions(Iterable<T> documents)
documents - Documents to be merged or uploaded.Copyright © 2020 Microsoft Corporation. All rights reserved.