public static class Snapshot.Root extends INodeDirectory
INodeDirectory.SnapshotAndINodeINode.BlocksMapUpdateInfoINodeDirectoryAttributes.CopyWithQuota, INodeDirectoryAttributes.SnapshotCopyDEFAULT_FILES_PER_DIRECTORY| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hdfs.server.namenode.INode |
getChild(byte[] name,
org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot snapshot) |
org.apache.hadoop.hdfs.util.ReadOnlyList<org.apache.hadoop.hdfs.server.namenode.INode> |
getChildrenList(org.apache.hadoop.hdfs.server.namenode.snapshot.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, replaceChildFileInSnapshot, replaceSelf4INodeDirectory, replaceSelf4INodeDirectorySnapshottable, replaceSelf4INodeDirectoryWithSnapshot, saveChild2Snapshot, valueOfgetFsPermissionShort, getId, getLocalNameBytes, getNext, getPermissionLong, setAccessTime, setLocalName, setModificationTime, setNext, updateModificationTimeaddSpaceConsumed, asFile, asReference, asSymlink, compareTo, computeAndConvertContentSummary, 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, waitpublic org.apache.hadoop.hdfs.util.ReadOnlyList<org.apache.hadoop.hdfs.server.namenode.INode> getChildrenList(org.apache.hadoop.hdfs.server.namenode.snapshot.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 org.apache.hadoop.hdfs.server.namenode.INode getChild(byte[] name, org.apache.hadoop.hdfs.server.namenode.snapshot.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 org.apache.hadoop.hdfs.server.namenode.INodeCopyright © 2014 Apache Software Foundation. All Rights Reserved.