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

Method GetDate

client/rpcdataset.go:692–698  ·  view source on GitHub ↗
(columnName string)

Source from the content-addressed store, hash-verified

690}
691
692func (s *IoTDBRpcDataSet) GetDate(columnName string) (time.Time, error) {
693 if index, err := s.getTsBlockColumnIndexForColumnName(columnName); err != nil {
694 return time.Time{}, err
695 } else {
696 return s.GetDateByTsBlockColumnIndex(index)
697 }
698}
699
700func (s *IoTDBRpcDataSet) GetDateByTsBlockColumnIndex(tsBlockColumnIndex int32) (time.Time, error) {
701 if value, err := s.getIntByTsBlockColumnIndex(tsBlockColumnIndex); err != nil {

Callers 1

Test_QueryAllDataTypeMethod · 0.45

Tested by 1

Test_QueryAllDataTypeMethod · 0.36