Search in sources :

Example 1 with SpoutOutputCollectorImpl

use of org.apache.storm.spout.SpoutOutputCollectorImpl in project heron by twitter.

the class IRichSpoutDelegate method open.

@Override
@SuppressWarnings("rawtypes")
public void open(Map conf, com.twitter.heron.api.topology.TopologyContext context, SpoutOutputCollector collector) {
    topologyContextImpl = new TopologyContext(context);
    spoutOutputCollectorImpl = new SpoutOutputCollectorImpl(collector);
    delegate.open(conf, topologyContextImpl, spoutOutputCollectorImpl);
}
Also used : SpoutOutputCollectorImpl(org.apache.storm.spout.SpoutOutputCollectorImpl) TopologyContext(org.apache.storm.task.TopologyContext)

Example 2 with SpoutOutputCollectorImpl

use of org.apache.storm.spout.SpoutOutputCollectorImpl in project heron by twitter.

the class IRichSpoutDelegate method open.

@Override
@SuppressWarnings("rawtypes")
public void open(Map conf, org.apache.heron.api.topology.TopologyContext context, SpoutOutputCollector collector) {
    topologyContextImpl = new TopologyContext(context);
    spoutOutputCollectorImpl = new SpoutOutputCollectorImpl(collector);
    delegate.open(conf, topologyContextImpl, spoutOutputCollectorImpl);
}
Also used : SpoutOutputCollectorImpl(org.apache.storm.spout.SpoutOutputCollectorImpl) TopologyContext(org.apache.storm.task.TopologyContext)

Example 3 with SpoutOutputCollectorImpl

use of org.apache.storm.spout.SpoutOutputCollectorImpl in project incubator-heron by apache.

the class IRichSpoutDelegate method open.

@Override
@SuppressWarnings("rawtypes")
public void open(Map<String, Object> conf, com.twitter.heron.api.topology.TopologyContext context, SpoutOutputCollector collector) {
    topologyContextImpl = new TopologyContext(context);
    spoutOutputCollectorImpl = new SpoutOutputCollectorImpl(collector);
    delegate.open(conf, topologyContextImpl, spoutOutputCollectorImpl);
}
Also used : SpoutOutputCollectorImpl(org.apache.storm.spout.SpoutOutputCollectorImpl) TopologyContext(org.apache.storm.task.TopologyContext)

Aggregations

SpoutOutputCollectorImpl (org.apache.storm.spout.SpoutOutputCollectorImpl)3 TopologyContext (org.apache.storm.task.TopologyContext)3