Class TriggerEvent.Op
- java.lang.Object
-
- org.apache.solr.cloud.autoscaling.TriggerEvent.Op
-
- All Implemented Interfaces:
MapSerializable
,MapWriter
,NavigableObject
- Enclosing class:
- TriggerEvent
public static final class TriggerEvent.Op 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 Op(CollectionParams.CollectionAction action)
Op(CollectionParams.CollectionAction action, Suggester.Hint hint, Object hintValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHint(Suggester.Hint hint, Object value)
static TriggerEvent.Op
fromMap(Map<String,Object> map)
CollectionParams.CollectionAction
getAction()
EnumMap<Suggester.Hint,Object>
getHints()
String
toString()
void
writeMap(MapWriter.EntryWriter ew)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
Constructor Detail
-
Op
public Op(CollectionParams.CollectionAction action)
-
Op
public Op(CollectionParams.CollectionAction action, Suggester.Hint hint, Object hintValue)
-
-
Method Detail
-
addHint
public void addHint(Suggester.Hint hint, Object value)
-
getAction
public CollectionParams.CollectionAction getAction()
-
getHints
public EnumMap<Suggester.Hint,Object> getHints()
-
writeMap
public void writeMap(MapWriter.EntryWriter ew) throws IOException
- Specified by:
writeMap
in interfaceMapWriter
- Throws:
IOException
-
fromMap
public static TriggerEvent.Op fromMap(Map<String,Object> map)
-
-