Interface QueryFactory

All Known Implementing Classes:
XMLQueryFactory

public interface QueryFactory
A factory interface for the creation of query-related objects. This interface exists to allow for plugins to specify their own implementations for the basic query information used in Phon.
  • Method Details

    • createQuery

      Query createQuery()
      Create a query instance without an attached project. This type of query is used to save a script along with entered parameters.
      Returns:
      a Query instance
    • createQuery

      Query createQuery(Project project)
      Create a Query instance for the specified project.
      Parameters:
      project - the project this query will be created for
      Returns:
      a Query instance
    • createScript

      Script createScript()
      Create a Script instance.
      Returns:
      a Script instance
    • createResultSet

      ResultSet createResultSet()
      Create a ResultSet instance.
      Returns:
      a ResultSet instance
    • createResult

      Result createResult()
      Create a Result instance.
      Returns:
      a Result instance
    • createResultValue

      ResultValue createResultValue()
      Create a ResultValue instance.
      Returns:
      a ResultValue instance