Package io.trino.orc
Interface OrcDataSink
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
OutputStreamOrcDataSink
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()ORC file is completelongGets the size of the memory buffers.longsize()Number of bytes written to this sink so far.voidwrite(List<OrcDataOutput> outputData) Write a stripe and optionally header and footer data
-
Method Details
-
size
long size()Number of bytes written to this sink so far. -
getRetainedSizeInBytes
long getRetainedSizeInBytes()Gets the size of the memory buffers. -
write
Write a stripe and optionally header and footer data- Throws:
IOException
-
close
ORC file is complete- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-