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

Method GetDoubles

client/column.go:766–776  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

764}
765
766func (c *RunLengthEncodedColumn) GetDoubles() ([]float64, error) {
767 v, err := c.value.GetDouble(0)
768 if err != nil {
769 return nil, err
770 }
771 result := make([]float64, c.positionCount)
772 for i := int32(0); i < c.positionCount; i++ {
773 result[i] = v
774 }
775 return result, err
776}
777
778func (c *RunLengthEncodedColumn) GetBinaries() ([]*Binary, error) {
779 v, err := c.value.GetBinary(0)

Callers

nothing calls this directly

Calls 1

GetDoubleMethod · 0.65

Tested by

no test coverage detected