Package io.prestosql.server
Class QuerySessionSupplier
- java.lang.Object
-
- io.prestosql.server.QuerySessionSupplier
-
- All Implemented Interfaces:
SessionSupplier
@ThreadSafe public class QuerySessionSupplier extends Object implements SessionSupplier
-
-
Constructor Summary
Constructors Constructor Description QuerySessionSupplier(TransactionManager transactionManager, AccessControl accessControl, SessionPropertyManager sessionPropertyManager, SqlEnvironmentConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
createSession(QueryId queryId, SessionContext context)
-
-
-
Constructor Detail
-
QuerySessionSupplier
@Inject public QuerySessionSupplier(TransactionManager transactionManager, AccessControl accessControl, SessionPropertyManager sessionPropertyManager, SqlEnvironmentConfig config)
-
-
Method Detail
-
createSession
public Session createSession(QueryId queryId, SessionContext context)
- Specified by:
createSession
in interfaceSessionSupplier
-
-