com.senseidb.svc.impl
Class CoreSenseiServiceImpl

java.lang.Object
  extended by com.senseidb.svc.impl.AbstractSenseiCoreService<SenseiRequest,SenseiResult>
      extended by com.senseidb.svc.impl.CoreSenseiServiceImpl

public class CoreSenseiServiceImpl
extends AbstractSenseiCoreService<SenseiRequest,SenseiResult>


Field Summary
static com.linkedin.norbert.network.Serializer<SenseiRequest,SenseiResult> SERIALIZER
           
 
Fields inherited from class com.senseidb.svc.impl.AbstractSenseiCoreService
_core, _timeout
 
Constructor Summary
CoreSenseiServiceImpl(SenseiCore core)
           
 
Method Summary
 SenseiResult getEmptyResultInstance(Throwable error)
           
 com.linkedin.norbert.network.Serializer<SenseiRequest,SenseiResult> getSerializer()
           
 SenseiResult handlePartitionedRequest(SenseiRequest request, List<com.browseengine.bobo.api.BoboIndexReader> readerList, SenseiQueryBuilderFactory queryBuilderFactory)
           
 SenseiResult mergePartitionedResults(SenseiRequest r, List<SenseiResult> resultList)
           
 
Methods inherited from class com.senseidb.svc.impl.AbstractSenseiCoreService
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERIALIZER

public static final com.linkedin.norbert.network.Serializer<SenseiRequest,SenseiResult> SERIALIZER
Constructor Detail

CoreSenseiServiceImpl

public CoreSenseiServiceImpl(SenseiCore core)
Method Detail

handlePartitionedRequest

public SenseiResult handlePartitionedRequest(SenseiRequest request,
                                             List<com.browseengine.bobo.api.BoboIndexReader> readerList,
                                             SenseiQueryBuilderFactory queryBuilderFactory)
                                      throws Exception
Specified by:
handlePartitionedRequest in class AbstractSenseiCoreService<SenseiRequest,SenseiResult>
Throws:
Exception

mergePartitionedResults

public SenseiResult mergePartitionedResults(SenseiRequest r,
                                            List<SenseiResult> resultList)
Specified by:
mergePartitionedResults in class AbstractSenseiCoreService<SenseiRequest,SenseiResult>

getEmptyResultInstance

public SenseiResult getEmptyResultInstance(Throwable error)
Specified by:
getEmptyResultInstance in class AbstractSenseiCoreService<SenseiRequest,SenseiResult>

getSerializer

public com.linkedin.norbert.network.Serializer<SenseiRequest,SenseiResult> getSerializer()
Specified by:
getSerializer in class AbstractSenseiCoreService<SenseiRequest,SenseiResult>


Copyright © 2010-2012. All Rights Reserved.