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

Function getClusterSessionConfig

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

Source from the content-addressed store, hash-verified

150}
151
152func getClusterSessionConfig(config *PoolConfig) *ClusterConfig {
153 return &ClusterConfig{
154 NodeUrls: config.NodeUrls,
155 UserName: config.UserName,
156 Password: config.Password,
157 FetchSize: config.FetchSize,
158 TimeZone: config.TimeZone,
159 ConnectRetryMax: config.ConnectRetryMax,
160 sqlDialect: config.sqlDialect,
161 Database: config.Database,
162 }
163}
164
165func (spool *SessionPool) PutBack(session Session) {
166 defer func() {

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…