Class ParquetOutputFile
java.lang.Object
com.northconcepts.datapipeline.parquet.file.ParquetOutputFile
A Parquet
that writes to a Hadoop
, with checksum writing turned off on checksum file systems.
invalid reference
OutputFile
invalid reference
Path
-
Method Summary
Modifier and TypeMethodDescriptionPositionOutputStreamcreate(long blockSizeHint) PositionOutputStreamcreateOrOverwrite(long blockSizeHint) longstatic ParquetOutputFilefromPath(Path path, Configuration conf) Creates an output file for the path qualified by its file system, turning off checksum writing on that file system if it is a checksum file system.Returns the URI schemes of the file systems treated as supporting block sizes (hdfs,webhdfs,viewfs).ConfigurationgetPath()booleantoString()
-
Method Details
-
getBlockFileSystems
Returns the URI schemes of the file systems treated as supporting block sizes (hdfs,webhdfs,viewfs). -
fromPath
Creates an output file for the path qualified by its file system, turning off checksum writing on that file system if it is a checksum file system.- Throws:
IOException
-
getConfiguration
public Configuration getConfiguration() -
create
- Throws:
IOException
-
createOrOverwrite
- Throws:
IOException
-
supportsBlockSize
public boolean supportsBlockSize() -
defaultBlockSize
public long defaultBlockSize() -
getPath
-
toString
-