Package org.apache.calcite.jdbc
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 usesCalciteJdbc41Factory
as a delegate so that we can create our ownKuduCalciteConnectionImpl
that exposesKuduMetaImpl
-
-
Constructor Summary
Constructors Constructor Description KuduCalciteFactory()
KuduCalciteFactory(int major, int minor)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
ResultSetMetaData
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)
-
-
-
Method Detail
-
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 classorg.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)
-
-