Package org.apache.solr.jersey
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:
-
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 TypeMethodDescriptiondefault voidwriteMap(org.apache.solr.common.MapWriter.EntryWriter ew) Methods inherited from interface org.apache.solr.common.MapWriter
jsonStr, toMap, writeMethods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
Method Details
-
writeMap
- Specified by:
writeMapin interfaceorg.apache.solr.common.MapWriter- Throws:
IOException
-