java.lang.Object
eu.europa.esig.dss.spi.client.jdbc.query.SqlQuery
Direct Known Subclasses:
SqlSelectQuery

public class SqlQuery extends Object
Represents a stateless query to be made to an SQL database
  • Constructor Details

    • SqlQuery

      protected SqlQuery(String queryString)
      Default constructor
      Parameters:
      queryString - String
  • Method Details

    • createQuery

      public static SqlQuery createQuery(String queryString)
      This method creates a SqlQuery with the given query string
      Parameters:
      queryString - String of the SQL query
      Returns:
      SqlQuery
    • getQueryString

      public String getQueryString()
      Returns the query String
      Returns:
      String
    • toString

      public String toString()
      Overrides:
      toString in class Object