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

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -