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

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

public class MapJoinObjectKey
extends Object
implements Externalizable

Map Join Object used for both key.

See Also:
Serialized Form

Field Summary
protected  int metadataTag
           
protected  ArrayList<Object> obj
           
 
Constructor Summary
MapJoinObjectKey()
           
MapJoinObjectKey(int metadataTag, ArrayList<Object> obj)
           
 
Method Summary
 boolean equals(Object o)
           
 int getMetadataTag()
           
 ArrayList<Object> getObj()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void setMetadataTag(int metadataTag)
           
 void setObj(ArrayList<Object> obj)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metadataTag

protected transient int metadataTag

obj

protected transient ArrayList<Object> obj
Constructor Detail

MapJoinObjectKey

public MapJoinObjectKey()

MapJoinObjectKey

public MapJoinObjectKey(int metadataTag,
                        ArrayList<Object> obj)
Parameters:
metadataTag -
obj -
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

readExternal

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

writeExternal

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

getMetadataTag

public int getMetadataTag()
Returns:
the metadataTag

setMetadataTag

public void setMetadataTag(int metadataTag)
Parameters:
metadataTag - the metadataTag to set

getObj

public ArrayList<Object> getObj()
Returns:
the obj

setObj

public void setObj(ArrayList<Object> obj)
Parameters:
obj - the obj to set


Copyright © 2010 The Apache Software Foundation