public interface BulkOperationFactory
| Modifier and Type | Method and Description |
|---|---|
java.util.List<BulkOperation> |
createBulkOperations(java.lang.Object document,
BulkOperation.Action action)
Returns a list of bulk operations to perform, which may include operations that affect
different indexes.
|
boolean |
supports(java.lang.Object document)
Returns true if this factory supports the given document.
|
java.util.List<BulkOperation> createBulkOperations(java.lang.Object document, BulkOperation.Action action) throws java.io.IOException
document - documentaction - action to performjava.io.IOException - if there is an error creating bulk operations from the given documentboolean supports(java.lang.Object document)
document - document to be indexed