public class ParquetUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static uk.ac.starlink.parquet.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 uk.ac.starlink.parquet.ParquetIO getIO() throws java.io.IOException
java.io.IOException
- if libraries are not present