|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.volume.NonConfiguredVolume
public class NonConfiguredVolume
Volume implementation which represents a Volume for which we have a FileSystem but no base path because it is not configured via
Property.INSTANCE_VOLUMES
This is useful to handle volumes that have been removed from accumulo-site.xml but references to these volumes have not been updated. This Volume should
never be used to create new files, only to read existing files.
Constructor Summary | |
---|---|
NonConfiguredVolume(org.apache.hadoop.fs.FileSystem fs)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
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 |
int |
hashCode()
|
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 |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NonConfiguredVolume(org.apache.hadoop.fs.FileSystem fs)
Method Detail |
---|
public org.apache.hadoop.fs.FileSystem getFileSystem()
Volume
FileSystem
that Accumulo will use
getFileSystem
in interface Volume
public String getBasePath()
Volume
FileSystem
getBasePath
in interface Volume
public org.apache.hadoop.fs.Path prefixChild(org.apache.hadoop.fs.Path p)
Volume
prefixChild
in interface Volume
p
- The suffix to use
public org.apache.hadoop.fs.Path prefixChild(String p)
Volume
prefixChild
in interface Volume
p
- The suffix to use
public boolean isValidPath(org.apache.hadoop.fs.Path p)
Volume
isValidPath
in interface Volume
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |