@PublicEvolving public static class SessionEnvironment.Builder extends Object
SessionEnvironment
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SessionEnvironment.Builder |
addSessionConfig(Map<String,String> sessionConfig) |
SessionEnvironment |
build() |
SessionEnvironment.Builder |
registerCatalog(String catalogName,
Catalog catalog) |
SessionEnvironment.Builder |
registerCatalogCreator(String catalogName,
SessionEnvironment.CatalogCreator catalogCreator) |
SessionEnvironment.Builder |
registerModuleAtHead(String moduleName,
Module module) |
SessionEnvironment.Builder |
registerModuleCreatorAtHead(String moduleName,
SessionEnvironment.ModuleCreator moduleCreator) |
SessionEnvironment.Builder |
setDefaultCatalog(String defaultCatalog) |
SessionEnvironment.Builder |
setSessionEndpointVersion(EndpointVersion version) |
SessionEnvironment.Builder |
setSessionName(String sessionName) |
public SessionEnvironment.Builder setSessionName(String sessionName)
public SessionEnvironment.Builder setSessionEndpointVersion(EndpointVersion version)
public SessionEnvironment.Builder addSessionConfig(Map<String,String> sessionConfig)
public SessionEnvironment.Builder setDefaultCatalog(@Nullable String defaultCatalog)
public SessionEnvironment.Builder registerCatalog(String catalogName, Catalog catalog)
public SessionEnvironment.Builder registerCatalogCreator(String catalogName, SessionEnvironment.CatalogCreator catalogCreator)
public SessionEnvironment.Builder registerModuleAtHead(String moduleName, Module module)
public SessionEnvironment.Builder registerModuleCreatorAtHead(String moduleName, SessionEnvironment.ModuleCreator moduleCreator)
public SessionEnvironment build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.