Package org.apache.parquet.hadoop.util
Class HadoopOutputFile
- java.lang.Object
-
- org.apache.parquet.hadoop.util.HadoopOutputFile
-
- All Implemented Interfaces:
org.apache.parquet.io.OutputFile
public class HadoopOutputFile extends Object implements org.apache.parquet.io.OutputFile
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.parquet.io.PositionOutputStreamcreate(long blockSizeHint)org.apache.parquet.io.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 org.apache.parquet.io.PositionOutputStream create(long blockSizeHint) throws IOException- Specified by:
createin interfaceorg.apache.parquet.io.OutputFile- Throws:
IOException
-
createOrOverwrite
public org.apache.parquet.io.PositionOutputStream createOrOverwrite(long blockSizeHint) throws IOException- Specified by:
createOrOverwritein interfaceorg.apache.parquet.io.OutputFile- Throws:
IOException
-
supportsBlockSize
public boolean supportsBlockSize()
- Specified by:
supportsBlockSizein interfaceorg.apache.parquet.io.OutputFile
-
defaultBlockSize
public long defaultBlockSize()
- Specified by:
defaultBlockSizein interfaceorg.apache.parquet.io.OutputFile
-
getPath
public String getPath()
- Specified by:
getPathin interfaceorg.apache.parquet.io.OutputFile
-
-