Package io.trino.client
Class ClientSession
java.lang.Object
io.trino.client.ClientSession
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientSession.Builderbuilder()static ClientSession.Builderbuilder(ClientSession clientSession) io.airlift.units.DurationgetPath()getRoles()Returns the map of catalog name -> selected rolegetUser()booleanbooleanisDebug()static ClientSessionstripTransactionId(ClientSession session) toString()
-
Method Details
-
builder
-
builder
-
stripTransactionId
-
getServer
-
getPrincipal
-
getUser
-
getAuthorizationUser
-
getSource
-
getTraceToken
-
getClientTags
-
getClientInfo
-
getCatalog
-
getSchema
-
getPath
-
getTimeZone
-
getLocale
-
getResourceEstimates
-
getProperties
-
getPreparedStatements
-
getRoles
Returns the map of catalog name -> selected role -
getExtraCredentials
-
getTransactionId
-
isDebug
public boolean isDebug() -
getClientRequestTimeout
public io.airlift.units.Duration getClientRequestTimeout() -
isCompressionDisabled
public boolean isCompressionDisabled() -
toString
-