Interface BulkableWork<T>

    • Method Detail

      • getBulkableActionMetadata

        com.google.gson.JsonObject getBulkableActionMetadata()
      • getBulkableActionBody

        com.google.gson.JsonObject getBulkableActionBody()
      • handleBulkResult

        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:
        the result of this work