public class VectorMapJoinFastTableContainer extends Object implements VectorMapJoinTableContainer
MapJoinTableContainer.ReusableGetAdaptor| Constructor and Description |
|---|
VectorMapJoinFastTableContainer(MapJoinDesc desc,
org.apache.hadoop.conf.Configuration hconf,
long keyCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the contents of the table.
|
MapJoinTableContainer.ReusableGetAdaptor |
createGetter(MapJoinKey keyTypeFromLoader)
Creates reusable get adaptor that can be used to retrieve rows from the table
based on either vectorized or non-vectorized input rows to MapJoinOperator.
|
void |
dumpMetrics() |
MapJoinKey |
getAnyKey() |
boolean |
hasSpill()
Checks if the container has spilled any data onto disk.
|
MapJoinKey |
putRow(MapJoinObjectSerDeContext keyContext,
org.apache.hadoop.io.Writable currentKey,
MapJoinObjectSerDeContext valueContext,
org.apache.hadoop.io.Writable currentValue)
Adds row from input to the table.
|
void |
seal()
Indicates to the container that the puts have ended; table is now r/o.
|
VectorMapJoinHashTable |
vectorMapJoinHashTable() |
public VectorMapJoinFastTableContainer(MapJoinDesc desc, org.apache.hadoop.conf.Configuration hconf, long keyCount) throws SerDeException
SerDeExceptionpublic VectorMapJoinHashTable vectorMapJoinHashTable()
vectorMapJoinHashTable in interface VectorMapJoinTableContainerpublic MapJoinKey putRow(MapJoinObjectSerDeContext keyContext, org.apache.hadoop.io.Writable currentKey, MapJoinObjectSerDeContext valueContext, org.apache.hadoop.io.Writable currentValue) throws SerDeException, HiveException, IOException
MapJoinTableContainerputRow in interface MapJoinTableContainerSerDeExceptionHiveExceptionIOExceptionpublic void seal()
MapJoinTableContainerseal in interface MapJoinTableContainerpublic MapJoinTableContainer.ReusableGetAdaptor createGetter(MapJoinKey keyTypeFromLoader)
MapJoinTableContainercreateGetter in interface MapJoinTableContainerkeyTypeFromLoader - Last key from hash table loader, to determine key type used
when loading hashtable (if it can vary).public void clear()
MapJoinTableContainerclear in interface MapJoinTableContainerpublic MapJoinKey getAnyKey()
getAnyKey in interface MapJoinTableContainerpublic void dumpMetrics()
dumpMetrics in interface MapJoinTableContainerpublic boolean hasSpill()
MapJoinTableContainerhasSpill in interface MapJoinTableContainerCopyright © 2016 The Apache Software Foundation. All rights reserved.