Interface QueryExecutor

  • All Known Subinterfaces:
    QueryExecutorManager

    @Role
    public interface QueryExecutor
    Execute a query for a given language (one implementation per language).
    Since:
    1.6M1
    Version:
    $Id: 1cbb587650fbe051c82346bf61ba452da6f840c4 $
    See Also:
    Query
    • Method Detail

      • execute

        <T> List<T> execute​(Query query)
                     throws QueryException
        Type Parameters:
        T - expected type of elements in the result list
        Parameters:
        query - query to execute
        Returns:
        result list of the query
        Throws:
        QueryException - if something goes wrong
        See Also:
        Query.execute()