|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStoreImpl
org.apache.pig.backend.hadoop.executionengine.fetch.FetchPOStoreImpl
public class FetchPOStoreImpl
This class is used to have a POStore write the output to the underlying storage via a output collector/record writer in case of a fetch task. It sets up dummy context objects which otherwise would be initialized by the Hadoop job itself.
Constructor Summary | |
---|---|
FetchPOStoreImpl(PigContext pc)
|
Method Summary | |
---|---|
void |
cleanUp()
To perform cleanup when there is an error. |
StoreFuncInterface |
createStoreFunc(POStore store)
Set up the storer |
void |
tearDown()
At the end of processing, the outputstream is closed using this method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FetchPOStoreImpl(PigContext pc)
Method Detail |
---|
public StoreFuncInterface createStoreFunc(POStore store) throws IOException
POStoreImpl
createStoreFunc
in class POStoreImpl
store
- - the POStore object
IOException
public void tearDown() throws IOException
POStoreImpl
tearDown
in class POStoreImpl
IOException
public void cleanUp() throws IOException
POStoreImpl
cleanUp
in class POStoreImpl
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |