Interface Query

  • All Known Implementing Classes:
    FindQuery, ShowQuery

    public interface Query
    Root query AST node.
    • Method Detail

      • target

        Target target()
        Returns:
        the kind of entity the query returns
      • scope

        Scope scope()
        Returns:
        the scope restricting what is searched, null when unrestricted
      • condition

        Condition condition()
        Returns:
        the WHERE condition, null when there is none
      • runSpec

        RunSpec runSpec()
        Returns:
        the execution budget and tracing settings, null when the query needs no run
      • limit

        Integer limit()
        Returns:
        the maximum number of results, null when uncapped
      • orderBy

        OrderBy orderBy()
        Returns:
        the result ordering, null when unordered