(tsBlockColumnIndex int32)
| 481 | } |
| 482 | |
| 483 | func (s *IoTDBRpcDataSet) getBinaryByTsBlockColumnIndex(tsBlockColumnIndex int32) (*Binary, error) { |
| 484 | if err := s.checkRecord(); err != nil { |
| 485 | return nil, err |
| 486 | } |
| 487 | if !s.isNull(tsBlockColumnIndex, s.tsBlockIndex) { |
| 488 | s.lastReadWasNull = false |
| 489 | return s.curTsBlock.GetColumn(tsBlockColumnIndex).GetBinary(s.tsBlockIndex) |
| 490 | } else { |
| 491 | s.lastReadWasNull = true |
| 492 | return nil, nil |
| 493 | } |
| 494 | } |
| 495 | |
| 496 | func (s *IoTDBRpcDataSet) getObjectByIndex(columnIndex int32) (interface{}, error) { |
| 497 | if index, err := s.getTsBlockColumnIndexForColumnIndex(columnIndex); err != nil { |
no test coverage detected