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

public class OAsyncCommandResultListener extends OAbstractCommandResultListener
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)
  • Constructor Details

  • Method Details

    • result

      public boolean result(Object iRecord)
      Description copied from interface: OCommandResultListener
      This method is called for each result.
      Parameters:
      iRecord - Current record
      Returns:
      True to continue the query, otherwise false
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in class OAbstractCommandResultListener
    • linkdedBySimpleValue

      public void linkdedBySimpleValue(ODocument doc)