Package org.apache.parquet.hadoop.util
Class HadoopOutputFile
- java.lang.Object
-
- org.apache.parquet.hadoop.util.HadoopOutputFile
-
- All Implemented Interfaces:
OutputFile
public class HadoopOutputFile extends Object implements OutputFile
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PositionOutputStreamcreate(long blockSizeHint)PositionOutputStreamcreateOrOverwrite(long blockSizeHint)longdefaultBlockSize()static HadoopOutputFilefromPath(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)static Set<String>getBlockFileSystems()org.apache.hadoop.conf.ConfigurationgetConfiguration()StringgetPath()booleansupportsBlockSize()StringtoString()
-
-
-
Method Detail
-
fromPath
public static HadoopOutputFile fromPath(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
- Throws:
IOException
-
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration()
-
create
public PositionOutputStream create(long blockSizeHint) throws IOException
- Specified by:
createin interfaceOutputFile- Throws:
IOException
-
createOrOverwrite
public PositionOutputStream createOrOverwrite(long blockSizeHint) throws IOException
- Specified by:
createOrOverwritein interfaceOutputFile- Throws:
IOException
-
supportsBlockSize
public boolean supportsBlockSize()
- Specified by:
supportsBlockSizein interfaceOutputFile
-
defaultBlockSize
public long defaultBlockSize()
- Specified by:
defaultBlockSizein interfaceOutputFile
-
getPath
public String getPath()
- Specified by:
getPathin interfaceOutputFile
-
-