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 . |
hintOfCurrentInputFileNameForLogging
boolean nextFile()
TransactionalFileInput
to process the next file.nextFile
in interface FileInput
true
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 AutoCloseable
close
in interface FileInput
void abort()
TransactionalFileInput
.abort
in interface Transactional
TaskReport commit()
TransactionalFileInput
.commit
in interface Transactional