public static class Snapshot.Root extends INodeDirectory
INodeDirectory.SnapshotAndINode
INode.BlocksMapUpdateInfo
INodeDirectoryAttributes.CopyWithQuota, INodeDirectoryAttributes.SnapshotCopy
DEFAULT_FILES_PER_DIRECTORY
Modifier and Type | Method and Description |
---|---|
INode |
getChild(byte[] name,
Snapshot snapshot) |
ReadOnlyList<INode> |
getChildrenList(Snapshot snapshot) |
String |
getFullPathName() |
addChild, addChild, asDirectory, cleanSubtree, cleanSubtreeRecursively, clear, clearChildren, computeContentSummary, computeQuotaUsage, computeQuotaUsage4CurrentDirectory, destroyAndCollectBlocks, dumpTreeRecursively, dumpTreeRecursively, getChildrenNum, isDirectory, isSnapshottable, metadataEquals, recordModification, removeChild, removeChild, replaceChild, replaceSelf4INodeDirectory, replaceSelf4INodeDirectorySnapshottable, replaceSelf4INodeDirectoryWithSnapshot, saveChild2Snapshot, valueOf
getFsPermissionShort, getId, getLocalNameBytes, getNext, getPermissionLong, setAccessTime, setLocalName, setModificationTime, setNext, updateModificationTime
addSpaceConsumed, asFile, asReference, asSymlink, compareTo, computeContentSummary, computeQuotaUsage, computeQuotaUsage, dumpTreeRecursively, dumpTreeRecursively, equals, getAccessTime, getDsQuota, getFsPermission, getGroupName, getKey, getLocalName, getModificationTime, getNsQuota, getObjectString, getParent, getParentReference, getParentString, getSnapshotINode, getUserName, hashCode, isAncestorDirectory, isFile, isInLatestSnapshot, isQuotaSet, isReference, isSymlink, setAccessTime, setModificationTime, setParent, setParentReference, shouldRecordInSrcSnapshot, toDetailString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDsQuota, getNsQuota
getAccessTime, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName
public ReadOnlyList<INode> getChildrenList(Snapshot snapshot)
getChildrenList
in class INodeDirectory
snapshot
- if it is not null, get the result from the given snapshot;
otherwise, get the result from the current directory.public INode getChild(byte[] name, Snapshot snapshot)
getChild
in class INodeDirectory
name
- the name of the childsnapshot
- if it is not null, get the result from the given snapshot;
otherwise, get the result from the current directory.public String getFullPathName()
getFullPathName
in class INode
Copyright © 2013 Apache Software Foundation. All rights reserved.