- setCacheArchives(URI[]) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Set the list of archives to put on the distributed cache
- setCacheFiles(URI[]) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Set the list of files to put on the distributed cache
- setCombiner(Reducer<K2, V2, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Sets the reducer object to use as a combiner for this test
- setCombiner(Reducer<K1, V1, K1, V1>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Set the combiner to use with this test driver
- setCombiner(Reducer<K2, V2, K2, V2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Sets the reducer object to use as a combiner for this test
- setCombiner(Reducer<K1, V1, K1, V1>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Set the combiner to use with this test driver
- setConfiguration(Configuration) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Deprecated.
Use getConfiguration() to set configuration items as opposed to
overriding the entire configuration object as it's used
internally.
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.MapDriver
-
Sets the counters object to use for this test.
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.MapDriver
-
Sets the counters object to use for this test.
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Sets the counters object to use for this test.
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Sets the counters object to use for this test
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceDriver
-
Sets the counters object to use for this test.
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Sets the counters object to use for this test.
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Sets the counters object to use for this test
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Sets the counters object to use for this test.
- setCounters(Counters) - Method in class org.apache.hadoop.mrunit.ReduceDriver
-
Sets the counters object to use for this test.
- setInput(K1, V1) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
Sets the input to send to the mapper
- setInput(Pair<K1, V1>) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
Sets the input to send to the mapper
- setInput(K1, List<V1>) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
Sets the input to send to the reducer
- setInputFromString(String) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
Deprecated.
No replacement due to lack of type safety and incompatibility
with non Text Writables
- setInputFromString(String) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
Deprecated.
No replacement due to lack of type safety and incompatibility
with non Text Writables
- setInputKey(K1) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
- setInputKey(K1) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
- setInputValue(V1) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
- setInputValues(List<V1>) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
- setKeyComparator(Comparator<K>) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Set the output key comparator
- setKeyGroupingComparator(RawComparator<K2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
Set the key grouping comparator, similar to calling the following API calls
but passing a real instance rather than just the class:
pre 0.20.1 API: JobConf.setOutputValueGroupingComparator(Class)
0.20.1+ API: Job.setGroupingComparatorClass(Class)
- setKeyOrderComparator(RawComparator<K2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
Set the key value order comparator, similar to calling the following API
calls but passing a real instance rather than just the class:
pre 0.20.1 API: JobConf.setOutputKeyComparatorClass(Class)
0.20.1+ API: Job.setSortComparatorClass(Class)
- setMapInputPath(Path) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
- setMapInputPath(Path) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
- setMapInputPath(Path) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
- setMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.MapDriver
-
Set the Mapper instance to use with this test driver
- setMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapDriver
-
Set the Mapper instance to use with this test driver
- setMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Set the Mapper instance to use with this test driver
- setMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Set the Mapper instance to use with this test driver
- setOutputSerializationConfiguration(Configuration) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Set the Configuration
to use when copying output for use with run*
methods or for the InputFormat when reading output back in when setting a
real OutputFormat.
- setReducer(Reducer<K2, V2, K3, V3>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Sets the reducer object to use for this test
- setReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Set the reducer to use with this test driver
- setReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceDriver
-
Sets the reducer object to use for this test
- setReducer(Reducer<K2, V2, K3, V3>) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Sets the reducer object to use for this test
- setReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Set the reducer to use with this test driver
- setReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.ReduceDriver
-
Sets the reducer object to use for this test
- setUsedOnceStatus() - Method in class org.apache.hadoop.mrunit.TestDriver
-
Set to true when run() is called to prevent driver reuse
- setValueComparator(Comparator<V>) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Set the output value comparator
- shuffle(List<Pair<K, V>>) - Method in class org.apache.hadoop.mrunit.MapOutputShuffler
-
- sortAndGroup(List<Pair<K2, V2>>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
- sortAndGroup(List<Pair<K1, V1>>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
- sortAndGroup(List<Pair<K, V>>, Comparator<K>, Comparator<K>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceFeeder
-
This method takes the outputs from a mapper and return the
corresponding reducer input where keys have been sorted and
grouped according to given comparators.
- sortAndGroup(List<Pair<K, V>>, Comparator<K>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceFeeder
-
This method takes the outputs from a mapper and return the
corresponding reducer input where keys have been sorted and
grouped according to given comparator.
- sortAndGroup(List<Pair<K, V>>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceFeeder
-
This method takes the outputs from a mapper and return the
corresponding reducer input where keys have been sorted and
grouped according to their natural order.
- withAll(List<Pair<K1, V1>>) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
Identical to addAll() but returns self for fluent programming style
- withAll(Mapper<K, V, K1, V1>, List<Pair<K, V>>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Identical to addInput but supports fluent programming style
- withAll(List<Pair<K1, V1>>) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
Identical to addAll() but returns self for fluent programming style
- withAll(Mapper<K, V, K1, V1>, List<Pair<K, V>>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Identical to addInput but supports fluent programming style
- withAll(List<Pair<K1, V1>>) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Identical to addAll() but returns self for fluent programming style
- withAll(List<Pair<K1, List<V1>>>) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
Identical to addAll() but returns self for fluent programming style
- withAllElements(List<KeyValueReuseList<K1, V1>>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceDriver
-
Identical to addAllElements() but returns self for fluent programming style
- withAllOutput(List<Pair<K, V>>) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Functions like addAllOutput() but returns self for fluent programming style
- withCacheArchive(String) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Adds an archive to be put on the distributed cache.
- withCacheArchive(URI) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Adds an archive to be put on the distributed cache.
- withCacheFile(String) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Adds a file to be put on the distributed cache.
- withCacheFile(URI) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Adds a file to be put on the distributed cache.
- withCombiner(Reducer<K2, V2, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Identical to setCombiner(), but with fluent programming style
- withCombiner(Reducer<K1, V1, K1, V1>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Identical to setCombiner but supports a fluent programming style
- withCombiner(Reducer<K2, V2, K2, V2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Identical to setCombiner(), but with fluent programming style
- withCombiner(Reducer<K1, V1, K1, V1>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Identical to setCombiner but supports a fluent programming style
- withConfiguration(Configuration) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Deprecated.
Use getConfiguration() to set configuration items as opposed to
overriding the entire configuration object as it's used
internally.
- withCounter(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Identical to setCounters but supports a fluent programming style
- withCounter(Counters) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Identical to setCounters but supports a fluent programming style
- withCounter(Enum<?>, long) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Register expected enumeration based counter value
- withCounter(String, String, long) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Register expected name based counter value
- withCounters(Counters) - Method in class org.apache.hadoop.mrunit.MapDriver
-
Sets the counters to use and returns self for fluent style
- withCounters(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.MapDriver
-
Sets the counters to use and returns self for fluent style
- withCounters(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Sets the counters to use and returns self for fluent style
- withCounters(Counters) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceDriver
-
Sets the counters to use and returns self for fluent style
- withCounters(Counters) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Sets the counters to use and returns self for fluent style
- withCounters(Counters) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Sets the counters to use and returns self for fluent style
- withCounters(Counters) - Method in class org.apache.hadoop.mrunit.ReduceDriver
-
Sets the counters to use and returns self for fluent style
- withInput(K1, V1) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
Similar to setInput() but uses addInput() instead so accumulates values,
and returns the class instance, conforming to the fluent programming style
- withInput(Pair<K1, V1>) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
Identical to setInput() but returns self for fluent programming style
- withInput(Mapper<K, V, K1, V1>, K, V) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Identical to addInput but supports fluent programming style
- withInput(Mapper<K, V, K1, V1>, Pair<K, V>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Identical to addInput but supports fluent programming style
- withInput(KeyValueReuseList<K1, V1>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceDriver
-
Identical to addInput() but returns self for fluent programming style
- withInput(K1, V1) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
Identical to addInput() but returns self for fluent programming style
- withInput(Pair<K1, V1>) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
Identical to addInput() but returns self for fluent programming style
- withInput(Mapper<K, V, K1, V1>, K, V) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Identical to addInput but supports fluent programming style
- withInput(Mapper<K, V, K1, V1>, Pair<K, V>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Identical to addInput but supports fluent programming style
- withInput(K1, V1) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Identical to addInput() but returns self for fluent programming style
- withInput(Pair<K1, V1>) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Identical to addInput() but returns self for fluent programming style
- withInput(K1, List<V1>) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
Identical to setInput() but returns self for fluent programming style
- withInput(Pair<K1, List<V1>>) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
Identical to addInput() but returns self for fluent programming style
- withInputFormat(Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Set the InputFormat
- withInputFormat(Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Set the InputFormat
- withInputFromString(String) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
Deprecated.
No replacement due to lack of type safety and incompatibility
with non Text Writables
- withInputFromString(String) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
Deprecated.
No replacement due to lack of type safety and incompatibility
with non Text Writables
- withInputFromString(String) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Deprecated.
No replacement due to lack of type safety and incompatibility
with non Text Writables
- withInputFromString(String) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
Deprecated.
No replacement due to lack of type safety and incompatibility
with non Text Writables
- withInputKey(K1) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
- withInputKey(K1) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
- withInputValue(V1) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
- withInputValue(V1) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
- withInputValues(List<V1>) - Method in class org.apache.hadoop.mrunit.ReduceDriverBase
-
- withKeyGroupingComparator(RawComparator<K2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
- withKeyOrderComparator(RawComparator<K2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
- withMapInputPath(Path) - Method in class org.apache.hadoop.mrunit.MapDriverBase
-
- withMapInputPath(Path) - Method in class org.apache.hadoop.mrunit.MapReduceDriverBase
-
- withMapInputPath(Path) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
- withMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.MapDriver
-
Sets the Mapper instance to use and returns self for fluent style
- withMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapDriver
-
Sets the Mapper instance to use and returns self for fluent style
- withMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Sets the Mapper instance to use and returns self for fluent style
- withMapper(Mapper<K, V, K1, V1>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Identical to addMapper but supports a fluent programming style
- withMapper(Mapper<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Sets the Mapper instance to use and returns self for fluent style
- withMapper(Mapper<K, V, K1, V1>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Identical to addMapper but supports a fluent programming style
- withMapReduce(Mapper, Reducer) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Add a Mapper and Reducer instance to the pipeline to use with this test
driver using fluent style
- withMapReduce(Pair<Mapper, Reducer>) - Method in class org.apache.hadoop.mrunit.PipelineMapReduceDriver
-
Add a Mapper and Reducer instance to the pipeline to use with this test
driver using fluent style
- withMultiOutput(String, K, V) - Method in class org.apache.hadoop.mrunit.TestDriver
-
works like addMultiOutput() but returns self for fluent programming style
- withMultiOutput(String, Pair<K, V>) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Works like addMultiOutput(), but returns self for fluent programming style
- withOutput(Pair<K, V>) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Works like addOutput(), but returns self for fluent style
- withOutput(K, V) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Works like addOutput() but returns self for fluent programming style
- withOutputFormat(Class<? extends OutputFormat>, Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.MapDriver
-
Configure Mapper
to output with a real OutputFormat
.
- withOutputFormat(Class<? extends OutputFormat>, Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapDriver
-
Configure Mapper
to output with a real OutputFormat
.
- withOutputFormat(Class<? extends OutputFormat>, Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Configure Reducer
to output with a real OutputFormat
.
- withOutputFormat(Class<? extends OutputFormat>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Configure Reducer
to output with a real OutputFormat
.
- withOutputFormat(Class<? extends OutputFormat>, Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceDriver
-
Configure Reducer
to output with a real OutputFormat
.
- withOutputFormat(Class<? extends OutputFormat>, Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Configure Reducer
to output with a real OutputFormat
.
- withOutputFormat(Class<? extends OutputFormat>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Configure Reducer
to output with a real OutputFormat
.
- withOutputFormat(Class<? extends OutputFormat>, Class<? extends InputFormat>) - Method in class org.apache.hadoop.mrunit.ReduceDriver
-
Configure Reducer
to output with a real OutputFormat
.
- withOutputFromString(String) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Deprecated.
No replacement due to lack of type safety and incompatibility
with non Text Writables
- withOutputSerializationConfiguration(Configuration) - Method in class org.apache.hadoop.mrunit.TestDriver
-
Set the Configuration
to use when copying output for use with run*
methods or for the InputFormat when reading output back in when setting a
real OutputFormat.
- withPathOutput(K, V, String) - Method in class org.apache.hadoop.mrunit.TestDriver
-
- withPathOutput(Pair<K, V>, String) - Method in class org.apache.hadoop.mrunit.TestDriver
-
- withReducer(Reducer<K2, V2, K3, V3>) - Method in class org.apache.hadoop.mrunit.mapreduce.MapReduceDriver
-
Identical to setReducer(), but with fluent programming style
- withReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.MultipleInputsMapReduceDriver
-
Identical to setReducer but supports a fluent programming style
- withReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.mapreduce.ReduceDriver
-
Identical to setReducer(), but with fluent programming style
- withReducer(Reducer<K2, V2, K3, V3>) - Method in class org.apache.hadoop.mrunit.MapReduceDriver
-
Identical to setReducer(), but with fluent programming style
- withReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.MultipleInputsMapReduceDriver
-
Identical to setReducer but supports a fluent programming style
- withReducer(Reducer<K1, V1, K2, V2>) - Method in class org.apache.hadoop.mrunit.ReduceDriver
-
Identical to setReducer(), but with fluent programming style
- withStrictCounterChecking() - Method in class org.apache.hadoop.mrunit.TestDriver
-
Change counter checking.