java - Adding Keys in CountingBloomFilter Hadoop -
i trying use implementation of countingbloomfilter proposed hadoop. after importing libraries , creating classe, want use method
add(org.apache.hadoop.util.bloom.key key)
however need add strings filter, how can convert string key function accept?
key has constructor accepts byte arrays., can call string's getbytes()
Comments
Post a Comment