org.apache.solr.handler.dataimport

## Class DIHWriterBase

- java.lang.Object
- - org.apache.solr.handler.dataimport.DIHWriterBase

- All Implemented Interfaces:
    DIHWriter
  Direct Known Subclasses:
    SolrWriter

      public abstract class DIHWriterBase
      extends Object
      implements DIHWriter

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Set<Object>` | `deltaKeys`
    `protected String` | `keyFieldName`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DIHWriterBase()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setDeltaKeys(Set<Map<String,Object>> passedInDeltaKeys)` Specify the keys to be modified by a delta update (required by writers that can store duplicate keys)

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

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

    - ### Methods inherited from interface org.apache.solr.handler.dataimport.DIHWriter

      `close, commit, deleteByQuery, deleteDoc, doDeleteAll, init, rollback, upload`

- - ### Field Detail

    - #### keyFieldName

          protected String keyFieldName

    - #### deltaKeys

          protected Set<Object> deltaKeys

  - ### Constructor Detail

    - #### DIHWriterBase

          public DIHWriterBase()

  - ### Method Detail

    - #### setDeltaKeys

          public void setDeltaKeys(Set<Map<String,Object>> passedInDeltaKeys)

      Description copied from interface: `DIHWriter`

      Specify the keys to be modified by a delta update (required by writers that can store duplicate keys)

      Specified by:
        `setDeltaKeys` in interface `DIHWriter`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.