Class StdOutIndexer

  • All Implemented Interfaces:
    Serializable, org.apache.storm.task.IBolt, org.apache.storm.topology.IComponent, org.apache.storm.topology.IRichBolt

    public class StdOutIndexer
    extends AbstractIndexerBolt
    Indexer which generates fields for indexing and sends them to the standard output. Useful for debugging and as an illustration of what AbstractIndexerBolt provides.
    See Also:
    Serialized Form
    • Constructor Detail

      • StdOutIndexer

        public StdOutIndexer()
    • Method Detail

      • prepare

        public void prepare​(Map<String,​Object> conf,
                            org.apache.storm.task.TopologyContext context,
                            org.apache.storm.task.OutputCollector collector)
        Specified by:
        prepare in interface org.apache.storm.task.IBolt
        Overrides:
        prepare in class AbstractIndexerBolt
      • execute

        public void execute​(org.apache.storm.tuple.Tuple tuple)