Package org.apache.storm.trident.spout

## Interface IBatchSpout

- All Superinterfaces:
    `ITridentDataSource`, `Serializable`
  All Known Implementing Classes:
    `FixedBatchSpout`, `FixedBatchSpout`, `RandomNumberGeneratorSpout`, `TridentHiveTopology.FixedBatchSpout`

      public interface IBatchSpout
      extends ITridentDataSource

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `ack​(long batchId)` |
    `void` | `close()` |
    `void` | `emitBatch​(long batchId, TridentCollector collector)` |
    `Map<String,​Object>` | `getComponentConfiguration()` |
    `Fields` | `getOutputFields()` |
    `void` | `open​(Map<String,​Object> conf, TopologyContext context)` |

- - ### Method Detail

    - #### open

          void open​(Map<String,​Object> conf,
                    TopologyContext context)

    - #### emitBatch

          void emitBatch​(long batchId,
                         TridentCollector collector)

    - #### ack

          void ack​(long batchId)

    - #### close

          void close()

    - #### getComponentConfiguration

          Map<String,​Object> getComponentConfiguration()

    - #### getOutputFields

          Fields getOutputFields()