org.apache.hadoop.hive.ql.exec.persistence
Class MapJoinObjectKey

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.persistence.AbstractMapJoinKey
      extended by org.apache.hadoop.hive.ql.exec.persistence.MapJoinObjectKey
All Implemented Interfaces:
Externalizable, Serializable

public class MapJoinObjectKey
extends AbstractMapJoinKey

Map Join Object used for both key.

See Also:
Serialized Form

Field Summary
protected  Object[] obj
           
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.persistence.AbstractMapJoinKey
metadataTag
 
Constructor Summary
MapJoinObjectKey()
           
MapJoinObjectKey(Object[] obj)
           
 
Method Summary
 boolean equals(Object o)
           
 Object[] getObj()
           
 boolean hasAnyNulls(boolean[] nullsafes)
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void setObj(Object[] obj)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

obj

protected transient Object[] obj
Constructor Detail

MapJoinObjectKey

public MapJoinObjectKey()

MapJoinObjectKey

public MapJoinObjectKey(Object[] obj)
Parameters:
obj -
Method Detail

equals

public boolean equals(Object o)
Specified by:
equals in class AbstractMapJoinKey

hashCode

public int hashCode()
Specified by:
hashCode in class AbstractMapJoinKey

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Specified by:
readExternal in class AbstractMapJoinKey
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Specified by:
writeExternal in class AbstractMapJoinKey
Throws:
IOException

getObj

public Object[] getObj()
Returns:
the obj

setObj

public void setObj(Object[] obj)
Parameters:
obj - the obj to set

hasAnyNulls

public boolean hasAnyNulls(boolean[] nullsafes)
Specified by:
hasAnyNulls in class AbstractMapJoinKey


Copyright © 2011 The Apache Software Foundation