tachyon
Class InodeFolder
java.lang.Object
tachyon.Inode
tachyon.InodeFolder
- All Implemented Interfaces:
- Comparable<Inode>
- Direct Known Subclasses:
- InodeRawTable
public class InodeFolder
- extends Inode
Tachyon file system's folder representation in master.
Fields inherited from class tachyon.Inode |
TYPE |
Methods inherited from class tachyon.Inode |
compareTo, equals, getCreationTimeMs, getId, getInodeType, getName, getParentId, hashCode, isDirectory, isFile, reverseId, setName, setParentId |
InodeFolder
public InodeFolder(String name,
int id,
int parentId)
InodeFolder
public InodeFolder(String name,
int id,
int parentId,
InodeType type)
addChild
public void addChild(int childId)
addChildren
public void addChildren(int[] childrenIds)
getChild
public Inode getChild(String name,
Map<Integer,Inode> allInodes)
getChildrenIds
public List<Integer> getChildrenIds()
getNumberOfChildren
public int getNumberOfChildren()
removeChild
public void removeChild(int id)
removeChild
public boolean removeChild(String name,
Map<Integer,Inode> allInodes)
isRawTable
public boolean isRawTable()
toString
public String toString()
- Overrides:
toString
in class Inode
Copyright © 2013. All Rights Reserved.