Package io.trino.server
Interface SessionContext
-
- All Known Implementing Classes:
HttpRequestSessionContext
public interface SessionContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Identity>getAuthenticatedIdentity()StringgetCatalog()Map<String,Map<String,String>>getCatalogSessionProperties()Set<String>getClientCapabilities()StringgetClientInfo()Set<String>getClientTags()IdentitygetIdentity()StringgetLanguage()StringgetPath()Map<String,String>getPreparedStatements()ProtocolHeadersgetProtocolHeaders()StringgetRemoteUserAddress()ResourceEstimatesgetResourceEstimates()StringgetSchema()StringgetSource()Map<String,String>getSystemProperties()StringgetTimeZoneId()Optional<String>getTraceToken()Optional<TransactionId>getTransactionId()StringgetUserAgent()booleansupportClientTransaction()
-
-
-
Method Detail
-
getProtocolHeaders
ProtocolHeaders getProtocolHeaders()
-
getIdentity
Identity getIdentity()
-
getCatalog
@Nullable String getCatalog()
-
getSchema
@Nullable String getSchema()
-
getPath
@Nullable String getPath()
-
getSource
@Nullable String getSource()
-
getRemoteUserAddress
String getRemoteUserAddress()
-
getUserAgent
@Nullable String getUserAgent()
-
getClientInfo
@Nullable String getClientInfo()
-
getResourceEstimates
ResourceEstimates getResourceEstimates()
-
getTimeZoneId
@Nullable String getTimeZoneId()
-
getLanguage
@Nullable String getLanguage()
-
getTransactionId
Optional<TransactionId> getTransactionId()
-
supportClientTransaction
boolean supportClientTransaction()
-
-