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.
|
org.apache.hadoop.mapreduce.Counter |
createRecordCounter(POStore store) |
StoreFuncInterface |
createStoreFunc(POStore store)
Set up the storer
|
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 org.apache.hadoop.mapreduce.Counter createRecordCounter(POStore store)
Copyright © 2007-2012 The Apache Software Foundation