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

Function newSessionWithSpecifiedSqlDialect

client/session.go:1303–1312  ·  view source on GitHub ↗
(config *Config)

Source from the content-addressed store, hash-verified

1301}
1302
1303func newSessionWithSpecifiedSqlDialect(config *Config) Session {
1304 endPointList := []endPoint{{
1305 Host: config.Host,
1306 Port: config.Port,
1307 }}
1308 return Session{
1309 config: config,
1310 endPointList: endPointList,
1311 }
1312}
1313
1314func NewClusterSession(clusterConfig *ClusterConfig) (Session, error) {
1315 clusterConfig.sqlDialect = TreeSqlDialect

Callers 3

NewTableSessionFunction · 0.85
ConstructSessionMethod · 0.85
NewSessionFunction · 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…