Modifier and Type | Method and Description |
---|---|
void |
close() |
OutputStream |
openNext(org.apache.hadoop.fs.FileStatus status)
Deprecated.
Use
openNext(Path) instead |
OutputStream |
openNext(org.apache.hadoop.fs.Path path)
Creates a next file and opens an
OutputStream to write it content. |
@Deprecated public OutputStream openNext(org.apache.hadoop.fs.FileStatus status) throws IOException
openNext(Path)
insteadOutputStream
to write it content.status
- the status of next fileOutputStream
IOException
- if failed to open the fileIllegalArgumentException
- if the status or its path is null
public OutputStream openNext(org.apache.hadoop.fs.Path path) throws IOException
OutputStream
to write it content.path
- the next file pathOutputStream
IOException
- if failed to open the fileIllegalArgumentException
- if the path is null
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.