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

Method GetLongs

client/column.go:742–752  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

740}
741
742func (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
754func (c *RunLengthEncodedColumn) GetFloats() ([]float32, error) {
755 v, err := c.value.GetFloat(0)

Callers

nothing calls this directly

Calls 1

GetLongMethod · 0.65

Tested by

no test coverage detected