public class SessionContext extends Object
Executor
will maintain the session
context map util users close it.Modifier and Type | Class and Description |
---|---|
static class |
SessionContext.SessionState
session state.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close resources, e.g.
|
static SessionContext |
create(DefaultContext defaultContext,
SessionHandle sessionId,
SessionEnvironment environment,
ExecutorService operationExecutorService) |
OperationExecutor |
createOperationExecutor(Configuration executionConfig) |
TableEnvironmentInternal |
createTableEnvironment() |
Map<String,String> |
getConfigMap() |
EndpointVersion |
getEndpointVersion() |
OperationManager |
getOperationManager() |
SessionHandle |
getSessionId() |
SessionContext.SessionState |
getSessionState() |
void |
reset() |
void |
reset(String key) |
void |
set(String key,
String value) |
public SessionHandle getSessionId()
public OperationManager getOperationManager()
public EndpointVersion getEndpointVersion()
public SessionContext.SessionState getSessionState()
public void reset(String key)
public void reset()
public OperationExecutor createOperationExecutor(Configuration executionConfig)
public void close()
public static SessionContext create(DefaultContext defaultContext, SessionHandle sessionId, SessionEnvironment environment, ExecutorService operationExecutorService)
public TableEnvironmentInternal createTableEnvironment()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.