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

Function setStorageGroup

example/session_pool/session_pool_example.go:147–153  ·  view source on GitHub ↗
(sg string)

Source from the content-addressed store, hash-verified

145}
146
147func setStorageGroup(sg string) {
148 session, err := sessionPool.GetSession()
149 defer sessionPool.PutBack(session)
150 if err == nil {
151 session.SetStorageGroup(sg)
152 }
153}
154
155func deleteStorageGroup(sg string) {
156 session, err := sessionPool.GetSession()

Callers 1

mainFunction · 0.70

Calls 3

PutBackMethod · 0.80
SetStorageGroupMethod · 0.65
GetSessionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…