public interface FileFormatter
WrappedFileFormatter
.Modifier and Type | Method and Description |
---|---|
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.
|
void setupOutputs() throws IOException
IOException
- Signals that an I/O exception has occurred.void writeHeader(String header) throws IOException
header
- the headerIOException
- Signals that an I/O exception has occurred.void writeFooter(String footer) throws IOException
footer
- the footerIOException
- Signals that an I/O exception has occurred.void writeRow(String row) throws IOException
row
- the rowIOException
- Signals that an I/O exception has occurred.org.apache.hadoop.fs.Path getTmpPath()
String getEncoding()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.