public static class ImportJSON.JsonTextImporter extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.ojai.Document,ByteBufWritableComparable,org.ojai.Document>
| Modifier and Type | Field and Description |
|---|---|
static int |
counter |
| Constructor and Description |
|---|
ImportJSON.JsonTextImporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(org.apache.hadoop.io.LongWritable key,
org.ojai.Document record,
org.apache.hadoop.mapreduce.Mapper.Context context) |
public void map(org.apache.hadoop.io.LongWritable key,
org.ojai.Document record,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.ojai.Document,ByteBufWritableComparable,org.ojai.Document>IOExceptionInterruptedExceptionCopyright © 2015 Mapr Technologies, Inc.. All rights reserved.