Class HadoopApprovals
java.lang.Object
org.approvaltests.hadoop.version1.HadoopApprovals
public class HadoopApprovals extends Object
To use this package you will need to either extended the SmartMapper and SmartWrapper classes,
or use the MapperWrapper and ReducerWrapper classes.
- See Also:
SmartMapper,SmartReducer,MapperWrapper,ReducerWrapper
-
Constructor Summary
Constructors Constructor Description HadoopApprovals() -
Method Summary
Modifier and Type Method Description static voidverifyMapping(SmartMapper mapper, Object key, Object input)static voidverifyMapReduce(SmartMapper mapper, SmartReducer reducer, Object key, Object input)static voidverifyReducer(SmartReducer reducer, Object key, Object... values)
-
Constructor Details
-
HadoopApprovals
public HadoopApprovals()
-
-
Method Details
-
verifyMapping
- Throws:
Exception
-
verifyReducer
public static void verifyReducer(SmartReducer reducer, Object key, Object... values) throws Exception- Throws:
Exception
-
verifyMapReduce
public static void verifyMapReduce(SmartMapper mapper, SmartReducer reducer, Object key, Object input) throws Exception- Throws:
Exception
-