public class EsLookupBolt extends AbstractEsBolt
client, collector
Constructor and Description |
---|
EsLookupBolt(EsConfig esConfig,
ElasticsearchGetRequest getRequest,
EsLookupResultOutput output) |
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer outputFieldsDeclarer) |
void |
execute(Tuple tuple) |
prepare
cleanup
getComponentConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponentConfiguration
public EsLookupBolt(EsConfig esConfig, ElasticsearchGetRequest getRequest, EsLookupResultOutput output)
NullPointerException
- if any of the parameters is nullpublic void execute(Tuple tuple)
execute
in interface IBolt
execute
in class AbstractEsBolt
public void declareOutputFields(OutputFieldsDeclarer outputFieldsDeclarer)
declareOutputFields
in interface IComponent
declareOutputFields
in class AbstractEsBolt
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.