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> |
addDeleteAction(Iterable<T> documents)
Adds Delete IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addDeleteAction(String keyName,
Iterable<String> keyValues)
Adds Delete IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addDeleteAction(String keyName,
String... keyValues)
Adds Delete IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addDeleteAction(T... documents)
Adds a Delete IndexAction to the IndexAction chain for a document.
|
IndexDocumentsBatch<T> |
addMergeAction(Iterable<T> documents)
Adds Merge IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addMergeAction(T... documents)
Adds a Merge IndexAction to the IndexAction chain for a document.
|
IndexDocumentsBatch<T> |
addMergeOrUploadAction(Iterable<T> documents)
Adds Merge or Upload IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addMergeOrUploadAction(T... documents)
Adds a Merge or Upload IndexAction to the IndexAction chain for a document.
|
IndexDocumentsBatch<T> |
addUploadAction(Iterable<T> documents)
Adds Upload IndexActions to the IndexAction chain for a collection of documents.
|
IndexDocumentsBatch<T> |
addUploadAction(T... documents)
Adds an Upload IndexAction to the IndexAction chain for a document.
|
getActions, setActionspublic IndexDocumentsBatch<T> actions(List<IndexAction<T>> actions)
actions - the actions value to set.public IndexDocumentsBatch<T> addUploadAction(T... documents)
documents - The documents to be uploaded.public IndexDocumentsBatch<T> addUploadAction(Iterable<T> documents)
documents - The document collection to be uploaded.public IndexDocumentsBatch<T> addDeleteAction(T... documents)
documents - The documents to be deleted.public IndexDocumentsBatch<T> addDeleteAction(Iterable<T> documents)
documents - The document collection to be deleted.public IndexDocumentsBatch<T> addDeleteAction(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> addDeleteAction(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> addMergeAction(T... documents)
documents - The documents to be merged.public IndexDocumentsBatch<T> addMergeAction(Iterable<T> documents)
documents - The document collection to be merged.public IndexDocumentsBatch<T> addMergeOrUploadAction(T... documents)
documents - The documents to be merged or uploaded.public IndexDocumentsBatch<T> addMergeOrUploadAction(Iterable<T> documents)
documents - The document collection to be merged or uploaded.Copyright © 2020 Microsoft Corporation. All rights reserved.