com.senseidb.indexing
Class DataSourceFilter<D>

java.lang.Object
  extended by com.senseidb.indexing.DataSourceFilter<D>
Direct Known Subclasses:
JsonFilter, StringJsonFilter

public abstract class DataSourceFilter<D>
extends Object


Field Summary
protected  String _srcDataField
           
protected  String _srcDataStore
           
 
Constructor Summary
DataSourceFilter()
           
 
Method Summary
protected abstract  org.json.JSONObject doFilter(D data)
           
 org.json.JSONObject filter(D data)
           
 void setSrcDataField(String srcDataField)
           
 void setSrcDataStore(String srcDataStore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_srcDataStore

protected String _srcDataStore

_srcDataField

protected String _srcDataField
Constructor Detail

DataSourceFilter

public DataSourceFilter()
Method Detail

doFilter

protected abstract org.json.JSONObject doFilter(D data)
                                         throws Exception
Throws:
Exception

filter

public org.json.JSONObject filter(D data)
                           throws Exception
Throws:
Exception

setSrcDataStore

public void setSrcDataStore(String srcDataStore)

setSrcDataField

public void setSrcDataField(String srcDataField)


Copyright © 2010-2012. All Rights Reserved.