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
POStoreImplcreateStoreFunc in class POStoreImplstore - - the POStore objectIOExceptionpublic void tearDown()
throws IOException
POStoreImpltearDown in class POStoreImplIOExceptionpublic void cleanUp()
throws IOException
POStoreImplcleanUp in class POStoreImplIOExceptionpublic void incrRecordCounter(String name, long incr)
Copyright © 2007-2017 The Apache Software Foundation