Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
Author:
  Randall Hauch (C) 2011 Red Hat Inc.
See Also:
  Serialized Form

Constructor Summary
`DocumentValidationReducer()` Create a new instance of the document validation `Reducer`.

Method Summary
`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>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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