com.senseidb.indexing
Class DefaultJsonSchemaInterpreter

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

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


Constructor Summary
DefaultJsonSchemaInterpreter(SenseiSchema schema)
           
 
Method Summary
static byte[] compress(byte[] src)
           
 proj.zoie.api.indexing.ZoieIndexable convertAndInterpret(org.json.JSONObject obj)
           
static byte[] decompress(byte[] src)
           
 CustomIndexingPipeline getCustomIndexingPipeline()
           
 void setCustomIndexingPipeline(CustomIndexingPipeline customIndexingPipeline)
           
 void setJsonFilter(JsonFilter jsonFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJsonSchemaInterpreter

public DefaultJsonSchemaInterpreter(SenseiSchema schema)
                             throws org.apache.commons.configuration.ConfigurationException
Throws:
org.apache.commons.configuration.ConfigurationException
Method Detail

compress

public static byte[] compress(byte[] src)
                       throws Exception
Throws:
Exception

decompress

public static byte[] decompress(byte[] src)
                         throws Exception
Throws:
Exception

setCustomIndexingPipeline

public void setCustomIndexingPipeline(CustomIndexingPipeline customIndexingPipeline)

getCustomIndexingPipeline

public CustomIndexingPipeline getCustomIndexingPipeline()

setJsonFilter

public void setJsonFilter(JsonFilter jsonFilter)

convertAndInterpret

public proj.zoie.api.indexing.ZoieIndexable convertAndInterpret(org.json.JSONObject obj)
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>


Copyright © 2010-2012. All Rights Reserved.