public class BdecParquetReader extends Object implements AutoCloseable
Resides in parquet package because, it uses InternalParquetRecordReader that is
package private.
| Constructor and Description |
|---|
BdecParquetReader(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader.
|
List<Object> |
read()
Reads the current row, i.e.
|
static void |
readFileIntoWriter(byte[] data,
BdecParquetWriter outputWriter)
Reads the input data using Parquet reader and writes them using a Parquet Writer.
|
public BdecParquetReader(byte[] data)
throws IOException
data - buffer where the data that has to be read resides.IOExceptionpublic List<Object> read() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface AutoCloseableIOExceptionpublic static void readFileIntoWriter(byte[] data,
BdecParquetWriter outputWriter)
data - input data to be read first and then written with outputWriteroutputWriter - output parquet writerCopyright © 2023. All rights reserved.