|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.lib.FilterOutputFormat<K,V>
FilterOutputFormat
instead.
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class FilterOutputFormat<K,V>
FilterOutputFormat is a convenience class that wraps OutputFormat.
Nested Class Summary | |
---|---|
static class |
FilterOutputFormat.FilterRecordWriter<K,V>
Deprecated. FilterRecordWriter is a convenience wrapper
class that implements RecordWriter . |
Field Summary | |
---|---|
protected OutputFormat<K,V> |
baseOut
Deprecated. |
Constructor Summary | |
---|---|
FilterOutputFormat()
Deprecated. |
|
FilterOutputFormat(OutputFormat<K,V> out)
Deprecated. Create a FilterOutputFormat based on the supplied output format. |
Method Summary | |
---|---|
void |
checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored,
JobConf job)
Deprecated. Check for validity of the output-specification for the job. |
RecordWriter<K,V> |
getRecordWriter(org.apache.hadoop.fs.FileSystem ignored,
JobConf job,
String name,
org.apache.hadoop.util.Progressable progress)
Deprecated. Get the RecordWriter for the given job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OutputFormat<K,V> baseOut
Constructor Detail |
---|
public FilterOutputFormat()
public FilterOutputFormat(OutputFormat<K,V> out)
out
- the underlying OutputFormatMethod Detail |
---|
public RecordWriter<K,V> getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, JobConf job, String name, org.apache.hadoop.util.Progressable progress) throws IOException
OutputFormat
RecordWriter
for the given job.
getRecordWriter
in interface OutputFormat<K,V>
job
- configuration for the job whose output is being written.name
- the unique name for this part of the output.progress
- mechanism for reporting progress while writing to file.
RecordWriter
to write the output for the job.
IOException
public void checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored, JobConf job) throws IOException
OutputFormat
This is to validate the output specification for the job when it is a job is submitted. Typically checks that it does not already exist, throwing an exception when it already exists, so that output is not overwritten.
checkOutputSpecs
in interface OutputFormat<K,V>
job
- job configuration.
IOException
- when output should not be attempted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |