Package io.trino.parquet.writer
Interface ColumnWriter
-
- All Known Implementing Classes:
ArrayColumnWriter,MapColumnWriter,PrimitiveColumnWriter,StructColumnWriter
public interface ColumnWriter
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classColumnWriter.BufferData
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()List<ColumnWriter.BufferData>getBuffer()longgetBufferedBytes()longgetRetainedBytes()voidreset()voidwriteBlock(ColumnChunk columnChunk)
-
-
-
Method Detail
-
writeBlock
void writeBlock(ColumnChunk columnChunk) throws IOException
- Throws:
IOException
-
close
void close()
-
getBuffer
List<ColumnWriter.BufferData> getBuffer() throws IOException
- Throws:
IOException
-
getBufferedBytes
long getBufferedBytes()
-
getRetainedBytes
long getRetainedBytes()
-
reset
void reset()
-
-