Class Session
java.lang.Object
org.apache.flink.table.gateway.service.session.Session
- All Implemented Interfaces:
Closeable,AutoCloseable
Similar to HTTP Session, which could maintain user identity and store user-specific data during
multiple request/response interactions between a client and the gateway server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createExecutor(org.apache.flink.configuration.Configuration executionConfig) org.apache.flink.table.gateway.api.endpoint.EndpointVersionlongorg.apache.flink.table.api.internal.PlanCacheManagerorg.apache.flink.table.gateway.api.session.SessionHandlevoidopen()voidtouch()
-
Constructor Details
-
Session
-
-
Method Details
-
touch
public void touch() -
getLastAccessTime
public long getLastAccessTime() -
getSessionHandle
public org.apache.flink.table.gateway.api.session.SessionHandle getSessionHandle() -
getSessionConfig
-
getEndpointVersion
public org.apache.flink.table.gateway.api.endpoint.EndpointVersion getEndpointVersion() -
getOperationManager
-
createExecutor
-
createExecutor
public OperationExecutor createExecutor(org.apache.flink.configuration.Configuration executionConfig) -
getPlanCacheManager
@Nullable public org.apache.flink.table.api.internal.PlanCacheManager getPlanCacheManager() -
open
public void open() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-