Class KuduCalciteFactory

java.lang.Object
org.apache.calcite.jdbc.CalciteFactory
org.apache.calcite.jdbc.KuduCalciteFactory
All Implemented Interfaces:
org.apache.calcite.avatica.AvaticaFactory

public class KuduCalciteFactory extends org.apache.calcite.jdbc.CalciteFactory
Factory that uses CalciteJdbc41Factory as a delegate so that we can create our own KuduCalciteConnectionImpl that exposes KuduMetaImpl
  • Field Summary

    Fields inherited from class org.apache.calcite.jdbc.CalciteFactory

    major, minor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    KuduCalciteFactory(int major, int minor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.avatica.AvaticaConnection
    newConnection(org.apache.calcite.avatica.UnregisteredDriver driver, org.apache.calcite.avatica.AvaticaFactory factory, String url, Properties info, org.apache.calcite.jdbc.CalciteSchema rootSchema, org.apache.calcite.adapter.java.JavaTypeFactory typeFactory)
     
    org.apache.calcite.avatica.AvaticaSpecificDatabaseMetaData
    newDatabaseMetaData(org.apache.calcite.avatica.AvaticaConnection connection)
     
    org.apache.calcite.avatica.AvaticaPreparedStatement
    newPreparedStatement(org.apache.calcite.avatica.AvaticaConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h, org.apache.calcite.avatica.Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
     
    org.apache.calcite.avatica.AvaticaResultSet
    newResultSet(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.QueryState state, org.apache.calcite.avatica.Meta.Signature signature, TimeZone timeZone, org.apache.calcite.avatica.Meta.Frame firstFrame)
     
    newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.Meta.Signature signature)
     
    org.apache.calcite.avatica.AvaticaStatement
    newStatement(org.apache.calcite.avatica.AvaticaConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
     

    Methods inherited from class org.apache.calcite.jdbc.CalciteFactory

    getJdbcMajorVersion, getJdbcMinorVersion, newConnection

    Methods inherited from class java.lang.Object

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

    • KuduCalciteFactory

      public KuduCalciteFactory()
    • KuduCalciteFactory

      public KuduCalciteFactory(int major, int minor)
  • Method Details

    • newConnection

      public org.apache.calcite.avatica.AvaticaConnection newConnection(org.apache.calcite.avatica.UnregisteredDriver driver, org.apache.calcite.avatica.AvaticaFactory factory, String url, Properties info, org.apache.calcite.jdbc.CalciteSchema rootSchema, org.apache.calcite.adapter.java.JavaTypeFactory typeFactory)
      Specified by:
      newConnection in class org.apache.calcite.jdbc.CalciteFactory
    • newStatement

      public org.apache.calcite.avatica.AvaticaStatement newStatement(org.apache.calcite.avatica.AvaticaConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
    • newPreparedStatement

      public org.apache.calcite.avatica.AvaticaPreparedStatement newPreparedStatement(org.apache.calcite.avatica.AvaticaConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h, org.apache.calcite.avatica.Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
      Throws:
      SQLException
    • newResultSet

      public org.apache.calcite.avatica.AvaticaResultSet newResultSet(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.QueryState state, org.apache.calcite.avatica.Meta.Signature signature, TimeZone timeZone, org.apache.calcite.avatica.Meta.Frame firstFrame) throws SQLException
      Throws:
      SQLException
    • newDatabaseMetaData

      public org.apache.calcite.avatica.AvaticaSpecificDatabaseMetaData newDatabaseMetaData(org.apache.calcite.avatica.AvaticaConnection connection)
    • newResultSetMetaData

      public ResultSetMetaData newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.Meta.Signature signature)