public abstract class SequenceFilesFromDirectoryFilter extends Object implements org.apache.hadoop.fs.PathFilter
Modifier | Constructor and Description |
---|---|
protected |
SequenceFilesFromDirectoryFilter(org.apache.hadoop.conf.Configuration conf,
String keyPrefix,
Map<String,String> options,
ChunkedWriter writer,
Charset charset,
org.apache.hadoop.fs.FileSystem fs) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(org.apache.hadoop.fs.Path current) |
protected Charset |
getCharset() |
protected org.apache.hadoop.conf.Configuration |
getConf() |
protected org.apache.hadoop.fs.FileSystem |
getFs() |
protected Map<String,String> |
getOptions() |
protected String |
getPrefix() |
protected ChunkedWriter |
getWriter() |
protected abstract void |
process(org.apache.hadoop.fs.FileStatus in,
org.apache.hadoop.fs.Path current) |
protected final String getPrefix()
protected final ChunkedWriter getWriter()
protected final Charset getCharset()
protected final org.apache.hadoop.fs.FileSystem getFs()
protected final org.apache.hadoop.conf.Configuration getConf()
public final boolean accept(org.apache.hadoop.fs.Path current)
accept
in interface org.apache.hadoop.fs.PathFilter
protected abstract void process(org.apache.hadoop.fs.FileStatus in, org.apache.hadoop.fs.Path current) throws IOException
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.