public class MapReducePOStoreImpl extends POStoreImpl
Constructor and Description |
---|
MapReducePOStoreImpl(org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?> context) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
To perform cleanup when there is an error.
|
StoreFuncInterface |
createStoreFunc(POStore store)
Set up the storer
|
void |
incrRecordCounter(String name,
long incr) |
void |
tearDown()
At the end of processing, the outputstream is closed
using this method
|
public MapReducePOStoreImpl(org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?> context)
public StoreFuncInterface createStoreFunc(POStore store) throws IOException
POStoreImpl
createStoreFunc
in class POStoreImpl
store
- - the POStore objectIOException
public void tearDown() throws IOException
POStoreImpl
tearDown
in class POStoreImpl
IOException
public void cleanUp() throws IOException
POStoreImpl
cleanUp
in class POStoreImpl
IOException
public void incrRecordCounter(String name, long incr)
Copyright © 2007-2017 The Apache Software Foundation