public class DocStoreIndexEvent<T> extends Object implements DocStoreUpdate
Constructor and Description |
---|
DocStoreIndexEvent(BeanType<T> beanType,
Object idValue,
T bean) |
Modifier and Type | Method and Description |
---|---|
void |
addToQueue(DocStoreUpdates docStoreUpdates)
Add this event to the queue (for queue delayed processing).
|
void |
docStoreUpdate(DocStoreUpdateContext txn)
Add appropriate JSON content for sending to the ElasticSearch Bulk API.
|
public DocStoreIndexEvent(BeanType<T> beanType, Object idValue, T bean)
public void docStoreUpdate(DocStoreUpdateContext txn) throws IOException
docStoreUpdate
in interface DocStoreUpdate
IOException
public void addToQueue(DocStoreUpdates docStoreUpdates)
addToQueue
in interface DocStoreUpdate
Copyright © 2019. All rights reserved.