public class ParquetUtil extends Object
Modifier and Type | Method and Description |
---|---|
static ParquetIO |
getIO()
Returns the ParquetIO object that handles all the
parquet-mr-dependent I/O.
|
static boolean |
isMagic(byte[] buffer)
Indicates whether the given buffer starts with the Parquet file
format magic number, "PAR1".
|
public static boolean isMagic(byte[] buffer)
buffer
- byte contentpublic static ParquetIO getIO() throws IOException
IOException
- if libraries are not presentCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.