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

Method GetDateByTsBlockColumnIndex

client/rpcdataset.go:700–706  ·  view source on GitHub ↗
(tsBlockColumnIndex int32)

Source from the content-addressed store, hash-verified

698}
699
700func (s *IoTDBRpcDataSet) GetDateByTsBlockColumnIndex(tsBlockColumnIndex int32) (time.Time, error) {
701 if value, err := s.getIntByTsBlockColumnIndex(tsBlockColumnIndex); err != nil {
702 return time.Time{}, err
703 } else {
704 return Int32ToDate(value)
705 }
706}
707
708func (s *IoTDBRpcDataSet) getDataTypeByIndex(columnIndex int32) (TSDataType, error) {
709 if index, err := s.getTsBlockColumnIndexForColumnIndex(columnIndex); err != nil {

Callers 2

GetDateByIndexMethod · 0.95
GetDateMethod · 0.95

Calls 2

Int32ToDateFunction · 0.85

Tested by

no test coverage detected