public final class DuplicateFilteringResultsHandler extends Object implements ResultsHandler
Constructor and Description |
---|
DuplicateFilteringResultsHandler(ResultsHandler handler)
Filter chain for producers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handle(ConnectorObject object)
Call-back method to do whatever it is the caller wants to do with
each
ConnectorObject that is returned in the result of
SearchApiOp . |
boolean |
isStillHandling() |
public DuplicateFilteringResultsHandler(ResultsHandler handler)
producer
- Producer to filter.public boolean handle(ConnectorObject object)
ResultsHandler
ConnectorObject
that is returned in the result of
SearchApiOp
.handle
in interface ResultsHandler
object
- each object return from the search.public boolean isStillHandling()
Copyright © 2013. All Rights Reserved.