org.apache.hadoop.hive.ql.io
Interface HivePartitioner<K2,V2>

All Known Implementing Classes:
DefaultHivePartitioner

public interface HivePartitioner<K2,V2>

Partition keys by their Object.hashCode().


Method Summary
 int getBucket(K2 key, V2 value, int numBuckets)
          Get the final bucket within a partition.
 

Method Detail

getBucket

int getBucket(K2 key,
              V2 value,
              int numBuckets)
Get the final bucket within a partition.



Copyright © 2012 The Apache Software Foundation