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

Method getTableSession

client/sessionpool.go:107–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107func (spool *SessionPool) getTableSession() (ITableSession, error) {
108 tableSession := PooledTableSession{}
109 session, err := spool.GetSession()
110 if err != nil {
111 return nil, err
112 }
113 tableSession.session = session
114 tableSession.sessionPool = spool
115 return &tableSession, nil
116}
117
118func (spool *SessionPool) ConstructSession(config *PoolConfig) (session Session, err error) {
119 if len(config.NodeUrls) > 0 {

Callers 1

GetSessionMethod · 0.80

Calls 1

GetSessionMethod · 0.95

Tested by

no test coverage detected