@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
IOException
public static INode deserialize(InputStream in) throws IOException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.