Package org.apache.solr.common
Class MapWriterMap
java.lang.Object
org.apache.solr.common.MapWriterMap
- All Implemented Interfaces:
MapSerializable,MapWriter,NavigableObject,org.noggit.JSONWriter.Writable
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get a child object value using json path.Deprecated.Get a child object value using json pathint_size()Deprecated.Deprecated.Use the passed map to minimize object creation.voidDeprecated.Writes this object's entries out toew.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _getStr, _getStr
-
Constructor Details
-
MapWriterMap
Deprecated.
-
-
Method Details
-
writeMap
Deprecated.Description copied from interface:MapWriterWrites this object's entries out toew.- Specified by:
writeMapin interfaceMapWriter- Throws:
IOException
-
_get
Deprecated.Description copied from interface:NavigableObjectGet a child object value using json path. This usually ends up in String split operations use a list of strings where performance is important- Specified by:
_getin interfaceNavigableObject- Parameters:
path- the full path to that object such as a/b/c[4]/d etc- Returns:
- the found value or default
-
_get
Deprecated.Description copied from interface:NavigableObjectGet a child object value using json path- Specified by:
_getin interfaceNavigableObject- Parameters:
path- the full path to that object such as ["a","b","c[4]","d"] etcdef- the default- Returns:
- the found value or default
-
_size
public int _size()Deprecated.- Specified by:
_sizein interfaceNavigableObject
-
toMap
Deprecated.Description copied from interface:MapSerializableUse the passed map to minimize object creation. Do not keep a reference to the passed map and reuse it. it may be reused by the framework- Specified by:
toMapin interfaceMapSerializable- Specified by:
toMapin interfaceMapWriter
-