Package io.trino.plugin.hive.util
Class TempFileWriter
- java.lang.Object
-
- io.trino.plugin.hive.util.TempFileWriter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class TempFileWriter extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description TempFileWriter(List<Type> types, OrcDataSink sink)
-
-
-
Constructor Detail
-
TempFileWriter
public TempFileWriter(List<Type> types, OrcDataSink sink)
-
-
Method Detail
-
writePage
public void writePage(Page page)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getWrittenBytes
public long getWrittenBytes()
-
-