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

Function createTimeseries

example/session_pool/session_pool_example.go:171–182  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

169}
170
171func createTimeseries(path string) {
172 var (
173 dataType = client.FLOAT
174 encoding = client.PLAIN
175 compressor = client.SNAPPY
176 )
177 session, err := sessionPool.GetSession()
178 defer sessionPool.PutBack(session)
179 if err == nil {
180 checkError(session.CreateTimeseries(path, dataType, encoding, compressor, nil, nil))
181 }
182}
183
184func createAlignedTimeseries(prefixPath string, measurements, measurementAlias []string) {
185 var (

Callers 1

mainFunction · 0.70

Calls 4

PutBackMethod · 0.80
checkErrorFunction · 0.70
CreateTimeseriesMethod · 0.65
GetSessionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…