()
| 752 | } |
| 753 | |
| 754 | func (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 | |
| 766 | func (c *RunLengthEncodedColumn) GetDoubles() ([]float64, error) { |
| 767 | v, err := c.value.GetDouble(0) |