org.hibernate.search.elasticsearch.work.impl

## Class BulkWork.Builder

- java.lang.Object
- - org.hibernate.search.elasticsearch.work.impl.BulkWork.Builder

- All Implemented Interfaces:
    BulkWorkBuilder, ElasticsearchWorkBuilder<ElasticsearchWork<BulkResult>>
  Enclosing class:
    BulkWork

      public static class BulkWork.Builder
      extends Object
      implements BulkWorkBuilder

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder(List<BulkableElasticsearchWork<?>> bulkableWorks)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BulkWork` | `build()`
    `protected ElasticsearchRequest` | `buildRequest()`
    `BulkWork.Builder` | `refresh(boolean refresh)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder(List<BulkableElasticsearchWork<?>> bulkableWorks)

  - ### Method Detail

    - #### refresh

          public BulkWork.Builder refresh(boolean refresh)

      Specified by:
        `refresh` in interface `BulkWorkBuilder`

    - #### buildRequest

          protected ElasticsearchRequest buildRequest()

    - #### build

          public BulkWork build()

      Specified by:
        `build` in interface `ElasticsearchWorkBuilder<ElasticsearchWork<BulkResult>>`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved