public class INode extends Object
限定符和类型 | 字段和说明 |
---|---|
static INode |
DIRECTORY_INODE |
static org.apache.hadoop.fs.s3.INode.FileType[] |
FILE_TYPES |
限定符和类型 | 方法和说明 |
---|---|
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 © 2009 The Apache Software Foundation