/**
* Builds a BloomCheckDeco with optional specified number of bits and number
* of hash functions.
*/
public static SinkDecoBuilder builder() {
return new SinkDecoBuilder() {
@Override
public EventSinkDecorator<EventSink> build(Context ctx, String... argv) {
Preconditions.checkArgument(argv.length <= 3,
"usage: bloomGen[(sz[,hashes[,rptSink]])]");
int sz = 100000000; // default: 100M bits => 12.5MB