Interface OCommandResultListener

All Known Subinterfaces:
SimpleValueFetchPlanCommandListener
All Known Implementing Classes:
OAbstractCommandResultListener, OAsyncCommandResultListener, OCommandExecutorSQLDelete, OCommandExecutorSQLDeleteEdge, OCommandExecutorSQLDeleteVertex, OCommandExecutorSQLInsert, OCommandExecutorSQLUpdate, OLiveCommandResultListener, OLiveQuery, OLocalLiveResultListener, OSQLSynchQuery, OSyncCommandResultListener

public interface OCommandResultListener
Callback interface called when the command returns results.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    end()
    Called at the end of processing.
     
    boolean
    result(Object iRecord)
    This method is called for each result.
  • Method Details

    • result

      boolean result(Object iRecord)
      This method is called for each result.
      Parameters:
      iRecord - Current record
      Returns:
      True to continue the query, otherwise false
    • end

      void end()
      Called at the end of processing. This is useful to clean-up local attributes.
    • getResult

      Object getResult()