Package org.apache.solr.common
Class LinkedHashMapWriter<V>
- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.HashMap<K,V>
- 
- java.util.LinkedHashMap<String,V>
- 
- org.apache.solr.common.LinkedHashMapWriter<V>
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<String,V>,- MapSerializable,- MapWriter,- NavigableObject
 
 public class LinkedHashMapWriter<V> extends LinkedHashMap<String,V> implements MapWriter - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
 - 
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriterMapWriter.EntryWriter
 
- 
 - 
Constructor SummaryConstructors Constructor Description LinkedHashMapWriter()LinkedHashMapWriter(int initialCapacity)LinkedHashMapWriter(Map<? extends String,? extends V> m)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Object_get(String path, Object def)Get a child object value using json path.Object_get(List<String> path, Object def)Get a child object value using json pathStringtoString()voidwriteMap(MapWriter.EntryWriter ew)- 
Methods inherited from class java.util.LinkedHashMapclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
 - 
Methods inherited from class java.util.HashMapclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
 - 
Methods inherited from class java.util.AbstractMapequals, hashCode
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
 - 
Methods inherited from interface org.apache.solr.common.NavigableObject_forEachEntry, _forEachEntry, _forEachEntry, _getStr, _getStr, _size
 
- 
 
- 
- 
- 
Method Detail- 
writeMappublic void writeMap(MapWriter.EntryWriter ew) throws IOException - Specified by:
- writeMapin interface- MapWriter
- Throws:
- IOException
 
 - 
_getpublic Object _get(String path, Object def) 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 interface- NavigableObject
- Parameters:
- path- the full path to that object such as a/b/c[4]/d etc
- def- the default
- Returns:
- the found value or default
 
 - 
_getpublic Object _get(List<String> path, Object def) Description copied from interface:NavigableObjectGet a child object value using json path- Specified by:
- _getin interface- NavigableObject
- Parameters:
- path- the full path to that object such as ["a","b","c[4]","d"] etc
- def- the default
- Returns:
- the found value or default
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- AbstractMap<String,V>
 
 
- 
 
-