Package | Description |
---|---|
org.apache.hadoop.mrunit |
|
Modifier and Type | Method and Description |
---|---|
static <K1,V1,K2,V2> |
MapDriver.newMapDriver()
Returns a new MapDriver without having to specify the generic types on the
right hand side of the object create statement.
|
static <K1,V1,K2,V2> |
MapDriver.newMapDriver(org.apache.hadoop.mapred.Mapper<K1,V1,K2,V2> mapper)
Returns a new MapDriver without having to specify the generic types on the
right hand side of the object create statement.
|
MapDriver<K1,V1,K2,V2> |
MapDriver.withCounters(org.apache.hadoop.mapred.Counters ctrs)
Sets the counters to use and returns self for fluent style
|
MapDriver<K1,V1,K2,V2> |
MapDriver.withMapper(org.apache.hadoop.mapred.Mapper<K1,V1,K2,V2> m)
Sets the Mapper instance to use and returns self for fluent style
|
MapDriver<K1,V1,K2,V2> |
MapDriver.withOutputFormat(Class<? extends org.apache.hadoop.mapred.OutputFormat> outputFormatClass,
Class<? extends org.apache.hadoop.mapred.InputFormat> inputFormatClass)
Configure
Mapper to output with a real OutputFormat . |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.