brickhouse.udf.bloom
Class BloomUDAF

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDAF
      extended by 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

Nested Class Summary
static class BloomUDAF.BloomUDAFEvaluator
           
 
Constructor Summary
BloomUDAF()
           
 
Method Summary
 
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
 

Constructor Detail

BloomUDAF

public BloomUDAF()


Copyright © 2013. All rights reserved.