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

Function NewSessionPool

client/sessionpool.go:56–59  ·  view source on GitHub ↗
(conf *PoolConfig, maxSize, connectionTimeoutInMs, waitToGetSessionTimeoutInMs int,
	enableCompression bool)

Source from the content-addressed store, hash-verified

54}
55
56func NewSessionPool(conf *PoolConfig, maxSize, connectionTimeoutInMs, waitToGetSessionTimeoutInMs int,
57 enableCompression bool) SessionPool {
58 return newSessionPoolWithSqlDialect(conf, maxSize, connectionTimeoutInMs, waitToGetSessionTimeoutInMs, enableCompression, TreeSqlDialect)
59}
60
61func newSessionPoolWithSqlDialect(conf *PoolConfig, maxSize, connectionTimeoutInMs, waitToGetSessionTimeoutInMs int,
62 enableCompression bool, sqlDialect string) SessionPool {

Callers 2

mainFunction · 0.92
useNodeUrlsFunction · 0.92

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…