presto-hive/src/main/java/io/prestosql/plugin/hive/util/TempFileWriter.java/TempFileWriter/getWrittenBytes
class TempFileWriter:    public long getWrittenBytes()
    {
        return orcWriter.getWrittenBytes();
    }