@InterfaceAudience.Private @InterfaceStability.Unstable public class INode extends Object
| Modifier and Type | Field and Description |
|---|---|
static INode |
DIRECTORY_INODE |
static org.apache.hadoop.fs.s3.INode.FileType[] |
FILE_TYPES |
| Constructor and Description |
|---|
INode(org.apache.hadoop.fs.s3.INode.FileType fileType,
Block[] blocks) |
| Modifier and Type | Method and Description |
|---|---|
static INode |
deserialize(InputStream in) |
Block[] |
getBlocks() |
org.apache.hadoop.fs.s3.INode.FileType |
getFileType() |
long |
getSerializedLength() |
boolean |
isDirectory() |
boolean |
isFile() |
InputStream |
serialize() |
public static final org.apache.hadoop.fs.s3.INode.FileType[] FILE_TYPES
public static final INode DIRECTORY_INODE
public INode(org.apache.hadoop.fs.s3.INode.FileType fileType,
Block[] blocks)
public Block[] getBlocks()
public org.apache.hadoop.fs.s3.INode.FileType getFileType()
public boolean isDirectory()
public boolean isFile()
public long getSerializedLength()
public InputStream serialize() throws IOException
IOExceptionpublic static INode deserialize(InputStream in) throws IOException
IOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.