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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.persistence.MapJoinKey
      extended by org.apache.hadoop.hive.ql.exec.persistence.MapJoinKeyObject

public class MapJoinKeyObject
extends MapJoinKey


Constructor Summary
MapJoinKeyObject()
           
MapJoinKeyObject(Object[] key)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getKeyLength()
           
protected  boolean[] getNulls()
           
 boolean hasAnyNulls(int fieldCount, boolean[] nullsafes)
           
 int hashCode()
           
 void read(MapJoinObjectSerDeContext context, ObjectInputStream in, org.apache.hadoop.io.Writable container)
           
 void read(MapJoinObjectSerDeContext context, org.apache.hadoop.io.Writable container)
           
protected  void read(ObjectInspector oi, Object obj)
           
protected  void readFromRow(Object[] fieldObjs, List<ObjectInspector> keyFieldsOI)
           
 void readFromVector(VectorHashKeyWrapper kw, VectorExpressionWriter[] keyOutputWriters, VectorHashKeyWrapperBatch keyWrapperBatch)
           
 void write(MapJoinObjectSerDeContext context, ObjectOutputStream out)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.persistence.MapJoinKey
read, readFromRow, readFromVector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapJoinKeyObject

public MapJoinKeyObject(Object[] key)

MapJoinKeyObject

public MapJoinKeyObject()
Method Detail

getKeyLength

public int getKeyLength()

hasAnyNulls

public boolean hasAnyNulls(int fieldCount,
                           boolean[] nullsafes)
Specified by:
hasAnyNulls in class MapJoinKey

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

read

public void read(MapJoinObjectSerDeContext context,
                 ObjectInputStream in,
                 org.apache.hadoop.io.Writable container)
          throws IOException,
                 SerDeException
Throws:
IOException
SerDeException

read

public void read(MapJoinObjectSerDeContext context,
                 org.apache.hadoop.io.Writable container)
          throws SerDeException
Throws:
SerDeException

read

protected void read(ObjectInspector oi,
                    Object obj)
             throws SerDeException
Throws:
SerDeException

write

public void write(MapJoinObjectSerDeContext context,
                  ObjectOutputStream out)
           throws IOException,
                  SerDeException
Specified by:
write in class MapJoinKey
Throws:
IOException
SerDeException

readFromRow

protected void readFromRow(Object[] fieldObjs,
                           List<ObjectInspector> keyFieldsOI)
                    throws HiveException
Throws:
HiveException

getNulls

protected boolean[] getNulls()

readFromVector

public void readFromVector(VectorHashKeyWrapper kw,
                           VectorExpressionWriter[] keyOutputWriters,
                           VectorHashKeyWrapperBatch keyWrapperBatch)
                    throws HiveException
Throws:
HiveException


Copyright © 2014 The Apache Software Foundation. All rights reserved.