Package org.apache.accumulo.server.fs
Class FileRef
- java.lang.Object
-
- org.apache.accumulo.server.fs.FileRef
-
- All Implemented Interfaces:
Comparable<FileRef>
public class FileRef extends Object implements Comparable<FileRef>
This is a glue object, to convert short file references to long references. The metadata may contain old relative file references. This class keeps track of the short file reference, so it can be removed properly from the metadata tables.
-
-
Constructor Detail
-
FileRef
public FileRef(VolumeManager fs, Key key)
-
FileRef
public FileRef(String metaReference, org.apache.hadoop.fs.Path fullReference)
-
FileRef
public FileRef(String path)
-
-
Method Detail
-
path
public org.apache.hadoop.fs.Path path()
-
meta
public org.apache.hadoop.io.Text meta()
-
compareTo
public int compareTo(FileRef o)
- Specified by:
compareTo
in interfaceComparable<FileRef>
-
-