public static class TridentHiveTopology.FixedBatchSpout extends Object implements IBatchSpout
Constructor and Description |
---|
FixedBatchSpout(int maxBatchSize) |
Modifier and Type | Method and Description |
---|---|
void |
ack(long batchId) |
void |
close() |
void |
emitBatch(long batchId,
TridentCollector collector) |
Map |
getComponentConfiguration() |
Fields |
getOutputFields() |
void |
open(Map conf,
TopologyContext context) |
void |
setCycle(boolean cycle) |
public void setCycle(boolean cycle)
public Fields getOutputFields()
getOutputFields
in interface IBatchSpout
public void open(Map conf, TopologyContext context)
open
in interface IBatchSpout
public void emitBatch(long batchId, TridentCollector collector)
emitBatch
in interface IBatchSpout
public void ack(long batchId)
ack
in interface IBatchSpout
public void close()
close
in interface IBatchSpout
public Map getComponentConfiguration()
getComponentConfiguration
in interface IBatchSpout
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.