org.apache.hadoop.hive.ql.exec.persistence
Class MapJoinObjectKey
java.lang.Object
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
metadataTag
protected transient int metadataTag
obj
protected transient ArrayList<Object> obj
MapJoinObjectKey
public MapJoinObjectKey()
MapJoinObjectKey
public MapJoinObjectKey(int metadataTag,
ArrayList<Object> obj)
- Parameters:
metadataTag
- obj
-
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 © 2009 The Apache Software Foundation