|
||||||||||
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.local.executionengine.LocalPOStoreImpl
public class LocalPOStoreImpl
This class implements the behavior of a POStore in the local execution engine. It creates and manages the store function and the output stream of the store.
Constructor Summary | |
---|---|
LocalPOStoreImpl(PigContext pc)
|
Method Summary | |
---|---|
void |
cleanUp()
To perform cleanup when there is an error. |
StoreFunc |
createStoreFunc(FileSpec sFile,
Schema schema,
SortInfo sortInfo)
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 LocalPOStoreImpl(PigContext pc)
Method Detail |
---|
public StoreFunc createStoreFunc(FileSpec sFile, Schema schema, SortInfo sortInfo) throws IOException
POStoreImpl
createStoreFunc
in class POStoreImpl
sFile
- - The file the store should write toschema
- - the schema of the datasortInfo
- - sortInfo for any sort columns
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 |