public class JdbcDriver
extends org.apache.calcite.jdbc.Driver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECT_STRING_PREFIX |
static JdbcDriver |
INSTANCE |
Constructor and Description |
---|
JdbcDriver() |
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info) |
protected java.lang.String |
getConnectStringPrefix() |
static org.apache.calcite.schema.SchemaPlus |
getDefaultSchema(org.apache.calcite.jdbc.CalciteConnection connection) |
createDriverVersion, createHandler, createMeta, createPrepareFactory, getConnectionProperties, getFactoryClassName
public static final JdbcDriver INSTANCE
public static final java.lang.String CONNECT_STRING_PREFIX
protected java.lang.String getConnectStringPrefix()
getConnectStringPrefix
in class org.apache.calcite.jdbc.Driver
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
connect
in interface java.sql.Driver
connect
in class org.apache.calcite.avatica.UnregisteredDriver
java.sql.SQLException
public static org.apache.calcite.schema.SchemaPlus getDefaultSchema(org.apache.calcite.jdbc.CalciteConnection connection)