MapFile.Merger (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.io, class: MapFile, class: Merger

Package org.apache.hadoop.io

# Class MapFile.Merger

java.lang.Object
org.apache.hadoop.io.MapFile.Merger

Enclosing class:
  MapFile

public static class MapFile.Merger extends Object
Class to merge multiple MapFiles of same Key and Value types to one MapFile

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Merger(Configuration conf)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `merge(Path[] inMapFiles, boolean deleteInputs, Path outMapFile)`
  Merge multiple MapFiles to one Mapfile.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Merger

    public Merger(Configuration conf) throws IOException
    Throws:
      `IOException`

- ## Method Details

  - ### merge

    public void merge(Path[] inMapFiles, boolean deleteInputs, Path outMapFile) throws IOException
    Merge multiple MapFiles to one Mapfile.
    Parameters:
      `inMapFiles` - input inMapFiles.
      `deleteInputs` - deleteInputs.
      `outMapFile` - input outMapFile.
    Throws:
      `IOException` - raised on errors performing I/O.