org.apache.hadoop.hive.ql.io
Interface HivePartitioner<K2,V2>
- All Superinterfaces:
- org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<K2,V2>
- All Known Implementing Classes:
- DefaultHivePartitioner
public interface HivePartitioner<K2,V2>
- extends org.apache.hadoop.mapred.Partitioner<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. |
Methods inherited from interface org.apache.hadoop.mapred.Partitioner |
getPartition |
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable |
configure |
getBucket
int getBucket(K2 key,
V2 value,
int numBuckets)
- Get the final bucket within a partition.
Copyright © 2013 The Apache Software Foundation