public class ParquetBytesToStream extends Object implements IBinaryToAvroStream
File first
on the file-system| Modifier and Type | Field and Description |
|---|---|
protected boolean |
deleteOnExit |
protected static org.slf4j.Logger |
LOGGER |
| Modifier | Constructor and Description |
|---|---|
|
ParquetBytesToStream()
By default, the InputStream is flushed to a temporary file which will be deleted with the JVM
|
protected |
ParquetBytesToStream(boolean deleteOnExit) |
| Modifier and Type | Method and Description |
|---|---|
protected Path |
pathWhereToDumpBytes() |
protected URI |
persist(InputStream inputStream) |
Stream<org.apache.avro.generic.GenericRecord> |
stream(InputStream inputStream) |
protected static final org.slf4j.Logger LOGGER
protected final boolean deleteOnExit
public ParquetBytesToStream()
File.deleteOnExitprotected ParquetBytesToStream(boolean deleteOnExit)
protected URI persist(InputStream inputStream) throws IOException
IOExceptionprotected Path pathWhereToDumpBytes() throws IOException
IOExceptionpublic Stream<org.apache.avro.generic.GenericRecord> stream(InputStream inputStream) throws IOException
stream in interface cormoran.pepper.io.IBinaryToStream<org.apache.avro.generic.GenericRecord>IOExceptionCopyright © 2014–2021. All rights reserved.