org.infinispan.schematic.internal

## Class DocumentValidationReducer

- java.lang.Object
- - org.infinispan.schematic.internal.DocumentValidationReducer

- All Implemented Interfaces:
    Serializable, org.infinispan.distexec.mapreduce.Reducer<String,SchemaLibrary.Results>

      public class DocumentValidationReducer
      extends Object
      implements org.infinispan.distexec.mapreduce.Reducer<String,SchemaLibrary.Results>

  A `Mapper` implementation that validates `JSON Documents` within Infinispan's Map-Reduce framework.
  Since:
    5.1
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DocumentValidationReducer()` Create a new instance of the document validation `Reducer`.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SchemaLibrary.Results` | `reduce(String reducedKey, Iterator<SchemaLibrary.Results> iter)`

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

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

- - ### Constructor Detail

    - #### DocumentValidationReducer

          public DocumentValidationReducer()

      Create a new instance of the document validation `Reducer`.

  - ### Method Detail

    - #### reduce

          public SchemaLibrary.Results reduce(String reducedKey,
                                     Iterator<SchemaLibrary.Results> iter)

      Specified by:
        `reduce` in interface `org.infinispan.distexec.mapreduce.Reducer<String,SchemaLibrary.Results>`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.