MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / getSessionConfig

Function getSessionConfig

client/sessionpool.go:138–150  ·  view source on GitHub ↗
(config *PoolConfig)

Source from the content-addressed store, hash-verified

136}
137
138func getSessionConfig(config *PoolConfig) *Config {
139 return &Config{
140 Host: config.Host,
141 Port: config.Port,
142 UserName: config.UserName,
143 Password: config.Password,
144 FetchSize: config.FetchSize,
145 TimeZone: config.TimeZone,
146 ConnectRetryMax: config.ConnectRetryMax,
147 sqlDialect: config.sqlDialect,
148 Database: config.Database,
149 }
150}
151
152func getClusterSessionConfig(config *PoolConfig) *ClusterConfig {
153 return &ClusterConfig{

Callers 1

ConstructSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…