Class CalciteStatement

java.lang.Object
org.apache.calcite.avatica.AvaticaStatement
org.apache.calcite.jdbc.CalciteStatement
All Implemented Interfaces:
AutoCloseable, Statement, Wrapper

public abstract class CalciteStatement extends org.apache.calcite.avatica.AvaticaStatement
Implementation of Statement for the Calcite engine.
  • Method Details

    • unwrap

      public <T> T unwrap(Class<T> iface) throws SQLException
      Specified by:
      unwrap in interface Wrapper
      Overrides:
      unwrap in class org.apache.calcite.avatica.AvaticaStatement
      Throws:
      SQLException
    • getConnection

      public org.apache.calcite.jdbc.CalciteConnectionImpl getConnection()
      Specified by:
      getConnection in interface Statement
      Overrides:
      getConnection in class org.apache.calcite.avatica.AvaticaStatement
    • prepare

      protected <T> CalcitePrepare.CalciteSignature<T> prepare(Queryable<T> queryable)
    • close_

      protected void close_()
      Overrides:
      close_ in class org.apache.calcite.avatica.AvaticaStatement