Class BdecParquetReader

  • All Implemented Interfaces:
    AutoCloseable

    public class BdecParquetReader
    extends Object
    implements AutoCloseable
    BDEC specific parquet reader.

    Resides in parquet package because, it uses InternalParquetRecordReader that is package private.

    • Constructor Detail

      • BdecParquetReader

        public BdecParquetReader​(byte[] data)
                          throws IOException
        Parameters:
        data - buffer where the data that has to be read resides.
        Throws:
        IOException
    • Method Detail

      • readFileIntoWriter

        public static void readFileIntoWriter​(byte[] data,
                                              BdecParquetWriter outputWriter)
        Reads the input data using Parquet reader and writes them using a Parquet Writer.
        Parameters:
        data - input data to be read first and then written with outputWriter
        outputWriter - output parquet writer