public interface TransactionalFileOutput extends Transactional, FileOutput
Modifier and Type | Method and Description |
---|---|
void |
abort()
Aborts the transaction of
TransactionalFileOutput . |
void |
add(Buffer buffer)
Writes a byte sequence into the
TransactionalFileOutput from Buffer . |
void |
close()
Closes the
TransactionalFileOutput . |
TaskReport |
commit()
Commits the transaction of
TransactionalFileOutput . |
void |
finish()
Finishes the
TransactionalFileOutput . |
void |
nextFile()
Switches the
TransactionalFileOutput to process the next file. |
void nextFile()
TransactionalFileOutput
to process the next file.nextFile
in interface FileOutput
void add(Buffer buffer)
TransactionalFileOutput
from Buffer
.add
in interface FileOutput
buffer
- the Buffer
to writevoid finish()
TransactionalFileOutput
.finish
in interface FileOutput
void close()
TransactionalFileOutput
.close
in interface AutoCloseable
close
in interface FileOutput
void abort()
TransactionalFileOutput
.abort
in interface Transactional
TaskReport commit()
TransactionalFileOutput
.commit
in interface Transactional