Class H2QueryRunner

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class H2QueryRunner
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      H2QueryRunner()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      io.prestosql.testing.MaterializedResult execute​(io.prestosql.Session session, java.lang.String sql, java.util.List<? extends io.prestosql.spi.type.Type> resultTypes)  
      • Methods inherited from class java.lang.Object

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

      • H2QueryRunner

        public H2QueryRunner()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • execute

        public io.prestosql.testing.MaterializedResult execute​(io.prestosql.Session session,
                                                               java.lang.String sql,
                                                               java.util.List<? extends io.prestosql.spi.type.Type> resultTypes)