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,
org.apache.parquet.schema.MessageType messageType,
Map<List<String>,Type> primitiveTypes,
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 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–2024. All rights reserved.