Class Driver
java.lang.Object
org.apache.calcite.avatica.UnregisteredDriver
org.apache.calcite.avatica.remote.Driver
- All Implemented Interfaces:
Driver
Avatica Remote JDBC driver.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines the method of message serialization used by the DriverNested classes/interfaces inherited from class org.apache.calcite.avatica.UnregisteredDriver
UnregisteredDriver.JdbcVersion -
Field Summary
FieldsFields inherited from class org.apache.calcite.avatica.UnregisteredDriver
factory, handler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect(String url, Properties info) protected DriverVersionCreates an object describing the name and version of this driver.createMeta(AvaticaConnection connection) Creates a service handler that will give connections from this Driver their behavior.protected Collection<ConnectionProperty>Returns the connection properties supported by this driver.protected StringReturns the prefix of the connect string that this driver will recognize as its own.Methods inherited from class org.apache.calcite.avatica.UnregisteredDriver
acceptsURL, createFactory, createHandler, getDriverVersion, getFactoryClassName, getMajorVersion, getMinorVersion, getParentLogger, getPropertyInfo, instantiateFactory, jdbcCompliant, register
-
Field Details
-
CONNECT_STRING_PREFIX
- See Also:
-
-
Constructor Details
-
Driver
public Driver()
-
-
Method Details
-
getConnectStringPrefix
Description copied from class:UnregisteredDriverReturns the prefix of the connect string that this driver will recognize as its own. For example, "jdbc:calcite:".- Specified by:
getConnectStringPrefixin classUnregisteredDriver
-
createDriverVersion
Description copied from class:UnregisteredDriverCreates an object describing the name and version of this driver. Called from the driver constructor.- Specified by:
createDriverVersionin classUnregisteredDriver
-
getConnectionProperties
Description copied from class:UnregisteredDriverReturns the connection properties supported by this driver.- Overrides:
getConnectionPropertiesin classUnregisteredDriver
-
createMeta
Description copied from class:UnregisteredDriverCreates a service handler that will give connections from this Driver their behavior.- Specified by:
createMetain classUnregisteredDriver
-
connect
- Specified by:
connectin interfaceDriver- Overrides:
connectin classUnregisteredDriver- Throws:
SQLException
-