com.senseidb.search.node
Class SenseiSysScatterGatherHandler
java.lang.Object
com.senseidb.search.node.AbstractSenseiScatterGatherHandler<SenseiRequest,SenseiSystemInfo>
com.senseidb.search.node.SenseiSysScatterGatherHandler
- All Implemented Interfaces:
- com.linkedin.norbert.javacompat.network.ScatterGatherHandler<SenseiRequest,SenseiSystemInfo,SenseiSystemInfo,Integer>
public class SenseiSysScatterGatherHandler
- extends AbstractSenseiScatterGatherHandler<SenseiRequest,SenseiSystemInfo>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SenseiSysScatterGatherHandler
public SenseiSysScatterGatherHandler(SenseiRequest request,
Comparator<String> versionComparator)
customizeRequest
public SenseiRequest customizeRequest(SenseiRequest senseiRequest,
com.linkedin.norbert.javacompat.cluster.Node node,
Set<Integer> partitions)
- Specified by:
customizeRequest
in class AbstractSenseiScatterGatherHandler<SenseiRequest,SenseiSystemInfo>
mergeResults
public SenseiSystemInfo mergeResults(SenseiRequest request,
List<SenseiSystemInfo> resultList)
- Description copied from class:
AbstractSenseiScatterGatherHandler
- Merge results on the client/broker side. It likely works differently from
the one in the search node.
- Specified by:
mergeResults
in class AbstractSenseiScatterGatherHandler<SenseiRequest,SenseiSystemInfo>
resultList
- the list of results from all the requested partitions.
- Returns:
- one single result instance that is merged from the result list.
Copyright © 2010-2012. All Rights Reserved.