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

Function executeRawDataQuery

example/session_example.go:611–625  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

609}
610
611func executeRawDataQuery() {
612 session.ExecuteNonQueryStatement("insert into root.ln.wf02.wt02(time,s5) values(1,true)")
613 var (
614 paths = []string{"root.ln.wf02.wt02.s5"}
615 startTime int64 = 1
616 endTime int64 = 200
617 )
618 sessionDataSet, err := session.ExecuteRawDataQuery(paths, startTime, endTime)
619 if err == nil {
620 printDataSet2(sessionDataSet)
621 sessionDataSet.Close()
622 } else {
623 log.Println(err)
624 }
625}
626
627func executeBatchStatement() {
628 var sqls = []string{"insert into root.ln.wf02.wt02(time,s5) values(1,true)",

Callers 1

mainFunction · 0.70

Calls 4

printDataSet2Function · 0.70
ExecuteRawDataQueryMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…