public interface Volume
FileSystem
and a base Path
within that filesystem. This also avoid
the necessity to pass around a Configuration.Modifier and Type | Method and Description |
---|---|
String |
getBasePath()
The base path which Accumulo will use within the given
FileSystem |
org.apache.hadoop.fs.FileSystem |
getFileSystem()
A
FileSystem that Accumulo will use |
boolean |
isValidPath(org.apache.hadoop.fs.Path p)
Determine if the Path is valid on this Volume.
|
org.apache.hadoop.fs.Path |
prefixChild(org.apache.hadoop.fs.Path p)
Convert the given Path into a Path that is relative to the base path for this Volume
|
org.apache.hadoop.fs.Path |
prefixChild(String p)
Convert the given child path into a Path that is relative to the base path for this Volume
|
org.apache.hadoop.fs.FileSystem getFileSystem()
FileSystem
that Accumulo will useString getBasePath()
FileSystem
org.apache.hadoop.fs.Path prefixChild(org.apache.hadoop.fs.Path p)
p
- The suffix to useorg.apache.hadoop.fs.Path prefixChild(String p)
p
- The suffix to useboolean isValidPath(org.apache.hadoop.fs.Path p)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.