Class CalciteJdbc41Factory

  • All Implemented Interfaces:
    org.apache.calcite.avatica.AvaticaFactory

    public class CalciteJdbc41Factory
    extends CalciteFactory
    Implementation of AvaticaFactory for Calcite and JDBC 4.1 (corresponds to JDK 1.7).
    • Constructor Detail

      • CalciteJdbc41Factory

        public CalciteJdbc41Factory()
        Creates a factory for JDBC version 4.1.
      • CalciteJdbc41Factory

        protected CalciteJdbc41Factory​(int major,
                                       int minor)
        Creates a JDBC factory with given major/minor version number.
    • Method Detail

      • newStatement

        public CalciteJdbc41Factory.CalciteJdbc41Statement 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 java.sql.SQLException
        Throws:
        java.sql.SQLException
      • newResultSet

        public CalciteResultSet newResultSet​(org.apache.calcite.avatica.AvaticaStatement statement,
                                             org.apache.calcite.avatica.QueryState state,
                                             org.apache.calcite.avatica.Meta.Signature signature,
                                             java.util.TimeZone timeZone,
                                             org.apache.calcite.avatica.Meta.Frame firstFrame)
                                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • newResultSetMetaData

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