com.senseidb.indexing
Class JSONDataInterpreter

java.lang.Object
  extended by proj.zoie.api.indexing.AbstractZoieIndexableInterpreter<org.json.JSONObject>
      extended by com.senseidb.indexing.JSONDataInterpreter
All Implemented Interfaces:
proj.zoie.api.indexing.ZoieIndexableInterpreter<org.json.JSONObject>

public abstract class JSONDataInterpreter
extends proj.zoie.api.indexing.AbstractZoieIndexableInterpreter<org.json.JSONObject>


Constructor Summary
JSONDataInterpreter()
           
 
Method Summary
abstract  org.apache.lucene.document.Document buildDoc(org.json.JSONObject obj)
           
 proj.zoie.api.indexing.ZoieIndexable convertAndInterpret(org.json.JSONObject src)
           
 boolean extractDeleteFlag(org.json.JSONObject obj)
           
 boolean extractSkipFlag(org.json.JSONObject obj)
           
abstract  long extractUID(org.json.JSONObject obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONDataInterpreter

public JSONDataInterpreter()
Method Detail

convertAndInterpret

public proj.zoie.api.indexing.ZoieIndexable convertAndInterpret(org.json.JSONObject src)
Specified by:
convertAndInterpret in interface proj.zoie.api.indexing.ZoieIndexableInterpreter<org.json.JSONObject>
Specified by:
convertAndInterpret in class proj.zoie.api.indexing.AbstractZoieIndexableInterpreter<org.json.JSONObject>

extractUID

public abstract long extractUID(org.json.JSONObject obj)
                         throws org.json.JSONException
Throws:
org.json.JSONException

buildDoc

public abstract org.apache.lucene.document.Document buildDoc(org.json.JSONObject obj)
                                                      throws org.json.JSONException
Throws:
org.json.JSONException

extractSkipFlag

public boolean extractSkipFlag(org.json.JSONObject obj)

extractDeleteFlag

public boolean extractDeleteFlag(org.json.JSONObject obj)


Copyright © 2010-2012. All Rights Reserved.