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 |
---|---|
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, valueOf
getFsPermissionShort, getId, getLocalNameBytes, getNext, getPermissionLong, setAccessTime, setLocalName, setModificationTime, setNext, updateModificationTime
addSpaceConsumed, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 INodeDirectory
snapshot
- 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 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 org.apache.hadoop.hdfs.server.namenode.INode
Copyright © 2014 Apache Software Foundation. All Rights Reserved.