()
| 740 | } |
| 741 | |
| 742 | func (c *RunLengthEncodedColumn) GetLongs() ([]int64, error) { |
| 743 | v, err := c.value.GetLong(0) |
| 744 | if err != nil { |
| 745 | return nil, err |
| 746 | } |
| 747 | result := make([]int64, c.positionCount) |
| 748 | for i := int32(0); i < c.positionCount; i++ { |
| 749 | result[i] = v |
| 750 | } |
| 751 | return result, err |
| 752 | } |
| 753 | |
| 754 | func (c *RunLengthEncodedColumn) GetFloats() ([]float32, error) { |
| 755 | v, err := c.value.GetFloat(0) |