MCPcopy Index your code
hub / github.com/apache/iotdb-client-go / constructOneTsBlock

Method constructOneTsBlock

client/rpcdataset.go:268–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266}
267
268func (s *IoTDBRpcDataSet) constructOneTsBlock() (err error) {
269 s.lastReadWasNull = false
270 curTsBlockBytes := s.queryResult[s.queryResultIndex]
271 s.queryResultIndex = s.queryResultIndex + 1
272 s.curTsBlock, err = DeserializeTsBlock(curTsBlockBytes)
273 if err != nil {
274 return err
275 }
276 s.tsBlockIndex = -1
277 s.tsBlockSize = s.curTsBlock.GetPositionCount()
278 return nil
279}
280
281func (s *IoTDBRpcDataSet) isNullByIndex(columnIndex int32) (bool, error) {
282 if index, err := s.getTsBlockColumnIndexForColumnIndex(columnIndex); err != nil {

Callers 1

NextMethod · 0.95

Calls 2

DeserializeTsBlockFunction · 0.85
GetPositionCountMethod · 0.65

Tested by

no test coverage detected