public class NoneDocStoreUpdateProcessor extends Object implements DocStoreUpdateProcessor
| Constructor and Description |
|---|
NoneDocStoreUpdateProcessor() |
| Modifier and Type | Method and Description |
|---|---|
<T> DocStoreQueryUpdate<T> |
createQueryUpdate(BeanType<T> beanType,
int bulkBatchSize)
Create a processor to handle updates per bean via a findEach query.
|
void |
process(DocStoreUpdates docStoreUpdates,
int bulkBatchSize)
Process all the updates for a transaction.
|
public NoneDocStoreUpdateProcessor()
public <T> DocStoreQueryUpdate<T> createQueryUpdate(BeanType<T> beanType, int bulkBatchSize) throws IOException
DocStoreUpdateProcessorcreateQueryUpdate in interface DocStoreUpdateProcessorIOExceptionpublic void process(DocStoreUpdates docStoreUpdates, int bulkBatchSize)
DocStoreUpdateProcessorTypically this makes calls to the Bulk API of the document store or simply adds entries to a queue for future processing.
process in interface DocStoreUpdateProcessordocStoreUpdates - The 'Bulk' and 'Queue' updates to the indexes for the transaction.bulkBatchSize - The batch size to use for Bulk API calls specified on the transaction.
If this is 0 then the default batch size is used.Copyright © 2016. All rights reserved.