In file Pipes.hh:

class HadoopPipes::Factory

A factory to create the necessary application objects

Inheritance:


Public Methods

[more]virtual Mapper* createMapper(MapContext& context) const = 0
[more]virtual Reducer* createReducer(ReduceContext& context) const = 0
[more]virtual Reducer* createCombiner(MapContext& context) const
Create a combiner, if this application has one.
[more]virtual Partitioner* createPartitioner(MapContext& context) const
Create an application partitioner object.
[more]virtual RecordReader* createRecordReader(MapContext& context) const
Create an application record reader.
[more]virtual RecordWriter* createRecordWriter(ReduceContext& context) const
Create an application record writer.
[more]virtual ~Factory()


Documentation

A factory to create the necessary application objects
ovirtual Mapper* createMapper(MapContext& context) const = 0

ovirtual Reducer* createReducer(ReduceContext& context) const = 0

ovirtual Reducer* createCombiner(MapContext& context) const
Create a combiner, if this application has one.
Returns:
the new combiner or NULL, if one is not needed

ovirtual Partitioner* createPartitioner(MapContext& context) const
Create an application partitioner object.
Returns:
the new partitioner or NULL, if the default partitioner should be used.

ovirtual RecordReader* createRecordReader(MapContext& context) const
Create an application record reader.
Returns:
the new RecordReader or NULL, if the Java RecordReader should be used.

ovirtual RecordWriter* createRecordWriter(ReduceContext& context) const
Create an application record writer.
Returns:
the new RecordWriter or NULL, if the Java RecordWriter should be used.

ovirtual ~Factory()


Direct child classes:
TemplateFactory2

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.