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

Method getDouble

client/rpcdataset.go:339–345  ·  view source on GitHub ↗
(columnName string)

Source from the content-addressed store, hash-verified

337}
338
339func (s *IoTDBRpcDataSet) getDouble(columnName string) (float64, error) {
340 if index, err := s.getTsBlockColumnIndexForColumnName(columnName); err != nil {
341 return 0, err
342 } else {
343 return s.getDoubleByTsBlockColumnIndex(index)
344 }
345}
346
347func (s *IoTDBRpcDataSet) getDoubleByTsBlockColumnIndex(tsBlockColumnIndex int32) (float64, error) {
348 if err := s.checkRecord(); err != nil {

Callers 1

GetDoubleMethod · 0.80

Tested by

no test coverage detected