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

Method GetFloats

client/column.go:754–764  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

752}
753
754func (c *RunLengthEncodedColumn) GetFloats() ([]float32, error) {
755 v, err := c.value.GetFloat(0)
756 if err != nil {
757 return nil, err
758 }
759 result := make([]float32, c.positionCount)
760 for i := int32(0); i < c.positionCount; i++ {
761 result[i] = v
762 }
763 return result, err
764}
765
766func (c *RunLengthEncodedColumn) GetDoubles() ([]float64, error) {
767 v, err := c.value.GetDouble(0)

Callers

nothing calls this directly

Calls 1

GetFloatMethod · 0.65

Tested by

no test coverage detected