com.senseidb.indexing.hadoop.map
Class DummyMapInputConverter
java.lang.Object
JsonFilter
com.senseidb.indexing.hadoop.map.MapInputConverter
com.senseidb.indexing.hadoop.map.DummyMapInputConverter
public class DummyMapInputConverter
- extends MapInputConverter
Method Summary |
protected org.json.JSONObject |
doFilter(org.json.JSONObject data)
|
org.json.JSONObject |
getJsonInput(Object key,
Object value,
org.apache.hadoop.conf.Configuration conf)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyMapInputConverter
public DummyMapInputConverter()
getJsonInput
public org.json.JSONObject getJsonInput(Object key,
Object value,
org.apache.hadoop.conf.Configuration conf)
throws org.json.JSONException
- Specified by:
getJsonInput
in class MapInputConverter
- Parameters:
key
- key as mapper input;value
- value as mapper input;conf
- conf as the Job Configuration;
- Returns:
- A JSONObject converted from the map input record;
- Throws:
org.json.JSONException
doFilter
protected org.json.JSONObject doFilter(org.json.JSONObject data)
throws Exception
- Specified by:
doFilter
in class MapInputConverter
- Throws:
Exception
Copyright © 2010-2012. All Rights Reserved.