public class ParquetWriter extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static io.airlift.slice.Slice |
MAGIC |
| Constructor and Description |
|---|
ParquetWriter(OutputStream outputStream,
List<String> columnNames,
List<Type> types,
ParquetWriterOptions writerOption,
String compressionCodecClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getBufferedBytes() |
long |
getRetainedBytes() |
long |
getWrittenBytes() |
void |
write(Page page) |
public ParquetWriter(OutputStream outputStream, List<String> columnNames, List<Type> types, ParquetWriterOptions writerOption, String compressionCodecClass)
public long getWrittenBytes()
public long getBufferedBytes()
public long getRetainedBytes()
public void write(Page page) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2012–2022. All rights reserved.