BinaryEditsVisitor, StatisticsEditsVisitor, XmlEditsVisitor@Private
@Unstable
public interface OfflineEditsVisitor
| Modifier and Type | Method | Description |
|---|---|---|
void |
close(java.lang.Throwable error) |
Finish visiting the edits log structure.
|
void |
start(int version) |
Begin visiting the edits log structure.
|
void |
visitOp(FSEditLogOp op) |
Begin visiting an element that encloses another element, such as
the beginning of the list of blocks that comprise a file.
|
void start(int version)
throws java.io.IOException
version - Edit log versionjava.io.IOExceptionvoid close(java.lang.Throwable error)
throws java.io.IOException
error - If the visitor was closed because of an
unrecoverable error in the input stream, this
is the exception.java.io.IOExceptionvoid visitOp(FSEditLogOp op) throws java.io.IOException
op - Token being visitedjava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.