Interface JacksonReflectMapWriter

All Superinterfaces:
org.noggit.JSONWriter.Writable, org.apache.solr.common.MapSerializable, org.apache.solr.common.MapWriter, org.apache.solr.common.NavigableObject
All Known Implementing Classes:
InstallShardDataCmd.RemoteMessage

public interface JacksonReflectMapWriter extends org.apache.solr.common.MapWriter
A MapWriter implementation that relies on Jackson's JsonProperty annotation.

Similar to ReflectMapWriter, except for its use of the Jackson annotation instead of our own homegrown alternative, JsonProperty. This is useful for when the objects involved must interact with 3rd party libraries that expect Jackson, such as Jersey/

See Also:
  • ReflectMapWriter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter

    org.apache.solr.common.MapWriter.EntryWriter
  • Field Summary

    Fields inherited from interface org.apache.solr.common.MapWriter

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    writeMap(org.apache.solr.common.MapWriter.EntryWriter ew)
     

    Methods inherited from interface org.apache.solr.common.MapWriter

    jsonStr, toMap, write

    Methods inherited from interface org.apache.solr.common.NavigableObject

    _forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
  • Method Details

    • writeMap

      default void writeMap(org.apache.solr.common.MapWriter.EntryWriter ew) throws IOException
      Specified by:
      writeMap in interface org.apache.solr.common.MapWriter
      Throws:
      IOException