Package io.trino.server
Class QuerySessionSupplier
java.lang.Object
io.trino.server.QuerySessionSupplier
- All Implemented Interfaces:
SessionSupplier
-
Constructor Summary
ConstructorsConstructorDescriptionQuerySessionSupplier(Metadata metadata, AccessControl accessControl, SessionPropertyManager sessionPropertyManager, SqlEnvironmentConfig config) -
Method Summary
Modifier and TypeMethodDescriptioncreateSession(QueryId queryId, io.opentelemetry.api.trace.Span querySpan, SessionContext context)
-
Constructor Details
-
QuerySessionSupplier
@Inject public QuerySessionSupplier(Metadata metadata, AccessControl accessControl, SessionPropertyManager sessionPropertyManager, SqlEnvironmentConfig config)
-
-
Method Details
-
createSession
public Session createSession(QueryId queryId, io.opentelemetry.api.trace.Span querySpan, SessionContext context) - Specified by:
createSessionin interfaceSessionSupplier
-