Package io.trino.jdbc
Class TrinoDriverUri
java.lang.Object
io.trino.jdbc.TrinoDriverUri
Parses and extracts parameters from a Trino JDBC URL.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanacceptsURL(String url) static TrinoDriverUricreate(String url, Properties properties) getRoles()getUser()booleanbooleanbooleanvoidsetupClient(okhttp3.OkHttpClient.Builder builder)
-
Method Details
-
create
- Throws:
SQLException
-
acceptsURL
-
getJdbcUri
-
getSchema
-
getCatalog
-
getHttpUri
-
getRequiredUser
- Throws:
SQLException
-
getUser
- Throws:
SQLException
-
getSessionUser
- Throws:
SQLException
-
getRoles
- Throws:
SQLException
-
getApplicationNamePrefix
- Throws:
SQLException
-
getProperties
-
getExtraCredentials
- Throws:
SQLException
-
getClientInfo
- Throws:
SQLException
-
getClientTags
- Throws:
SQLException
-
getTraceToken
- Throws:
SQLException
-
getSessionProperties
- Throws:
SQLException
-
getSource
- Throws:
SQLException
-
isCompressionDisabled
- Throws:
SQLException
-
isAssumeLiteralNamesInMetadataCallsForNonConformingClients
- Throws:
SQLException
-
isAssumeLiteralUnderscoreInMetadataCallsForNonConformingClients
public boolean isAssumeLiteralUnderscoreInMetadataCallsForNonConformingClients() throws SQLException- Throws:
SQLException
-
setupClient
- Throws:
SQLException
-