• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Method Create

Create(Object)

This method will provide the incoming element with a new instance of the Combiner so that it merges the intermediate key-value pairs from the Mapper.

Declaration
ICombiner Create(object key)
Parameters
Type Name Description
System.Object key

Key for new Combiner

Returns
Type Description
ICombiner

New instance of ICombiner.

Examples

Following example demonstrates the implementation of create.

public ICombiner Create(object key)
 {
     WordCountCombiner wcCombiner = new WordCountCombiner(); //new instance of combiner.
     return wcCombiner;
 }
Back to top Copyright © 2017 Alachisoft