com.senseidb.indexing.hadoop.map
Class DummyMapInputConverter

java.lang.Object
  extended by JsonFilter
      extended by com.senseidb.indexing.hadoop.map.MapInputConverter
          extended by com.senseidb.indexing.hadoop.map.DummyMapInputConverter

public class DummyMapInputConverter
extends MapInputConverter


Constructor Summary
DummyMapInputConverter()
           
 
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
 

Constructor Detail

DummyMapInputConverter

public DummyMapInputConverter()
Method Detail

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.