* @author Enno Shioji (enno.shioji@peerindex.com)
*/
public class ExtractFollowerClassAndContentName extends BaseFunction {
@Override
public void execute(TridentTuple tuple, TridentCollector collector) {
Content content = (Content)tuple.get(0);
User user = (User)tuple.get(1);
String followerClass = classify(user.getFollowersCount());
collector.emit(new Values(followerClass, content.getContentName()));
}