K - The type of the internalInputFormat's keysV - The type of the internalInputFormat's values
public class MVSHierachicalCountMapper<K,V>
extends <any>
This mapper implementation catalogs records in different hierarchy levels using MVSuggest.
The output key is a combination of the hierarchy layer's name and the hierarchy level's feature id. The value is the number of records counted for the key's feature
Expected configuration:
| Constructor and Description |
|---|
MVSHierachicalCountMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(NullWritable key, FileSplit value, Context context) |
void |
setup(Context context) |
public void map(NullWritable key,
FileSplit value,
Context context)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedException
public void setup(Context context)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.