Class OLocalLiveResultListener
java.lang.Object
com.orientechnologies.orient.core.sql.query.OLocalLiveResultListener
- All Implemented Interfaces:
OCommandResultListener,OLiveResultListener
public class OLocalLiveResultListener
extends Object
implements OLiveResultListener, OCommandResultListener
Created by luigidellaquila on 23/03/15.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidend()Called at the end of processing.voidonError(int iLiveToken) voidonLiveResult(int iLiveToken, ORecordOperation iOp) voidonUnsubscribe(int iLiveToken) booleanThis method is called for each result.
-
Constructor Details
-
OLocalLiveResultListener
-
-
Method Details
-
result
Description copied from interface:OCommandResultListenerThis method is called for each result.- Specified by:
resultin interfaceOCommandResultListener- Parameters:
iRecord- Current record- Returns:
- True to continue the query, otherwise false
-
end
public void end()Description copied from interface:OCommandResultListenerCalled at the end of processing. This is useful to clean-up local attributes.- Specified by:
endin interfaceOCommandResultListener
-
getResult
- Specified by:
getResultin interfaceOCommandResultListener
-
onLiveResult
- Specified by:
onLiveResultin interfaceOLiveResultListener- Throws:
OException
-
onError
public void onError(int iLiveToken) - Specified by:
onErrorin interfaceOLiveResultListener
-
onUnsubscribe
public void onUnsubscribe(int iLiveToken) - Specified by:
onUnsubscribein interfaceOLiveResultListener
-