|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileFormatter
File formatter interface which is wrapped in WrappedFileFormatter
.
Method Summary | |
---|---|
String |
getEncoding()
Get the result encoding, if any |
org.apache.hadoop.fs.Path |
getTmpPath()
Get the temporary path of the result, if any |
void |
setupOutputs()
Setup outputs for file formatter. |
void |
writeFooter(String footer)
Write the footer passed. |
void |
writeHeader(String header)
Write the header passed. |
void |
writeRow(String row)
Write the row passed. |
Method Detail |
---|
void setupOutputs() throws IOException
IOException
- Signals that an I/O exception has occurred.void writeHeader(String header) throws IOException
header
- the header
IOException
- Signals that an I/O exception has occurred.void writeFooter(String footer) throws IOException
footer
- the footer
IOException
- Signals that an I/O exception has occurred.void writeRow(String row) throws IOException
row
- the row
IOException
- Signals that an I/O exception has occurred.org.apache.hadoop.fs.Path getTmpPath()
String getEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |