|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Volume
Encapsulates a FileSystem
and a base Path
within that filesystem. This also avoid the necessity to pass around a Configuration.
Method Summary | |
---|---|
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 |
Method Detail |
---|
org.apache.hadoop.fs.FileSystem getFileSystem()
FileSystem
that Accumulo will use
String getBasePath()
FileSystem
org.apache.hadoop.fs.Path prefixChild(org.apache.hadoop.fs.Path p)
p
- The suffix to use
org.apache.hadoop.fs.Path prefixChild(String p)
p
- The suffix to use
boolean isValidPath(org.apache.hadoop.fs.Path p)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |