Class NonRegisteringTrinoDriver
java.lang.Object
io.trino.jdbc.NonRegisteringTrinoDriver
- All Implemented Interfaces:
Closeable,AutoCloseable,Driver
- Direct Known Subclasses:
TracingTrinoDriver,TrinoDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) voidclose()connect(String url, Properties info) intintgetPropertyInfo(String url, Properties info) booleanprotected okhttp3.Call.FactorywrapClient(okhttp3.OkHttpClient client)
-
Constructor Details
-
NonRegisteringTrinoDriver
protected NonRegisteringTrinoDriver()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
wrapClient
protected okhttp3.Call.Factory wrapClient(okhttp3.OkHttpClient client) -
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-