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 bucketSize
           
protected  org.apache.hadoop.conf.Configuration conf
           
protected  int metadataTag
           
protected  RowContainer obj
           
 
Constructor Summary
MapJoinObjectValue()
           
MapJoinObjectValue(int metadataTag, RowContainer obj)
           
 
Method Summary
 boolean equals(Object o)
           
 int getMetadataTag()
           
 RowContainer getObj()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 void setMetadataTag(int metadataTag)
           
 void setObj(RowContainer 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 RowContainer obj

conf

protected transient org.apache.hadoop.conf.Configuration conf

bucketSize

protected int bucketSize
Constructor Detail

MapJoinObjectValue

public MapJoinObjectValue()

MapJoinObjectValue

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

setObj

public void setObj(RowContainer obj)
Parameters:
obj - the obj to set

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)


Copyright © 2010 The Apache Software Foundation