public static class SequenceFileUtility.RelativePathFilenameKeyProvider extends Object implements SequenceFileUtility.KeyProvider<org.apache.hadoop.io.Text>
Constructor and Description |
---|
RelativePathFilenameKeyProvider() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.Text |
getKey(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path) |
org.apache.hadoop.io.Text |
getKey(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.Path base) |
public RelativePathFilenameKeyProvider()
public org.apache.hadoop.io.Text getKey(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path)
getKey
in interface SequenceFileUtility.KeyProvider<org.apache.hadoop.io.Text>
public org.apache.hadoop.io.Text getKey(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.Path base)
getKey
in interface SequenceFileUtility.KeyProvider<org.apache.hadoop.io.Text>