public class OLocalLiveResultListener extends Object implements OLiveResultListener, OCommandResultListener
Modifier | Constructor and Description |
---|---|
protected |
OLocalLiveResultListener(OLiveResultListener underlying) |
Modifier and Type | Method and Description |
---|---|
void |
end()
Called at the end of processing.
|
Object |
getResult() |
void |
onError(int iLiveToken) |
void |
onLiveResult(int iLiveToken,
ORecordOperation iOp) |
void |
onUnsubscribe(int iLiveToken) |
boolean |
result(Object iRecord)
This method is called for each result.
|
protected OLocalLiveResultListener(OLiveResultListener underlying)
public boolean result(Object iRecord)
OCommandResultListener
result
in interface OCommandResultListener
iRecord
- Current recordpublic void end()
OCommandResultListener
end
in interface OCommandResultListener
public Object getResult()
getResult
in interface OCommandResultListener
public void onLiveResult(int iLiveToken, ORecordOperation iOp) throws OException
onLiveResult
in interface OLiveResultListener
OException
public void onError(int iLiveToken)
onError
in interface OLiveResultListener
public void onUnsubscribe(int iLiveToken)
onUnsubscribe
in interface OLiveResultListener
Copyright © 2009–2020 OrientDB. All rights reserved.