Class SQLQueryExecutor


  • public class SQLQueryExecutor
    extends java.lang.Object
    An object used to execute SQL queries against a given DatabaseConnection object. The object maintains an SQL parser object as state which is reused as necessary.

    This object is a convenient way to execute SQL queries.

    Author:
    Tobias Downer
    • Constructor Summary

      Constructors 
      Constructor Description
      SQLQueryExecutor()
      Constructs the executor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Table execute​(DatabaseConnection connection, SQLQuery query)
      Executes the given SQLQuery object on the given DatabaseConnection object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SQLQueryExecutor

        public SQLQueryExecutor()
        Constructs the executor.