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(java.lang.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 java.io.IOException
POStoreImpl
createStoreFunc
in class POStoreImpl
store
- - the POStore objectjava.io.IOException
public void tearDown() throws java.io.IOException
POStoreImpl
tearDown
in class POStoreImpl
java.io.IOException
public void cleanUp() throws java.io.IOException
POStoreImpl
cleanUp
in class POStoreImpl
java.io.IOException
public void incrRecordCounter(java.lang.String name, long incr)
Copyright © 2007-2012 The Apache Software Foundation