org.hibernate.search.elasticsearch.work.impl

## Interface BulkableElasticsearchWork<T>

- All Superinterfaces:
    ElasticsearchWork<T>
  All Known Implementing Classes:
    DeleteWork, IndexWork, SimpleBulkableElasticsearchWork

      public interface BulkableElasticsearchWork<T>
      extends ElasticsearchWork<T>

  Author:
    Yoann Rodiere

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gson.JsonObject` | `getBulkableActionBody()`
    `com.google.gson.JsonObject` | `getBulkableActionMetadata()`
    `CompletableFuture<T>` | `handleBulkResult(ElasticsearchWorkExecutionContext context, com.google.gson.JsonObject resultItem)`

    - ### Methods inherited from interface org.hibernate.search.elasticsearch.work.impl.ElasticsearchWork

      `aggregate, execute, getLuceneWork`

- - ### Method Detail

    - #### getBulkableActionMetadata

          com.google.gson.JsonObject getBulkableActionMetadata()

    - #### getBulkableActionBody

          com.google.gson.JsonObject getBulkableActionBody()

    - #### handleBulkResult

          CompletableFuture<T> handleBulkResult(ElasticsearchWorkExecutionContext context,
                                                com.google.gson.JsonObject resultItem)

      Parameters:
        `context` - The execution context
        `resultItem` - A future eventually returning the part of the bulk JSON result relevant to this work
      Returns:
        a future eventually returning the result of this work

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