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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

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

Need help in packaging app using TideSDK on Windows -