Class KuduCalciteConnectionImpl

  • All Implemented Interfaces:
    AutoCloseable, Connection, Wrapper, org.apache.calcite.jdbc.CalciteConnection, org.apache.calcite.linq4j.QueryProvider

    public class KuduCalciteConnectionImpl
    extends org.apache.calcite.avatica.AvaticaConnection
    • Field Detail

      • typeFactory

        public final org.apache.calcite.adapter.java.JavaTypeFactory typeFactory
    • Constructor Detail

      • KuduCalciteConnectionImpl

        protected KuduCalciteConnectionImpl​(org.apache.calcite.jdbc.Driver driver,
                                            org.apache.calcite.avatica.AvaticaFactory factory,
                                            String url,
                                            Properties info,
                                            org.apache.calcite.jdbc.CalciteSchema rootSchema,
                                            org.apache.calcite.adapter.java.JavaTypeFactory typeFactory)
    • Method Detail

      • config

        public org.apache.calcite.config.CalciteConnectionConfig config()
        Specified by:
        config in interface org.apache.calcite.jdbc.CalciteConnection
        Overrides:
        config in class org.apache.calcite.avatica.AvaticaConnection
      • createPrepareContext

        public org.apache.calcite.jdbc.CalcitePrepare.Context createPrepareContext()
        Specified by:
        createPrepareContext in interface org.apache.calcite.jdbc.CalciteConnection
      • createStatement

        public org.apache.calcite.jdbc.CalciteStatement createStatement​(int arg0,
                                                                        int arg1,
                                                                        int arg2)
                                                                 throws SQLException
        Specified by:
        createStatement in interface Connection
        Overrides:
        createStatement in class org.apache.calcite.avatica.AvaticaConnection
        Throws:
        SQLException
      • prepareStatement

        public org.apache.calcite.jdbc.CalcitePreparedStatement prepareStatement​(String arg0,
                                                                                 int arg1,
                                                                                 int arg2,
                                                                                 int arg3)
                                                                          throws SQLException
        Specified by:
        prepareStatement in interface Connection
        Overrides:
        prepareStatement in class org.apache.calcite.avatica.AvaticaConnection
        Throws:
        SQLException
      • getCancelFlag

        public AtomicBoolean getCancelFlag​(org.apache.calcite.avatica.Meta.StatementHandle arg0)
                                    throws org.apache.calcite.avatica.NoSuchStatementException
        Overrides:
        getCancelFlag in class org.apache.calcite.avatica.AvaticaConnection
        Throws:
        org.apache.calcite.avatica.NoSuchStatementException
      • getRootSchema

        public org.apache.calcite.schema.SchemaPlus getRootSchema()
        Specified by:
        getRootSchema in interface org.apache.calcite.jdbc.CalciteConnection
      • getTypeFactory

        public org.apache.calcite.adapter.java.JavaTypeFactory getTypeFactory()
        Specified by:
        getTypeFactory in interface org.apache.calcite.jdbc.CalciteConnection
      • getProperties

        public Properties getProperties()
        Specified by:
        getProperties in interface org.apache.calcite.jdbc.CalciteConnection
      • createQuery

        public <T extends Object> org.apache.calcite.linq4j.Queryable<T> createQuery​(org.apache.calcite.linq4j.tree.Expression arg0,
                                                                                     Class<T> arg1)
        Specified by:
        createQuery in interface org.apache.calcite.linq4j.QueryProvider
      • createQuery

        public <T extends Object> org.apache.calcite.linq4j.Queryable<T> createQuery​(org.apache.calcite.linq4j.tree.Expression arg0,
                                                                                     Type arg1)
        Specified by:
        createQuery in interface org.apache.calcite.linq4j.QueryProvider
      • execute

        public <T extends Object> T execute​(org.apache.calcite.linq4j.tree.Expression arg0,
                                            Type arg1)
        Specified by:
        execute in interface org.apache.calcite.linq4j.QueryProvider
      • execute

        public <T extends Object> T execute​(org.apache.calcite.linq4j.tree.Expression arg0,
                                            Class<T> arg1)
        Specified by:
        execute in interface org.apache.calcite.linq4j.QueryProvider
      • executeQuery

        public <T extends Object> org.apache.calcite.linq4j.Enumerator<T> executeQuery​(org.apache.calcite.linq4j.Queryable<T> arg0)
        Specified by:
        executeQuery in interface org.apache.calcite.linq4j.QueryProvider
      • enumerable

        public <T extends Object> org.apache.calcite.linq4j.Enumerable<T> enumerable​(org.apache.calcite.avatica.Meta.StatementHandle arg0,
                                                                                     org.apache.calcite.jdbc.CalcitePrepare.CalciteSignature<T> arg1,
                                                                                     List<org.apache.calcite.avatica.remote.TypedValue> arg2)
                                                                              throws SQLException
        Throws:
        SQLException
      • createDataContext

        public org.apache.calcite.DataContext createDataContext​(Map<String,​Object> arg0,
                                                                org.apache.calcite.jdbc.CalciteSchema arg1)