package com.github.fhuss.storm.elasticsearch.mapper;

import backtype.storm.tuple.Tuple;

/**
 * Interface for building document from {@link Tuple}.
 * @param <T>

 */
public interface TupleMapper<T> {

   T map(Tuple input);
}
@@ -83,16 +83,46 @@
 Tuple;%0A%0A
+import java.io.Serializable;%0A%0A
 /**%0A * I
@@ -222,16 +222,37 @@
 apper%3CT%3E
+ extends Serializable
  %7B%0A%0A   T

Fix NotSerializableExpections due to TupleMapper