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

Method GetDateByIndex

client/rpcdataset.go:684–690  ·  view source on GitHub ↗
(columnIndex int32)

Source from the content-addressed store, hash-verified

682}
683
684func (s *IoTDBRpcDataSet) GetDateByIndex(columnIndex int32) (time.Time, error) {
685 if index, err := s.getTsBlockColumnIndexForColumnIndex(columnIndex); err != nil {
686 return time.Time{}, err
687 } else {
688 return s.GetDateByTsBlockColumnIndex(index)
689 }
690}
691
692func (s *IoTDBRpcDataSet) GetDate(columnName string) (time.Time, error) {
693 if index, err := s.getTsBlockColumnIndexForColumnName(columnName); err != nil {

Callers 1

Test_QueryAllDataTypeMethod · 0.45

Tested by 1

Test_QueryAllDataTypeMethod · 0.36