Class ParquetBytesToStream

  • All Implemented Interfaces:
    IBinaryToAvroStream, cormoran.pepper.io.IBinaryToStream<org.apache.avro.generic.GenericRecord>

    public class ParquetBytesToStream
    extends Object
    implements IBinaryToAvroStream
    Automatic transformation of a Parquet InputStream to a Stream of objects. It requires to write the file first on the file-system
    Author:
    Benoit Lacelle
    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
      • deleteOnExit

        protected final boolean deleteOnExit
    • Constructor Detail

      • ParquetBytesToStream

        public ParquetBytesToStream()
        By default, the InputStream is flushed to a temporary file which will be deleted with the JVM
        See Also:
        File.deleteOnExit
      • ParquetBytesToStream

        protected ParquetBytesToStream​(boolean deleteOnExit)