public abstract class CalciteFactory extends Object implements AvaticaFactory
AvaticaFactory
for Calcite.| Modifier and Type | Field and Description |
|---|---|
protected int |
major |
protected int |
minor |
| Modifier | Constructor and Description |
|---|---|
protected |
CalciteFactory(int major,
int minor)
Creates a JDBC factory with given major/minor version number.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getJdbcMajorVersion() |
int |
getJdbcMinorVersion() |
AvaticaConnection |
newConnection(UnregisteredDriver driver,
AvaticaFactory factory,
String url,
Properties info) |
abstract AvaticaConnection |
newConnection(UnregisteredDriver driver,
AvaticaFactory factory,
String url,
Properties info,
CalciteRootSchema rootSchema,
JavaTypeFactory typeFactory)
Creates a connection with a root schema.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewDatabaseMetaData, newPreparedStatement, newResultSet, newResultSetMetaData, newStatementprotected CalciteFactory(int major,
int minor)
public int getJdbcMajorVersion()
getJdbcMajorVersion in interface AvaticaFactorypublic int getJdbcMinorVersion()
getJdbcMinorVersion in interface AvaticaFactorypublic final AvaticaConnection newConnection(UnregisteredDriver driver, AvaticaFactory factory, String url, Properties info)
newConnection in interface AvaticaFactorypublic abstract AvaticaConnection newConnection(UnregisteredDriver driver, AvaticaFactory factory, String url, Properties info, CalciteRootSchema rootSchema, JavaTypeFactory typeFactory)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.