public static class SequenceFileUtility.FilenameKeyProvider extends Object implements SequenceFileUtility.KeyProvider<org.apache.hadoop.io.Text>
Constructor and Description |
---|
FilenameKeyProvider() |
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 FilenameKeyProvider()
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>