(columnName string)
| 337 | } |
| 338 | |
| 339 | func (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 | |
| 347 | func (s *IoTDBRpcDataSet) getDoubleByTsBlockColumnIndex(tsBlockColumnIndex int32) (float64, error) { |
| 348 | if err := s.checkRecord(); err != nil { |
no test coverage detected