public static class Snapshot.Root extends INodeDirectory
INodeDirectory.SnapshotAndINodeINode.BlocksMapUpdateInfo, INode.FeatureINodeDirectoryAttributes.CopyWithQuota, INodeDirectoryAttributes.SnapshotCopyDEFAULT_FILES_PER_DIRECTORY| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hdfs.server.namenode.INode |
getChild(byte[] name,
int snapshotId) |
org.apache.hadoop.hdfs.util.ReadOnlyList<org.apache.hadoop.hdfs.server.namenode.INode> |
getChildrenList(int snapshotId) |
String |
getFullPathName() |
addChild, addChild, addSnapshotFeature, addSpaceConsumed, asDirectory, cleanSubtree, cleanSubtreeRecursively, clear, clearChildren, computeContentSummary, computeQuotaUsage, computeQuotaUsage4CurrentDirectory, destroyAndCollectBlocks, dumpTreeRecursively, dumpTreeRecursively, getChildrenNum, getDiffs, getDirectoryWithQuotaFeature, getDirectoryWithSnapshotFeature, getQuotaCounts, getSnapshotINode, isDirectory, isSnapshottable, isWithSnapshot, metadataEquals, recordModification, removeChild, removeChild, replaceChild, replaceSelf4INodeDirectory, replaceSelf4INodeDirectorySnapshottable, saveChild2Snapshot, searchChild, toDetailString, undoRename4DstParent, undoRename4ScrParent, valueOfaddAclFeature, addFeature, addXAttrFeature, getFeature, getFeatures, getFsPermissionShort, getId, getLocalNameBytes, getNext, getPermissionLong, removeAclFeature, removeFeature, removeXAttrFeature, setAccessTime, setLocalName, setModificationTime, setNext, updateModificationTimeasFile, asReference, asSymlink, compareTo, computeAndConvertContentSummary, computeContentSummary, computeQuotaUsage, computeQuotaUsage, dumpTreeRecursively, dumpTreeRecursively, equals, getAccessTime, getAclFeature, getFsPermission, getGroupName, getKey, getLocalName, getModificationTime, getObjectString, getParent, getParentReference, getParentString, getPathComponents, getUserName, getXAttrFeature, hashCode, isAncestorDirectory, isFile, isInLatestSnapshot, isQuotaSet, isReference, isSymlink, setAccessTime, setModificationTime, setParent, setParentReference, shouldRecordInSrcSnapshot, toStringpublic org.apache.hadoop.hdfs.util.ReadOnlyList<org.apache.hadoop.hdfs.server.namenode.INode> getChildrenList(int snapshotId)
getChildrenList in class INodeDirectorysnapshotId - if it is not Snapshot.CURRENT_STATE_ID, get the result
from the corresponding snapshot; otherwise, get the result from
the current directory.public org.apache.hadoop.hdfs.server.namenode.INode getChild(byte[] name, int snapshotId)
getChild in class INodeDirectoryname - the name of the childsnapshotId - if it is not Snapshot.CURRENT_STATE_ID, get the result
from the corresponding 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.