public static class IndexWork.Builder extends SimpleBulkableElasticsearchWork.Builder<IndexWork.Builder> implements IndexWorkBuilder
| Modifier and Type | Field and Description |
|---|---|
protected IndexingMonitor |
monitor |
dirtiedIndexName, luceneWork, markIndexDirty, resultAssessor| Constructor and Description |
|---|
Builder(String indexName,
String typeName,
String id,
com.google.gson.JsonObject document) |
| Modifier and Type | Method and Description |
|---|---|
IndexWork |
build() |
protected com.google.gson.JsonObject |
buildBulkableActionMetadata() |
protected ElasticsearchRequest |
buildRequest() |
IndexWork.Builder |
monitor(IndexingMonitor monitor) |
luceneWork, markIndexDirtyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitluceneWorkmarkIndexDirtyprotected IndexingMonitor monitor
public IndexWork.Builder monitor(IndexingMonitor monitor)
monitor in interface IndexWorkBuilderprotected ElasticsearchRequest buildRequest()
buildRequest in class SimpleElasticsearchWork.Builder<IndexWork.Builder>protected com.google.gson.JsonObject buildBulkableActionMetadata()
buildBulkableActionMetadata in class SimpleBulkableElasticsearchWork.Builder<IndexWork.Builder>public IndexWork build()
build in interface ElasticsearchWorkBuilder<ElasticsearchWork<Void>>build in class SimpleElasticsearchWork.Builder<IndexWork.Builder>Copyright © 2006–2017 Hibernate. All rights reserved.