title: Storm : How to pass String Array from one bolt to another?
body: <p>This is how I am emitting the data   </p>
  
  <pre><code>collector.emit("stream", new Values(sessionid,tables));
  </code></pre>
  
  <p>Where <code>sessionid</code> and <code>tables</code> are <code>ArrayList&lt;String&gt;</code> </p>
  
  <p>I am not sure how the bolt which will receive the data will get it as I didn't find anything to get the value in Tuple.</p>
  
  <p>This is how my execute method of receiving bolt will look.</p>
  
  <pre><code>public void execute(Tuple input, BasicOutputCollector collector) {
       ArrayList&lt;String&gt; keyspace = input./*What to add here*/(0);
       ArrayList&lt;String&gt; table = input./*What to add here*/(1);    
  }
  </code></pre>
  
  <p>Alternatively, I am thinking of merging the value of the <code>ArrayList</code> in a comma separated string and pass it as a string and then split it and save it in <code>ArrayList</code> in the receiving bolt.</p>
  
  <p>But, is there any clean way to pass <code>ArrayList</code> to Storm bolts?</p>