public interface OutputFile
PositionOutputStream instances.
 This class is based on Parquet's InputFile.
| Modifier and Type | Method and Description | 
|---|---|
PositionOutputStream | 
create()
Create a new file and return a  
PositionOutputStream to it. | 
PositionOutputStream | 
createOrOverwrite()
Create a new file and return a  
PositionOutputStream to it. | 
java.lang.String | 
location()
Return the location this output file will create. 
 | 
InputFile | 
toInputFile()
Return an  
InputFile for the location of this output file. | 
PositionOutputStream create()
PositionOutputStream to it.
 If the file already exists, this will throw an exception.
AlreadyExistsException - If the path already existsRuntimeIOException - If the implementation throws an IOExceptionPositionOutputStream createOrOverwrite()
PositionOutputStream to it.
 If the file already exists, this will not throw an exception and will replace the file.
RuntimeIOException - If the implementation throws an IOExceptionjava.lang.SecurityException - If staging directory creation fails due to missing JVM level permissionjava.lang.String location()