/**
* 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 <= 2,
"usage: bloomCheck[(sz[,hashes])]");
int sz = 100000000; // default: 100M bits.