public interface ResultsHandler
Search
, but may be used
by other operations in the future.Modifier and Type | Method and Description |
---|---|
boolean |
handle(ConnectorObject obj)
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 handle(ConnectorObject obj)
ConnectorObject
that is returned in the result of
SearchApiOp
.obj
- each object return from the search.RuntimeException
- the implementor should throw a RuntimeException
that wraps any native exception (or that describes any other problem
during execution) that is serious enough to stop the iteration.Copyright © 2013. All Rights Reserved.