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

Function createMultiTimeseries

example/session_example.go:316–324  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

314}
315
316func createMultiTimeseries() {
317 var (
318 paths = []string{"root.sg1.dev1.temperature"}
319 dataTypes = []client.TSDataType{client.TEXT}
320 encodings = []client.TSEncoding{client.PLAIN}
321 compressors = []client.TSCompressionType{client.SNAPPY}
322 )
323 checkError(session.CreateMultiTimeseries(paths, dataTypes, encodings, compressors))
324}
325
326func deleteTimeseries(paths ...string) {
327 checkError(session.DeleteTimeseries(paths))

Callers 1

mainFunction · 0.70

Calls 2

checkErrorFunction · 0.70
CreateMultiTimeseriesMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…