Class OAbstractCommandResultListener
java.lang.Object
com.orientechnologies.orient.server.network.protocol.binary.OAbstractCommandResultListener
- All Implemented Interfaces:
SimpleValueFetchPlanCommandListener,OCommandResultListener
- Direct Known Subclasses:
OAsyncCommandResultListener,OLiveCommandResultListener,OSyncCommandResultListener
public abstract class OAbstractCommandResultListener
extends Object
implements SimpleValueFetchPlanCommandListener
Abstract class to manage command results.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOAbstractCommandResultListener(OCommandResultListener wrappedResultListener) -
Method Summary
Modifier and TypeMethodDescriptionvoidend()Called at the end of processing.protected voidfetchRecord(Object iRecord, OFetchListener iFetchListener) abstract booleanisEmpty()voidsetFetchPlan(String iText) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.command.OCommandResultListener
resultMethods inherited from interface com.orientechnologies.orient.client.remote.SimpleValueFetchPlanCommandListener
linkdedBySimpleValue
-
Field Details
-
wrappedResultListener
-
-
Constructor Details
-
OAbstractCommandResultListener
-
-
Method Details
-
isEmpty
public abstract boolean isEmpty() -
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
-
setFetchPlan
-
fetchRecord
-
getResult
- Specified by:
getResultin interfaceOCommandResultListener
-