Package io.prestosql.spi.connector
Interface ConnectorSession
-
public interface ConnectorSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description ConnectorIdentity
getIdentity()
Locale
getLocale()
<T> T
getProperty(String name, Class<T> type)
String
getQueryId()
Optional<String>
getSource()
Instant
getStart()
default long
getStartTime()
Deprecated.usegetStart()
insteadTimeZoneKey
getTimeZoneKey()
Optional<String>
getTraceToken()
default String
getUser()
-
-
-
Method Detail
-
getQueryId
String getQueryId()
-
getUser
default String getUser()
-
getIdentity
ConnectorIdentity getIdentity()
-
getTimeZoneKey
TimeZoneKey getTimeZoneKey()
-
getLocale
Locale getLocale()
-
getStartTime
@Deprecated default long getStartTime()
Deprecated.usegetStart()
instead
-
getStart
Instant getStart()
-
-