Interface OQuery<T>

All Superinterfaces:
OCommandRequest
All Known Implementing Classes:
OLiveQuery, OQueryAbstract, OSQLAsynchQuery, OSQLNonBlockingQuery, OSQLQuery, OSQLSynchQuery

public interface OQuery<T> extends OCommandRequest
  • Method Details

    • run

      List<T> run(Object... iArgs)
      Executes the query without limit about the result set. The limit will be bound to the maximum allowed.
      Returns:
      List of records if any record matches the query constraints, otherwise an empty List.
    • runFirst

      T runFirst(Object... iArgs)
      Returns the first occurrence found if any
      Returns:
      Record if found, otherwise null
    • reset

      void reset()