public class PBImageDelimitedTextWriter extends Object
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getEntry(String parent,
FsImageProto.INodeSection.INode inode)
Get text output for the given inode.
|
String |
getHeader()
Get text output for the header line.
|
protected org.apache.hadoop.fs.permission.PermissionStatus |
getPermission(long perm) |
void |
visit(RandomAccessFile file) |
public String getEntry(String parent, FsImageProto.INodeSection.INode inode)
parent
- the path of parent directoryinode
- the INode object to output.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void visit(RandomAccessFile file) throws IOException
IOException
protected org.apache.hadoop.fs.permission.PermissionStatus getPermission(long perm)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.