public static class Snapshot.Root extends INodeDirectory
INodeDirectory.SnapshotAndINodeINode.BlocksMapUpdateInfoINodeDirectoryAttributes.CopyWithQuota, INodeDirectoryAttributes.SnapshotCopyDEFAULT_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, valueOfgetFsPermissionShort, getId, getLocalNameBytes, getNext, getPermissionLong, setAccessTime, setLocalName, setModificationTime, setNext, updateModificationTimeaddSpaceConsumed, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDsQuota, getNsQuotagetAccessTime, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserNamepublic ReadOnlyList<INode> getChildrenList(Snapshot snapshot)
getChildrenList in class INodeDirectorysnapshot - 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 INodeDirectoryname - 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 INodeCopyright © 2013 Apache Software Foundation. All rights reserved.