Class Preference
- java.lang.Object
-
- org.apache.solr.client.solrj.cloud.autoscaling.Preference
-
- All Implemented Interfaces:
MapSerializable,MapWriter,NavigableObject
public class Preference extends Object implements MapWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Constructor Summary
Constructors Constructor Description Preference(Map<String,Object> m)Preference(Map<String,Object> m, int idx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Policy.SortParamgetName()MapgetOriginal()StringtoString()voidwriteMap(MapWriter.EntryWriter ew)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
Method Detail
-
writeMap
public void writeMap(MapWriter.EntryWriter ew) throws IOException
- Specified by:
writeMapin interfaceMapWriter- Throws:
IOException
-
getName
public Policy.SortParam getName()
-
getOriginal
public Map getOriginal()
- Returns:
- an unmodifiable copy of the original map from which this object was constructed
-
-