transactions.iterator(),
fp.generateFList(transactions.iterator(), 3),
3,
100,
new HashSet<String>(),
new StringOutputConverter(new SequenceFileOutputCollector<Text,TopKStringPatterns>(writer)),
new ContextStatusUpdater(null));
} finally {
Closeables.closeQuietly(writer);
}