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

Need help in packaging app using TideSDK on Windows -

java - Why does my date parsing return a weird date? -