| Package | Description | 
|---|---|
| org.apache.hadoop.fs | An abstract file system API. | 
| org.apache.hadoop.fs.viewfs | 
| Modifier and Type | Method and Description | 
|---|---|
| BlockStoragePolicySpi | AbstractFileSystem. getStoragePolicy(Path src)Retrieve the storage policy for a given file or directory. | 
| BlockStoragePolicySpi | FileContext. getStoragePolicy(Path path)Query the effective storage policy ID for the given file or directory. | 
| BlockStoragePolicySpi | FilterFileSystem. getStoragePolicy(Path src) | 
| BlockStoragePolicySpi | FileSystem. getStoragePolicy(Path src)Query the effective storage policy ID for the given file or directory. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<? extends BlockStoragePolicySpi> | AbstractFileSystem. getAllStoragePolicies()Retrieve all the storage policies supported by this file system. | 
| Collection<? extends BlockStoragePolicySpi> | FileContext. getAllStoragePolicies()Retrieve all the storage policies supported by this file system. | 
| Collection<? extends BlockStoragePolicySpi> | FilterFileSystem. getAllStoragePolicies() | 
| Collection<? extends BlockStoragePolicySpi> | FileSystem. getAllStoragePolicies()Retrieve all the storage policies supported by this file system. | 
| Modifier and Type | Method and Description | 
|---|---|
| BlockStoragePolicySpi | ViewFs. getStoragePolicy(Path src)Retrieve the storage policy for a given file or directory. | 
Copyright © 2018 Apache Software Foundation. All Rights Reserved.