|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBytesWritable
org.apache.hadoop.hive.ql.io.HiveKey
public class HiveKey
HiveKey is a simple wrapper on Text which allows us to set the hashCode easily. hashCode is used for hadoop partitioner.
| Nested Class Summary | |
|---|---|
static class |
HiveKey.Comparator
A Comparator optimized for HiveKey. |
| Field Summary | |
|---|---|
protected int |
myHashCode
|
| Constructor Summary | |
|---|---|
HiveKey()
|
|
| Method Summary | |
|---|---|
int |
hashCode()
|
void |
setHashCode(int myHashCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int myHashCode
| Constructor Detail |
|---|
public HiveKey()
| Method Detail |
|---|
public void setHashCode(int myHashCode)
public int hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||