org.eclipse.rdf4j.sail.lucene

## Class SimpleBulkUpdater

- java.lang.Object
- - org.eclipse.rdf4j.sail.lucene.SimpleBulkUpdater

- All Implemented Interfaces:
    BulkUpdater

      public class SimpleBulkUpdater
      extends Object
      implements BulkUpdater

  A bulk updater that updates documents one-by-one.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleBulkUpdater(AbstractSearchIndex index)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(SearchDocument doc)`
    `void` | `delete(SearchDocument doc)`
    `void` | `end()`
    `void` | `update(SearchDocument doc)`

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

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

- - ### Constructor Detail

    - #### SimpleBulkUpdater

          public SimpleBulkUpdater(AbstractSearchIndex index)

  - ### Method Detail

    - #### add

          public void add(SearchDocument doc)
                   throws IOException

      Specified by:
        `add` in interface `BulkUpdater`
      Throws:
        `IOException`

    - #### update

          public void update(SearchDocument doc)
                      throws IOException

      Specified by:
        `update` in interface `BulkUpdater`
      Throws:
        `IOException`

    - #### delete

          public void delete(SearchDocument doc)
                      throws IOException

      Specified by:
        `delete` in interface `BulkUpdater`
      Throws:
        `IOException`

    - #### end

          public void end()

      Specified by:
        `end` in interface `BulkUpdater`

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.