Package org.apache.flink.table.jdbc
Class FlinkDriver
- java.lang.Object
-
- org.apache.flink.table.jdbc.FlinkDriver
-
-
Constructor Summary
Constructors Constructor Description FlinkDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsURL(String url)Connectionconnect(String url, Properties driverProperties)intgetMajorVersion()Major version of flink.intgetMinorVersion()Minor version of flink.LoggergetParentLogger()DriverPropertyInfo[]getPropertyInfo(String url, Properties info)booleanjdbcCompliant()
-
-
-
Method Detail
-
connect
public Connection connect(String url, Properties driverProperties) throws SQLException
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
public boolean acceptsURL(String url) throws SQLException
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()
Major version of flink.- Specified by:
getMajorVersionin interfaceDriver- Returns:
- the major version
-
getMinorVersion
public int getMinorVersion()
Minor version of flink.- Specified by:
getMinorVersionin interfaceDriver- Returns:
- the minor version
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
public Logger getParentLogger() throws SQLFeatureNotSupportedException
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-
-