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
POStoreImplcreateStoreFunc in class POStoreImplstore - - the POStore objectjava.io.IOExceptionpublic void tearDown()
throws java.io.IOException
POStoreImpltearDown in class POStoreImpljava.io.IOExceptionpublic void cleanUp()
throws java.io.IOException
POStoreImplcleanUp in class POStoreImpljava.io.IOExceptionpublic void incrRecordCounter(java.lang.String name,
long incr)
Copyright © 2007-2012 The Apache Software Foundation