brickhouse.udf.bloom
Class BloomUDAF
java.lang.Object
org.apache.hadoop.hive.ql.exec.UDAF
brickhouse.udf.bloom.BloomUDAF
public class BloomUDAF
- extends org.apache.hadoop.hive.ql.exec.UDAF
Construct a BloomFilter by aggregating on keys
Uses hadoop util BloomFilter class
Use with bloom_contains( key, bloomfile );
insert overwrite local directory bloomfile
select bloom( ks_uid )
from big_table
where premise = true;
add file bloomfile;
select ks_uid
from other_big_table
where bloom_contains( key, distributed_bloom('bloomfile') );
- Author:
- jeromebanks
| Methods inherited from class org.apache.hadoop.hive.ql.exec.UDAF |
getResolver, setResolver |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BloomUDAF
public BloomUDAF()
Copyright © 2013. All rights reserved.