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

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

public class MapJoinObjectValue
extends Object
implements Externalizable

Map Join Object used for both key and value.

See Also:
Serialized Form

Field Summary
protected  int metadataTag
           
protected  MapJoinRowContainer<Object[]> obj
           
 
Constructor Summary
MapJoinObjectValue()
           
MapJoinObjectValue(int metadataTag, MapJoinRowContainer<Object[]> obj)
           
 
Method Summary
 boolean equals(Object o)
           
 int getMetadataTag()
           
 MapJoinRowContainer<Object[]> getObj()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void setMetadataTag(int metadataTag)
           
 void setObj(MapJoinRowContainer<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 MapJoinRowContainer<Object[]> obj
Constructor Detail

MapJoinObjectValue

public MapJoinObjectValue()

MapJoinObjectValue

public MapJoinObjectValue(int metadataTag,
                          MapJoinRowContainer<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 MapJoinRowContainer<Object[]> getObj()
Returns:
the obj

setObj

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


Copyright © 2011 The Apache Software Foundation