Interface NodeDataReader
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
NodeTreeStoreReader
public interface NodeDataReader extends Closeable
A reader for node data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getFileSize()
Get the file size.int
getProgressPercent()
Get the progress in percent (0..100).NodeData
readNode()
Read the next node.
-
-
-
Method Detail
-
readNode
NodeData readNode() throws IOException
Read the next node.- Returns:
- the node, or null for EOF
- Throws:
IOException
-
getFileSize
long getFileSize()
Get the file size.- Returns:
- the file size
-
getProgressPercent
int getProgressPercent()
Get the progress in percent (0..100).- Returns:
- the progress
-
-