influxdb/client/series.go

18 lines
388 B
Go
Raw Normal View History

package influxdb
2014-07-15 17:23:23 +00:00
import "github.com/influxdb/influxdb/common"
type Series common.SerializedSeries
2014-07-15 17:23:23 +00:00
func (s *Series) GetName() string {
return ((*common.SerializedSeries)(s)).GetName()
}
2014-07-15 17:23:23 +00:00
func (s *Series) GetColumns() []string {
return ((*common.SerializedSeries)(s)).GetColumns()
}
2014-07-15 17:23:23 +00:00
func (s *Series) GetPoints() [][]interface{} {
return ((*common.SerializedSeries)(s)).GetPoints()
}