Package org.apache.hadoop.ozone.om
Class OzonePrefixPathImpl
java.lang.Object
org.apache.hadoop.ozone.om.OzonePrefixPathImpl
- All Implemented Interfaces:
org.apache.hadoop.ozone.security.acl.OzonePrefixPath
public class OzonePrefixPathImpl
extends Object
implements org.apache.hadoop.ozone.security.acl.OzonePrefixPath
Implementation of OzonePrefixPath interface.
-
Constructor Summary
ConstructorsConstructorDescriptionOzonePrefixPathImpl(String volumeName, String bucketName, String keyPrefix, KeyManager keyManagerImpl) -
Method Summary
Modifier and TypeMethodDescriptionIterator<? extends org.apache.hadoop.ozone.om.helpers.OzoneFileStatus> getChildren(String keyPrefix) org.apache.hadoop.ozone.om.helpers.OzoneFileStatusboolean
-
Constructor Details
-
OzonePrefixPathImpl
public OzonePrefixPathImpl(String volumeName, String bucketName, String keyPrefix, KeyManager keyManagerImpl) throws IOException - Throws:
IOException
-
-
Method Details
-
getOzoneFileStatus
public org.apache.hadoop.ozone.om.helpers.OzoneFileStatus getOzoneFileStatus()- Specified by:
getOzoneFileStatusin interfaceorg.apache.hadoop.ozone.security.acl.OzonePrefixPath
-
getChildren
public Iterator<? extends org.apache.hadoop.ozone.om.helpers.OzoneFileStatus> getChildren(String keyPrefix) throws IOException - Specified by:
getChildrenin interfaceorg.apache.hadoop.ozone.security.acl.OzonePrefixPath- Throws:
IOException
-
isCheckRecursiveAccess
public boolean isCheckRecursiveAccess()- Returns:
- true if no sub-directories or sub-files exist, false otherwise
-