public class MapJoinTableContainerSerDe extends Object
Constructor and Description |
---|
MapJoinTableContainerSerDe(MapJoinObjectSerDeContext keyContext,
MapJoinObjectSerDeContext valueContext) |
Modifier and Type | Method and Description |
---|---|
MapJoinObjectSerDeContext |
getKeyContext() |
MapJoinObjectSerDeContext |
getValueContext() |
MapJoinTableContainer |
load(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path folder,
org.apache.hadoop.conf.Configuration hconf)
Loads the table container from a folder.
|
MapJoinPersistableTableContainer |
load(ObjectInputStream in) |
MapJoinTableContainer |
loadFastContainer(MapJoinDesc mapJoinDesc,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path folder,
org.apache.hadoop.conf.Configuration hconf)
Loads the small table into a VectorMapJoinFastTableContainer.
|
void |
persist(ObjectOutputStream out,
MapJoinPersistableTableContainer tableContainer) |
static void |
persistDummyTable(ObjectOutputStream out) |
public MapJoinTableContainerSerDe(MapJoinObjectSerDeContext keyContext, MapJoinObjectSerDeContext valueContext)
public MapJoinObjectSerDeContext getKeyContext()
public MapJoinObjectSerDeContext getValueContext()
public MapJoinPersistableTableContainer load(ObjectInputStream in) throws HiveException
HiveException
public MapJoinTableContainer load(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path folder, org.apache.hadoop.conf.Configuration hconf) throws HiveException
fs
- FileSystem of the folder.folder
- The folder to load table container.hconf
- The hive configurationHiveException
public MapJoinTableContainer loadFastContainer(MapJoinDesc mapJoinDesc, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path folder, org.apache.hadoop.conf.Configuration hconf) throws HiveException
mapJoinDesc
- The descriptor for the map joinfs
- FileSystem of the folder.folder
- The folder to load table container.hconf
- The hive configurationHiveException
public void persist(ObjectOutputStream out, MapJoinPersistableTableContainer tableContainer) throws HiveException
HiveException
public static void persistDummyTable(ObjectOutputStream out) throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.