public interface TransactionalFileInput extends Transactional, FileInput
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts the transaction of
TransactionalFileInput. |
void |
close()
Closes this
TransactionalFileInput. |
TaskReport |
commit()
Commits the transaction of
TransactionalFileInput. |
boolean |
nextFile()
Switches the
TransactionalFileInput to process the next file. |
Buffer |
poll()
Reads a byte sequence from this
TransactionalFileInput into Buffer. |
hintOfCurrentInputFileNameForLoggingboolean nextFile()
TransactionalFileInput to process the next file.nextFile in interface FileInputtrue if this TransactionalFileInput has switched to the next file. false if no more files.Buffer poll()
TransactionalFileInput into Buffer.void close()
TransactionalFileInput.close in interface AutoCloseableclose in interface FileInputvoid abort()
TransactionalFileInput.abort in interface TransactionalTaskReport commit()
TransactionalFileInput.commit in interface Transactional