Class OAsyncCommandResultListener
java.lang.Object
com.orientechnologies.orient.server.network.protocol.binary.OAbstractCommandResultListener
com.orientechnologies.orient.server.network.protocol.binary.OAsyncCommandResultListener
- All Implemented Interfaces:
SimpleValueFetchPlanCommandListener,OCommandResultListener
Asynchronous command result manager. As soon as a record is returned by the command is sent over
the wire.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.server.network.protocol.binary.OAbstractCommandResultListener
wrappedResultListener -
Constructor Summary
ConstructorsConstructorDescriptionOAsyncCommandResultListener(OClientConnection connection, OCommandResultListener wrappedResultListener) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()voidbooleanThis method is called for each result.Methods inherited from class com.orientechnologies.orient.server.network.protocol.binary.OAbstractCommandResultListener
end, fetchRecord, getResult, setFetchPlan
-
Constructor Details
-
OAsyncCommandResultListener
public OAsyncCommandResultListener(OClientConnection connection, OCommandResultListener wrappedResultListener)
-
-
Method Details
-
result
Description copied from interface:OCommandResultListenerThis method is called for each result.- Parameters:
iRecord- Current record- Returns:
- True to continue the query, otherwise false
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classOAbstractCommandResultListener
-
linkdedBySimpleValue
-