Interface ILogReader
- All Known Implementing Classes:
BatchLogReader,SingleFileLogReader
public interface ILogReader
-
Method Details
-
close
void close()release resources occupied by this object, like file streams. -
hasNext
return whether there exists next log to be read.- Returns:
- whether there exists next log to be read.
- Throws:
IOExceptionFileNotFoundException
-
next
return the next log read from media like a WAL file and covert it to a PhysicalPlan.- Returns:
- the next log as a PhysicalPlan
- Throws:
NoSuchElementException- when there are no more logsFileNotFoundException
-