public static final class TriggerEvent.Op extends Object implements MapWriter
MapWriter.EntryWriter
Constructor and Description |
---|
Op(CollectionParams.CollectionAction action) |
Op(CollectionParams.CollectionAction action,
Suggester.Hint hint,
Object hintValue) |
Modifier and Type | Method and 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
public Op(CollectionParams.CollectionAction action)
public Op(CollectionParams.CollectionAction action, Suggester.Hint hint, Object hintValue)
public void addHint(Suggester.Hint hint, Object value)
public CollectionParams.CollectionAction getAction()
public EnumMap<Suggester.Hint,Object> getHints()
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public static TriggerEvent.Op fromMap(Map<String,Object> map)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.