Creates and returns a writer that iterates over (key, counter)
pairs and writes them as a binary SiLK Bag stream to the output
stream s.
Creates and returns a writer that iterates over (key, counter)
pairs and writes them as a binary SiLK Bag stream to the output
stream s. Compresses the output using compressionMethod. Some
compression methods require that a hadoop configuration be
provided.
java.util.NoSuchElementException when a hadoop
configuration is required and none is provided.
The BagWriter companion object provides support for creating an BagWriter.